class: ewol::widget::Sizer


enum:

Constructor and Destructor:

#                                                  Sizer                  ();
+ virtual ~Sizer ();

Synopsis:

+         void                                     init                   (ewol::widget::Manager & _widgetManager);
# void init (enum displayMode _mode);
+ DECLARE_WIDGET_FACTORY (Sizer ,
"Sizer" );
+ void setMode (enum displayMode _mode);
+ enum displayMode getMode () const;
+ void setBorderSize (const ewol::Dimension & _newBorderSize);
+ const ewol::Dimension & getBorderSize () const;
+ void setAnimationMode (enum animation _animation);
+ enum animation getAnimationMode ();
+ void setAnimationTime (float _time);
+ float getAnimationTime ();
+ virtual void calculateSize (const vec2 & _availlable);
+ virtual void calculateMinMaxSize ();
+ virtual int32_t subWidgetAdd (std::shared_ptr<ewol::Widget> _newWidget);
+ virtual int32_t subWidgetAddStart (std::shared_ptr<ewol::Widget> _newWidget);
+ virtual void subWidgetRemove (std::shared_ptr<ewol::Widget> _newWidget);
+ virtual void subWidgetUnLink (std::shared_ptr<ewol::Widget> _newWidget);
+ 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::ContainerN
+--> ewol::widget::Sizer
+--> ewol::widget::Menu
+--> ewol::widget::ColorChooser

Detail:

init

+ void init (ewol::widget::Manager & _widgetManager);
Main call of recording the widget on the List of "widget named creator"


Sizer

#  Sizer ();
Constructor


init

# void init (enum displayMode _mode);



DECLARE_WIDGET_FACTORY

+  DECLARE_WIDGET_FACTORY (Sizer ,
"Sizer" );



~Sizer

+ virtual  ~Sizer ();
Desstructor


setMode

+ void setMode (enum displayMode _mode);
set the mode to display elements.


getMode

+ enum displayMode getMode () const;
get the mode to display elements.


setBorderSize

+ void setBorderSize (const ewol::Dimension & _newBorderSize);
set the current border size of the current element:


getBorderSize

+ const ewol::Dimension & getBorderSize () const;
get the current border size of the current element:


setAnimationMode

+ void setAnimationMode (enum animation _animation);
set an animation mode for the new element set in the Widget container.


getAnimationMode

+ enum animation getAnimationMode ();
get the current animation mode.


setAnimationTime

+ void setAnimationTime (float _time);
set the time to produce animation.


getAnimationTime

+ float getAnimationTime ();
get the current animation time.


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


calculateMinMaxSize

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


subWidgetAdd

+ virtual int32_t subWidgetAdd (std::shared_ptr<ewol::Widget> _newWidget);
add at end position a Widget (note : This system use an inverted phylisophie (button to top, and left to right)


subWidgetAddStart

+ virtual int32_t subWidgetAddStart (std::shared_ptr<ewol::Widget> _newWidget);
add at start position a Widget (note : This system use an inverted phylisophie (button to top, and left to right)


subWidgetRemove

+ virtual void subWidgetRemove (std::shared_ptr<ewol::Widget> _newWidget);
remove definitly a widget from the system and this layer.


subWidgetUnLink

+ virtual void subWidgetUnLink (std::shared_ptr<ewol::Widget> _newWidget);
Just unlick the specify widget, this function does not remove it from the system (if you can, do nt use it ...)


onParameterChangeValue

+ virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);