class: ewol::widget::Spacer


Constructor and Destructor:

+                                    Spacer              (void );
+ virtual ~Spacer (void );

Synopsis:

+         void                       init                (ewol::widget::Manager & _widgetManager);
+ const char* const configColor;
# etk::Color<> m_color;
+ void setColor (etk::Color<> _newColor);
+ virtual ewol::Widget* getWidgetAtPos (const vec2 & _pos);
+ virtual void onRegenerateDisplay (void );
+ virtual void onDraw (void );
+ 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::Spacer

Detail:

init

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



configColor

+ const char* const configColor;



Spacer

+  Spacer (void );
Main constructer


~Spacer

+ virtual  ~Spacer (void );
Main destructer


m_color

# etk::Color<> m_color;
Background color


setColor

+ void setColor (etk::Color<> _newColor);
Spziby the background color (basicly transparent)


getWidgetAtPos

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


onRegenerateDisplay

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


onDraw

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


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