#include <wg_progress.h>
Inheritance diagram for wGui::CProgress:

Definition at line 37 of file wg_progress.h.
| wGui::CProgress::CProgress | ( | const CRect & | WindowRect, | |
| CWindow * | pParent, | |||
| CRGBColor | BarColor = COLOR_BLUE | |||
| ) |
Constructs a progress bar, initilizes the limits to 0, and 100 with the progress at 0
| WindowRect | A CRect that defines the outer limits of the control | |
| pParent | A pointer to the parent window | |
| BarColor | The color of the progress bar, defaults to Blue |
Definition at line 33 of file wg_progress.cpp.
References wGui::DEFAULT_FOREGROUND_COLOR, Draw(), and wGui::CWindow::m_BackgroundColor.
| CRGBColor wGui::CProgress::GetBarColor | ( | void | ) | [inline] |
Gets the color of the bar
Definition at line 51 of file wg_progress.h.
References m_BarColor.
| void wGui::CProgress::SetBarColor | ( | CRGBColor | BarColor | ) | [inline] |
Set the bar color
| BarColor | The new bar color |
Definition at line 55 of file wg_progress.h.
References m_BarColor.
1.5.1