glictProgressBar Class Reference

Inheritance diagram for glictProgressBar:

glictContainer

List of all members.


Detailed Description

Definition at line 5 of file progressbar.h.


Public Member Functions

void AddValue (float pcnt)
float GetValue ()
 glictProgressBar ()
void Paint ()
 Renders the element. Should contain call to CPaint().
void SetValue (float newpcnt)
 ~glictProgressBar ()

Private Attributes

float percent

Member Function Documentation

void glictProgressBar::Paint (  )  [virtual]

Renders the element. Should contain call to CPaint().

(This description applies for the glictContainer::Paint(). If you are reading it for some other class, then its documentation is not written yet for this function.)

In glictContainer class, Paint does nothing except calling SetScissor() and CPaint(). This is because as a widget the container class does not render anything; it serves as a point of divergence for other classes. Other widgets should define their own procedure with these two calls as a minimum.

When writing a widget, put SetScissor() on the beginning of this function, and CPaint() on the end.

See also:
SetScissor(), CPaint()

Reimplemented from glictContainer.

Definition at line 12 of file progressbar.cpp.

References glictContainer::CPaint(), glictGlobalsClass::PaintRect(), glictContainer::SetScissor(), glictGlobalsClass::translation, glictPos::x, and glictPos::y.


The documentation for this class was generated from the following files:
SourceForge.net Logo
generated with doxygen 1.5.3 on Mon Oct 29 18:09:27 2007