#include <progress.h>
Inheritance diagram for KrProgress::
Public Methods | |
KrProgress::KrProgress (int width, int height, KrRGBA FillColor, KrRGBA ChangeColor, KrRGBA BorderColor, const KrScheme &scheme) | |
if width of the resource is greater then its height then makes a horizontal, else makes a vertical progress bar. | |
KrProgress::KrProgress (int width, int height, const KrScheme &scheme) | |
if width of the resource is greater then its height then makes a horizontal, else makes a vertical progress bar. | |
void | SetBarColors (KrRGBA FillColor, KrRGBA ChangeColor, KrRGBA BorderColor) |
Set the bar colors. | |
void | SetMaxValue (int value) |
Sets the highest value of the progress bar (maxValue). | |
void | SetValue (int value) |
Sets the current progress between 0 and maxValue. | |
unsigned int | GetMaxValue () |
Retrieve the current maxValue. | |
unsigned int | GetValue () |
Retrieve the current progress between 0 and maxValue. |
Note: This is an externally submitted widget. It has a different author and does not necessarily share the same license as main Kyra code. Also note: Send in your widgets! We'de like them to have a home here where everyone can use them.
Author: SkyFlash Contact info: -- Contributing: Lee Thomason: KrScheme compatible constructor. Questions about this widget? Kyra mailing list