GUIProgressBar Class Reference
Class that represents a progress bar.
More...
#include <GUI/GUIProgressBar.h>
Inherits GUIPanel.
List of all members.
Detailed Description
Class that represents a progress bar.
Member Function Documentation
float GUIProgressBar::GetProgress |
( |
|
) |
const [inline] |
Gets the current progress of the progress bar in the range [0, 1].
- Returns:
- The progress in the range [0, 1].
void GUIProgressBar::IncrementProgress |
( |
float |
amt |
) |
|
Increments the progress bar.
- Parameters:
-
[in] | amt | the amount to increment the progress bar. Clamped to the range [0,1]. |
void GUIProgressBar::SetBackgroundColor |
( |
const Color4f & |
c |
) |
[inline] |
Sets the background color of the progress bar.
- Parameters:
-
void GUIProgressBar::SetBarColor |
( |
const Color4f & |
c |
) |
[inline] |
Sets the color of the progress bar.
- Parameters:
-
void GUIProgressBar::SetBorderColor |
( |
const Color4f & |
c |
) |
[inline] |
Sets the color of the progress bar border.
- Parameters:
-
void GUIProgressBar::SetProgress |
( |
float |
val |
) |
|
Sets the progress.
- Parameters:
-
[in] | val | the new progress clamped to the range [0, 1]. |
The documentation for this class was generated from the following files: