Class: widget::Sizer
Synopsis:
+ static void init (ewol::WidgetManager & _widgetManager);
+ Sizer (enum displayMode _mode);
+ ~Sizer (void);
+ void setMode (enum displayMode _mode);
+ void setBorderSize (const ewol::Dimension & _newBorderSize);
+ const ewol::Dimension & getBorderSize (void);
+ void setAnimationMode (enum animation _animation);
+ void setAnimationTime (float _time);
+ float getAnimationTime (void);
+ void calculateSize (const vec2 & _availlable);
+ void calculateMinMaxSize (void);
+ bool loadXML (exml::Element * _node);
+ int32_t subWidgetAdd (ewol::Widget * _newWidget);
+ int32_t subWidgetAddStart (ewol::Widget * _newWidget);
+ void subWidgetRemove (ewol::Widget * _newWidget);
+ void subWidgetUnLink (ewol::Widget * _newWidget);
Object Hierarchy:
ewol::EObject +--> ewol::Widget +--> widget::ContainerN +--> widget::Sizer +--> widget::ColorChooser +--> widget::Menu
Description:
/** * @ingroup ewolWidgetGroup */Detail:
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
Main call of recording the widget on the List of "widget named creator"
widget::Sizer ()
Sizer(enum displayMode _mode);
Constructor
Parameter [input]: _mode The mode to display the elements
widget::~Sizer ()
~Sizer(void);
Desstructor
setMode ()
void setMode(enum displayMode _mode);
set the mode to display elements.
Parameter [input]: _mode The mode to display the elements.
setBorderSize ()
void setBorderSize(const ewol::Dimension & _newBorderSize);
set the current border size of the current element:
Parameter [input]: _newBorderSize The border size to set (0 if not used)
getBorderSize ()
const ewol::Dimension & getBorderSize(void);
get the current border size of the current element:
Return: the border size (0 if not used)
setAnimationMode ()
void setAnimationMode(enum animation _animation);
set an animation mode for the new element set in the Widget container.
Parameter [input]: _animation The new animation mode.
setAnimationTime ()
void setAnimationTime(float _time);
set the time to produce animation.
Parameter [input]: _time The new animation time.
getAnimationTime ()
float getAnimationTime(void);
get the current animation time.
Return: The time to produce the animation.
calculateSize ()
void calculateSize(const vec2 & _availlable);
calculateMinMaxSize ()
void calculateMinMaxSize(void);
loadXML ()
bool loadXML(exml::Element * _node);
subWidgetAdd ()
int32_t subWidgetAdd(ewol::Widget * _newWidget);
subWidgetAddStart ()
int32_t subWidgetAddStart(ewol::Widget * _newWidget);
subWidgetRemove ()
void subWidgetRemove(ewol::Widget * _newWidget);
subWidgetUnLink ()
void subWidgetUnLink(ewol::Widget * _newWidget);
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
Main call of recording the widget on the List of "widget named creator"
widget::Sizer ()
Sizer(enum displayMode _mode);
Constructor
-
Parameter [input]: _mode The mode to display the elements
widget::~Sizer ()
~Sizer(void);
Desstructor
setMode ()
void setMode(enum displayMode _mode);
set the mode to display elements.
-
Parameter [input]: _mode The mode to display the elements.
setBorderSize ()
void setBorderSize(const ewol::Dimension & _newBorderSize);
set the current border size of the current element:
-
Parameter [input]: _newBorderSize The border size to set (0 if not used)
getBorderSize ()
const ewol::Dimension & getBorderSize(void);
get the current border size of the current element:
-
Return: the border size (0 if not used)
setAnimationMode ()
void setAnimationMode(enum animation _animation);
set an animation mode for the new element set in the Widget container.
-
Parameter [input]: _animation The new animation mode.
setAnimationTime ()
void setAnimationTime(float _time);
set the time to produce animation.
-
Parameter [input]: _time The new animation time.
getAnimationTime ()
float getAnimationTime(void);
get the current animation time.
-
Return: The time to produce the animation.
calculateSize ()
void calculateSize(const vec2 & _availlable);
calculateMinMaxSize ()
void calculateMinMaxSize(void);
loadXML ()
bool loadXML(exml::Element * _node);
subWidgetAdd ()
int32_t subWidgetAdd(ewol::Widget * _newWidget);
subWidgetAddStart ()
int32_t subWidgetAddStart(ewol::Widget * _newWidget);
subWidgetRemove ()
void subWidgetRemove(ewol::Widget * _newWidget);
subWidgetUnLink ()
void subWidgetUnLink(ewol::Widget * _newWidget);