KrProgress Class Reference

A progress bar widget. More...

#include <progress.h>

Inheritance diagram for KrProgress:

KrWidget KrImNode IKrWidgetListener grinliz::Listener< IKrWidgetListener > List of all members.

Public Member Functions

 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 (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.

Detailed Description

A progress bar widget.

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


The documentation for this class was generated from the following file:
Generated on Thu Jul 20 20:45:32 2006 for Kyra by  doxygen 1.4.7