Container.hpp
Go to the documentation of this file.
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...
Definition: DrawProperty.hpp:15
void onChangeSize() override
Parent have set the size and the origin. the container need to update the subwidget property...
the Cotainer widget is a widget that have an only one subWidget
Definition: Container.hpp:21
virtual void subWidgetReplace(const ewol::WidgetShared &_oldWidget, const ewol::WidgetShared &_newWidget)
Replace a old subwidget with a new one.
void setSubWidget(ewol::WidgetShared _newWidget)
set the subWidget node widget.
ewol::WidgetShared getWidgetAtPos(const vec2 &_pos) override
get the widget at the specific windows absolute position
void onRegenerateDisplay() override
Event generated when a redraw is needed.
Definition: Area.hpp:16
bool loadXML(const exml::Element &_node) override
load properties with an XML node.
Widget class is the main widget interface, it hase some generic properties: :** known his parent :** ...
Definition: Widget.hpp:73
void calculateMinMaxSize() override
calculate the minimum and maximum size (need to estimate expend properties of the widget) ...
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
void setOffset(const vec2 &_newVal) override
set the zoom property of the widget.
ewol::ObjectShared getSubObjectNamed(const std::string &_objectName) override
Retrive an object with his name (in the global list)