#include <GLWProgress.h>

Public Member Functions | |
| GLWProgress (float x=0.0f, float y=0.0f, float w=0.0f, float min=0.0f, float max=100.0f) | |
| virtual | ~GLWProgress () |
| virtual void | draw () |
| const float | getCurrent () |
| void | setCurrent (float newCurrent) |
| REGISTER_CLASS_HEADER (GLWProgress) | |
Protected Attributes | |
| float | x_ |
| float | y_ |
| float | w_ |
| float | min_ |
| float | max_ |
| float | current_ |
Definition at line 32 of file GLWProgress.h.
| GLWProgress::GLWProgress | ( | float | x = 0.0f, |
|
| float | y = 0.0f, |
|||
| float | w = 0.0f, |
|||
| float | min = 0.0f, |
|||
| float | max = 100.0f | |||
| ) |
Definition at line 26 of file GLWProgress.cpp.
| GLWProgress::~GLWProgress | ( | ) | [virtual] |
Definition at line 32 of file GLWProgress.cpp.
| void GLWProgress::draw | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 37 of file GLWProgress.cpp.
References current_, GLWPanel::draw(), GL_QUADS, glBegin(), glColor3f(), glEnd(), glVertex2f(), max_, min_, w_, x_, and y_.
| const float GLWProgress::getCurrent | ( | ) | [inline] |
| void GLWProgress::setCurrent | ( | float | newCurrent | ) |
| GLWProgress::REGISTER_CLASS_HEADER | ( | GLWProgress | ) |
float GLWProgress::x_ [protected] |
float GLWProgress::y_ [protected] |
float GLWProgress::w_ [protected] |
float GLWProgress::min_ [protected] |
float GLWProgress::max_ [protected] |
float GLWProgress::current_ [protected] |
1.5.3