class: ewol::widget::Slider


Constructor and Destructor:

+                                    Slider              (void );
+ virtual ~Slider (void );

Synopsis:

+         const char* const          eventChange;
+ void init (ewol::widget::Manager & _widgetManager);
+ void setValue (int32_t _val);
+ int32_t getValue (void );
+ void setMin (int32_t _val);
+ void setMax (int32_t _val);
+ void setColor (etk::Color<> _newColor);
# ewol::compositing::Drawing m_draw;
# int32_t m_value;
# int32_t m_min;
# int32_t m_max;
# etk::Color<> m_textColorFg;
# etk::Color<> m_textColorBg;
+ virtual void onDraw (void );
+ virtual void calculateMinMaxSize (void );
+ virtual void onRegenerateDisplay (void );
+ virtual bool onEventInput (const ewol::event::Input & _event);

Object Hierarchy:

+ewol::Object
+--> +ewol::Widget
+--> ewol::widget::Slider

Detail:

eventChange

+ const char* const eventChange;



init

+ void init (ewol::widget::Manager & _widgetManager);



Slider

+  Slider (void );



~Slider

+ virtual  ~Slider (void );



setValue

+ void setValue (int32_t _val);



getValue

+ int32_t getValue (void );



setMin

+ void setMin (int32_t _val);



setMax

+ void setMax (int32_t _val);



setColor

+ void setColor (etk::Color<> _newColor);



m_draw

# ewol::compositing::Drawing m_draw;
drawing tool.


m_value

# int32_t m_value;



m_min

# int32_t m_min;



m_max

# int32_t m_max;



m_textColorFg

# etk::Color<> m_textColorFg;
Text color


m_textColorBg

# etk::Color<> m_textColorBg;
Background color


onDraw

+ virtual void onDraw (void );
Common widget drawing function (called by the drawing thread [Android, X11, ...])


calculateMinMaxSize

+ virtual void calculateMinMaxSize (void );
calculate the minimum and maximum size (need to estimate expend properties of the widget)
Note: : INTERNAL EWOL SYSTEM


onRegenerateDisplay

+ virtual void onRegenerateDisplay (void );
Event generated when a redraw is needed


onEventInput

+ virtual bool onEventInput (const ewol::event::Input & _event);
Event on an input of this Widget (finger, mouse, stilet)