nux-1.16.0
nux::RangeValue Class Reference
Inheritance diagram for nux::RangeValue:
nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable nux::Introspectable nux::ColorRangeValuator nux::HueRangeValuator nux::RangeValuePropertyItem

List of all members.

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

HLayouthlayout
EditTextBoxm_ValueString
InputAream_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

Detailed Description

Definition at line 32 of file RangeValue.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends