|
nux-0.9.46
|
#include <Nux/RangeValueInteger.h>
Public Member Functions | |
| RangeValueInteger (int Value=0, int MinValue=0, int MaxValue=100, NUX_FILE_LINE_PROTO) | |
| ~RangeValueInteger () | |
| 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 () |
Data Fields | |
| 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 () |
| void | DestroyLayout () |
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 |
| nux::RangeValueInteger::RangeValueInteger | ( | int | Value = 0, |
| int | MinValue = 0, |
||
| int | MaxValue = 100, |
||
| NUX_FILE_LINE_PROTO | |||
| ) |
| nux::RangeValueInteger::~RangeValueInteger | ( | ) |
| void nux::RangeValueInteger::BroadcastValue | ( | ) |
| void nux::RangeValueInteger::DestroyLayout | ( | ) | [protected] |
Reimplemented from nux::View.
| virtual void nux::RangeValueInteger::Draw | ( | GraphicsEngine & | GfxContext, |
| bool | force_draw | ||
| ) | [virtual] |
Implements nux::View.
| virtual void nux::RangeValueInteger::DrawContent | ( | GraphicsEngine & | GfxContext, |
| bool | force_draw | ||
| ) | [virtual] |
Reimplemented from nux::View.
| void nux::RangeValueInteger::DrawMarker | ( | GraphicsEngine & | GfxContext | ) |
| void nux::RangeValueInteger::EnableDrawProgress | ( | bool | b | ) | [inline] |
References m_EnableDrawProgress.
| const Color nux::RangeValueInteger::GetBackgroundColor | ( | ) | const [inline] |
References nux::EditTextBox::GetTextBackgroundColor(), and m_ValueString.
| int nux::RangeValueInteger::GetMaxValue | ( | ) | const [inline] |
References m_max.
| int nux::RangeValueInteger::GetMinValue | ( | ) | const [inline] |
References m_min.
| int nux::RangeValueInteger::GetValue | ( | ) | const |
| void nux::RangeValueInteger::InitializeLayout | ( | ) | [protected] |
Reimplemented from nux::View.
| void nux::RangeValueInteger::InitializeWidgets | ( | ) | [protected] |
Reimplemented from nux::View.
| bool nux::RangeValueInteger::IsCtrlKeyPressed | ( | ) | const [inline] |
References m_CTRL_KEY.
| void nux::RangeValueInteger::OnKeyboardFocus | ( | ) |
| void nux::RangeValueInteger::OnLostKeyboardFocus | ( | ) |
| void nux::RangeValueInteger::OnReceiveMouseDown | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::RangeValueInteger::OnReceiveMouseDrag | ( | int | x, |
| int | y, | ||
| int | dx, | ||
| int | dy, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::RangeValueInteger::OnReceiveMouseUp | ( | int | x, |
| int | y, | ||
| unsigned long | button_flags, | ||
| unsigned long | key_flags | ||
| ) |
| void nux::RangeValueInteger::OnValidateKeyboardEntry | ( | EditTextBox * | textbox, |
| const NString & | text | ||
| ) |
| virtual void nux::RangeValueInteger::PostDraw | ( | GraphicsEngine & | GfxContext, |
| bool | force_draw | ||
| ) | [virtual] |
Reimplemented from nux::View.
| virtual long nux::RangeValueInteger::ProcessEvent | ( | IEvent & | ievent, |
| long | TraverseInfo, | ||
| long | ProcessEventInfo | ||
| ) | [virtual] |
Implements nux::View.
| void nux::RangeValueInteger::SetBackgroundColor | ( | const Color & | color | ) | [inline] |
References m_ValueString, and nux::EditTextBox::SetTextBackgroundColor().
| void nux::RangeValueInteger::setEndColor | ( | Color | color | ) | [inline] |
References m_EndColor.
| void nux::RangeValueInteger::setProgressColor | ( | Color | color | ) | [inline] |
References m_ProgressColor.
| void nux::RangeValueInteger::SetRange | ( | int | min_value, |
| int | max_value | ||
| ) |
| void nux::RangeValueInteger::setStartColor | ( | Color | color | ) | [inline] |
References m_StartColor.
References m_EndColor, and m_StartColor.
| void nux::RangeValueInteger::SetValue | ( | int | value | ) |
HLayout* nux::RangeValueInteger::hlayout [protected] |
Color nux::RangeValueInteger::m_BackgroundColor [protected] |
long nux::RangeValueInteger::m_CTRL_KEY [protected] |
Referenced by IsCtrlKeyPressed().
bool nux::RangeValueInteger::m_EnableDrawProgress [protected] |
Referenced by EnableDrawProgress().
Color nux::RangeValueInteger::m_EndColor [protected] |
Referenced by setEndColor(), and setStartToEndColor().
float nux::RangeValueInteger::m_MarkerPosition [protected] |
int nux::RangeValueInteger::m_max [protected] |
Referenced by GetMaxValue().
int nux::RangeValueInteger::m_min [protected] |
Referenced by GetMinValue().
InputArea* nux::RangeValueInteger::m_Percentage [protected] |
Color nux::RangeValueInteger::m_ProgressColor [protected] |
Referenced by setProgressColor().
Color nux::RangeValueInteger::m_StartColor [protected] |
Referenced by setStartColor(), and setStartToEndColor().
int nux::RangeValueInteger::m_Value [protected] |
EditTextBox* nux::RangeValueInteger::m_ValueString [protected] |
Referenced by GetBackgroundColor(), and SetBackgroundColor().
| sigc::signal<void, int> nux::RangeValueInteger::sigMouseDown |
| sigc::signal<void, int> nux::RangeValueInteger::sigMouseDrag |
| sigc::signal<void, int> nux::RangeValueInteger::sigMouseUp |
| sigc::signal<void, int> nux::RangeValueInteger::sigSetTypedValue |
| sigc::signal<void, RangeValueInteger *> nux::RangeValueInteger::sigValueChanged |
| sigc::signal<void, int> nux::RangeValueInteger::sigValueChanged2 |