#include <CUI_ProgressBar.h>
Inheritance diagram for CUI_ProgressBar:
Public Member Functions | |
CUI_ProgressBar (CUI_UI *ui=NULL, float x=0, float y=0, float x2=1, float y2=1, CUI_Frame *parent=NULL, IUI_Shader *shader=NULL, IUI_Shader *cursor=NULL, CUI_CoordSys *coordsys=NULL, char *text=NULL, IUI_Font *font=NULL, float textscale=0.8, IUI_Border *border=NULL, float min=0, float max=100, float value=0, IUI_Shader *barshader=NULL, bool displayValue=false) | |
constructor | |
virtual | ~CUI_ProgressBar () |
destructor | |
virtual bool | Render (double dtime, IUI_Renderer *renderer) |
overloaded render | |
virtual bool | SetRange (float min, float max) |
set display range | |
virtual bool | GetRange (v2_f range) |
get the range | |
virtual bool | SetValue (float val) |
set the value this progress bar displays | |
virtual float | GetValue (void) |
get the value | |
virtual bool | SetBarShader (IUI_Shader *shader) |
set the shader to use for the Slider | |
virtual bool | SetDisplayValue (bool disp) |
Set displayvalue - to display "value/max" after m_text. | |
Protected Attributes | |
float | m_min |
minimum value in the range | |
float | m_max |
maximum value in the range | |
float | m_value |
current value of the progress bar | |
IUI_Shader * | m_barshader |
shader to use for the progress bar. | |
bool | m_displayValue |
Display current value/max after text. |
used to show:
loading media
calculating something
Recognized flags:
[system]
UI_CLICKED
UI_HOVER
UI_SELECTED
UI_DISABLED
UI_INACTIVE
UI_SQUEEZE
UI_INVERT
UI_VERTICAL