class: ewol::widget::ColorBar


Description:



Constructor and Destructor:

+                                    ColorBar            (void );
+ virtual ~ColorBar (void );

Synopsis:

+         const char* const          eventChange;
+ etk::Color<> getCurrentColor (void );
+ void setCurrentColor (etk::Color<> _newOne);
# 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::ColorBar

Detail:

eventChange

+ const char* const eventChange;



ColorBar

+  ColorBar (void );



~ColorBar

+ virtual  ~ColorBar (void );



getCurrentColor

+ etk::Color<> getCurrentColor (void );



setCurrentColor

+ void setCurrentColor (etk::Color<> _newOne);



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)