nux-1.14.0
|
Public Member Functions | |
RangeValueInteger (int Value=0, int MinValue=0, int MaxValue=100, 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 (int min_value, int max_value) |
void | SetValue (int value) |
int | GetValue () const |
int | GetMinValue () const |
int | 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 | BroadcastValue () |
Public Attributes | |
sigc::signal< void, RangeValueInteger * > | sigValueChanged |
sigc::signal< void, int > | sigMouseDown |
sigc::signal< void, int > | sigMouseUp |
sigc::signal< void, int > | sigMouseDrag |
sigc::signal< void, int > | sigSetTypedValue |
sigc::signal< void, int > | sigValueChanged2 |
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_MarkerPosition |
int | m_Value |
int | m_min |
int | m_max |
Definition at line 32 of file RangeValueInteger.h.