class: ewol::widget::WSlider


enum:

Constructor and Destructor:

+                           WSlider                    (void );
+ virtual ~WSlider (void );

Synopsis:

+         void              init                       (ewol::widget::Manager & _widgetManager);
+ const char* const eventStartSlide;
+ const char* const eventStopSlide;
+ const char* const configMode;
# void subWidgetSelectSetVectorId (int32_t _id);
+ void subWidgetSelectSet (int32_t _id);
+ void subWidgetSelectSet (ewol::Widget* _widgetPointer);
+ void subWidgetSelectSet (const std::string & _widgetName);
+ void setTransitionSpeed (float _timeSecond);
+ float getTransitionSpeed (void );
+ void setTransitionMode (enum sladingMode _mode);
+ enum sladingMode getTransitionMode (void );
+ virtual void calculateSize (const vec2 & _availlable);
+ virtual void systemDraw (const ewol::DrawProperty & _displayProp);
+ virtual void onRegenerateDisplay (void );
+ virtual ewol::Widget* getWidgetAtPos (const vec2 & _pos);
+ virtual void periodicCall (const ewol::event::Time & _event);
+ virtual bool onSetConfig (const ewol::object::Config & _conf);
+ virtual bool onGetConfig (const char* _config,
std::string & _result) const;

Object Hierarchy:

+ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::ContainerN
+--> ewol::widget::WSlider

Detail:

init

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



eventStartSlide

+ const char* const eventStartSlide;



eventStopSlide

+ const char* const eventStopSlide;



configMode

+ const char* const configMode;



WSlider

+  WSlider (void );



~WSlider

+ virtual  ~WSlider (void );



subWidgetSelectSetVectorId

# void subWidgetSelectSetVectorId (int32_t _id);
Generate the move on the specific vector ID (This is not a public acces, because the vector can have some null pointer inside ...)


subWidgetSelectSet

+ void subWidgetSelectSet (int32_t _id);
Select a new subwidget to display


subWidgetSelectSet

+ void subWidgetSelectSet (ewol::Widget* _widgetPointer);
Select a new subwidget to display


subWidgetSelectSet

+ void subWidgetSelectSet (const std::string & _widgetName);
Select a new subwidget to display


setTransitionSpeed

+ void setTransitionSpeed (float _timeSecond);
set transition speed element.


getTransitionSpeed

+ float getTransitionSpeed (void );
get transition speed element.


setTransitionMode

+ void setTransitionMode (enum sladingMode _mode);
set a new mode of sliding element


getTransitionMode

+ enum sladingMode getTransitionMode (void );
get a new mode of sliding element


calculateSize

+ virtual void calculateSize (const vec2 & _availlable);
Parent set the possible diplay size of the current widget whith his own possibilities By default this save the widget available size in the widget size
Note: : INTERNAL EWOL SYSTEM


systemDraw

+ virtual void systemDraw (const ewol::DrawProperty & _displayProp);
{SYSTEM} extern interface to request a draw ... (called by the drawing thread [Android, X11, ...]) This function generate a clipping with the viewport openGL system. Like this a widget draw can not draw over an other widget
Note: This function is virtual for the scrolled widget, and the more complicated openGl widget
Note: : INTERNAL EWOL SYSTEM


onRegenerateDisplay

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


getWidgetAtPos

+ virtual ewol::Widget* getWidgetAtPos (const vec2 & _pos);
get the widget at the specific windows absolute position
Note: : INTERNAL EWOL SYSTEM


periodicCall

+ virtual void periodicCall (const ewol::event::Time & _event);
periodic call of this widget


onSetConfig

+ virtual bool onSetConfig (const ewol::object::Config & _conf);
Configuration requested to the curent Object


onGetConfig

+ virtual bool onGetConfig (const char* _config,
std::string & _result) const;
Receive a configuration message from an other element system or from the curent Object