ContainerN.hpp
Go to the documentation of this file.
virtual void subWidgetRemove(ewol::WidgetShared _newWidget)
remove definitly a widget from the system and this layer.
the Cotainer widget is a widget that have an only one subWidget
Definition: ContainerN.hpp:22
Definition: DrawProperty.hpp:15
void systemDraw(const ewol::DrawProperty &_displayProp) override
{SYSTEM} extern interface to request a draw ... (called by the drawing thread [Android, X11, ...]) This function generate a clipping with the viewport openGL system. Like this a widget draw can not draw over an other widget
virtual void subWidgetReplace(ewol::WidgetShared _oldWidget, ewol::WidgetShared _newWidget)
Replace a old subwidget with a new one.
virtual bvec2 canExpand() override
get the expend capabilities (x&y)
bvec2 m_subExpend
reference of the sub element expention requested.
Definition: ContainerN.hpp:38
void calculateMinMaxSize() override
calculate the minimum and maximum size (need to estimate expend properties of the widget) ...
void onChangeSize() override
Parent have set the size and the origin. the container need to update the subwidget property...
void setOffset(const vec2 &_newVal) override
set the zoom property of the widget.
int32_t subWidgetAddEnd(ewol::WidgetShared _newWidget)
Definition: ContainerN.hpp:68
ewol::WidgetShared getWidgetAtPos(const vec2 &_pos) override
get the widget at the specific windows absolute position
Definition: Area.hpp:16
int32_t subWidgetAddBack(ewol::WidgetShared _newWidget)
Definition: ContainerN.hpp:64
void onRegenerateDisplay() override
Event generated when a redraw is needed.
bool loadXML(const exml::Element &_node) override
load properties with an XML node.
void requestDestroyFromChild(const ewol::ObjectShared &_child) override
Called by a whild that want to remove pointer of itself from the current list of his parrent...
virtual void subWidgetUnLink(ewol::WidgetShared _newWidget)
Just unlick the specify widget, this function does not remove it from the system (if you can...
virtual int32_t subWidgetAdd(ewol::WidgetShared _newWidget)
add at end position a Widget (note : This system use an inverted phylisophie (button to top...
eproperty::Value< bvec2 > propertyLockExpand
Lock the expend of the sub widget to this one == > this permit to limit bigger subWidget.
Definition: ContainerN.hpp:24
virtual int32_t subWidgetAddStart(ewol::WidgetShared _newWidget)
add at start position a Widget (note : This system use an inverted phylisophie (button to top...
ewol::ObjectShared getSubObjectNamed(const std::string &_objectName) override
Retrive an object with his name (in the global list)
Widget class is the main widget interface, it hase some generic properties: :** known his parent :** ...
Definition: Widget.hpp:73
int32_t subWidgetAddFront(ewol::WidgetShared _newWidget)
Definition: ContainerN.hpp:78
virtual void subWidgetRemoveAll()
remove all sub element from the widget.
virtual void subWidgetRemoveAllDelayed()
remove all sub element from the widget (delayed to prevent remove in the callbback).