wGui::CProgress Class Reference

A progress bar display. More...

#include <wg_progress.h>

Inheritance diagram for wGui::CProgress:

wGui::CRangeControl< int > wGui::CWindow wGui::CMessageClient

Public Member Functions

Protected Attributes


Detailed Description

A progress bar display.

Definition at line 37 of file wg_progress.h.


Constructor & Destructor Documentation

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

Parameters:
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.


Member Function Documentation

CRGBColor wGui::CProgress::GetBarColor ( void   )  [inline]

Gets the color of the bar

Returns:
The bar color

Definition at line 51 of file wg_progress.h.

References m_BarColor.

void wGui::CProgress::SetBarColor ( CRGBColor  BarColor  )  [inline]

Set the bar color

Parameters:
BarColor The new bar color

Definition at line 55 of file wg_progress.h.

References m_BarColor.


The documentation for this class was generated from the following files:
Generated on Wed May 16 23:11:27 2007 for wGui by  doxygen 1.5.1