class: ewol::widget::Spacer
Constructor and Destructor:
# Spacer ();
+ virtual ~Spacer ();
Synopsis:
# void init ();
+ DECLARE_WIDGET_FACTORY (Spacer ,
"Spacer" );
# ewol::object::Param<etk::Color<>> m_color;
+ void setColor (etk::Color<> _newColor);
+ virtual std::shared_ptr<ewol::Widget> getWidgetAtPos (const vec2 & _pos);
+ virtual void onRegenerateDisplay ();
+ virtual void onDraw ();
+ virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);
Object Hierarchy:
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> ewol::widget::Spacer
Detail:
Spacer
# Spacer ();
Main constructer
init
# void init ();
DECLARE_WIDGET_FACTORY
+ DECLARE_WIDGET_FACTORY (Spacer ,
"Spacer" );
~Spacer
+ virtual ~Spacer ();
Main destructer
m_color
# ewol::object::Param<etk::Color<>> m_color;
Background color
setColor
+ void setColor (etk::Color<> _newColor);
Spziby the background color (basicly transparent)
Parameter [input]: newColor the display background color
getWidgetAtPos
+ virtual std::shared_ptr<ewol::Widget> getWidgetAtPos (const vec2 & _pos);
get the widget at the specific windows absolute position
Note: : INTERNAL EWOL SYSTEM
Parameter [input]: _pos gAbsolute position of the requested widget knowledge
Return: nullptr No widget found<br/>pointer on the widget found
onRegenerateDisplay
+ virtual void onRegenerateDisplay ();
Event generated when a redraw is needed
onDraw
+ virtual void onDraw ();
Common widget drawing function (called by the drawing thread [Android, X11, ...])
onParameterChangeValue
+ virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> ewol::widget::Spacer
Detail:
Spacer
# Spacer ();Main constructer
init
# void init ();
DECLARE_WIDGET_FACTORY
+ DECLARE_WIDGET_FACTORY (Spacer ,
"Spacer" );
~Spacer
+ virtual ~Spacer ();Main destructer
m_color
# ewol::object::Param<etk::Color<>> m_color;Background color
setColor
+ void setColor (etk::Color<> _newColor);Spziby the background color (basicly transparent)
Parameter [input]: | newColor | the display background color |
getWidgetAtPos
+ virtual std::shared_ptr<ewol::Widget> getWidgetAtPos (const vec2 & _pos);get the widget at the specific windows absolute position
Note: : INTERNAL EWOL SYSTEM
Parameter [input]: | _pos | gAbsolute position of the requested widget knowledge |
Return: | nullptr No widget found<br/>pointer on the widget found |
onRegenerateDisplay
+ virtual void onRegenerateDisplay ();Event generated when a redraw is needed
onDraw
+ virtual void onDraw ();Common widget drawing function (called by the drawing thread [Android, X11, ...])
onParameterChangeValue
+ virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);