nux-1.16.0
|
Public Member Functions | |
RangeValue (float Value=0, float MinValue=0.0f, float MaxValue=1.0f, NUX_FILE_LINE_PROTO) | |
virtual long | ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
void | DrawMarker (GraphicsEngine &GfxContext) |
virtual void | Draw (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | DrawContent (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | PostDraw (GraphicsEngine &GfxContext, bool force_draw) |
void | SetRange (float min_value, float max_value) |
void | SetValue (float value) |
float | GetValue () const |
float | GetMinValue () const |
float | GetMaxValue () const |
void | SetBackgroundColor (const Color &color) |
const Color | GetBackgroundColor () const |
void | setStartToEndColor (Color color_start, Color color_end) |
void | setStartColor (Color color) |
void | setEndColor (Color color) |
void | setProgressColor (Color color) |
void | EnableDrawProgress (bool b) |
void | OnReceiveMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | OnReceiveMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | OnReceiveMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
void | OnKeyboardFocus () |
void | OnLostKeyboardFocus () |
void | OnValidateKeyboardEntry (EditTextBox *textbox, const NString &text) |
bool | IsCtrlKeyPressed () const |
void | EmitFloatChangedSignal () |
Public Attributes | |
sigc::signal< void, RangeValue * > | sigValueChanged |
sigc::signal< void, float > | sigFloatChanged |
sigc::signal< void, float > | sigMouseDown |
sigc::signal< void, float > | sigMouseUp |
sigc::signal< void, float > | sigMouseDrag |
sigc::signal< void, float > | sigSetTypedValue |
Protected Member Functions | |
void | InitializeWidgets () |
void | InitializeLayout () |
Protected Attributes | |
HLayout * | hlayout |
EditTextBox * | m_ValueString |
InputArea * | m_Percentage |
Color | m_StartColor |
Color | m_EndColor |
Color | m_ProgressColor |
Color | m_BackgroundColor |
bool | m_EnableDrawProgress |
long | m_CTRL_KEY |
float | m_Value |
float | m_min |
float | m_max |
Definition at line 32 of file RangeValue.h.