Main Page   Class Hierarchy   Compound List   File List   Compound Members  

KrProgress Class Reference

A progress bar widget. More...

#include <progress.h>

Inheritance diagram for KrProgress::

KrWidget KrImNode IKrWidgetListener List of all members.

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.


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 Mon Sep 15 12:01:11 2003 for Kyra by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001