Gird.hpp
Go to the documentation of this file.
Definition: DrawProperty.hpp:15
virtual 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 setBorderSize(const ivec2 &_newBorderSize)
set the current border size of the current element:
void setColSize(int32_t _colId, int32_t _size)
change a size view of a colomn.
const ivec2 & getBorderSize()
get the current border size of the current element:
Definition: Gird.hpp:135
Definition: Gird.hpp:22
void setGravityButtom()
set the gravity of the widget on the Button (index 0 is on buttom)
Definition: Gird.hpp:77
Definition: Area.hpp:16
virtual void subWidgetRemove(ewol::WidgetShared _newWidget)
remove definitly a widget from the system and this Gird.
virtual void subWidgetRemoveAll()
remove all sub element from the widget.
virtual ewol::WidgetShared getWidgetAtPos(const vec2 &pos) override
get the widget at the specific windows absolute position
virtual void calculateMinMaxSize() override
calculate the minimum and maximum size (need to estimate expend properties of the widget) ...
virtual void markToRedraw()
The widget mark itself that it need to regenerate the nest time.
virtual void subWidgetAdd(int32_t _colId, int32_t _rowId, ewol::WidgetShared _newWidget)
add at end position a Widget (note : This system use an inverted phylisophie (button to top...
virtual void onChangeSize() override
Parent have set the size and the origin. the container need to update the subwidget property...
Widget class is the main widget interface, it hase some generic properties: :** known his parent :** ...
Definition: Widget.hpp:73
void setGravityTop()
set the gravity of the widget on the Top (index 0 is on top)
Definition: Gird.hpp:84
virtual void subWidgetUnLink(ewol::WidgetShared _newWidget)
Just unlick the specify widget, this function does not remove it from the system (if you can...
virtual void onRegenerateDisplay() override
Event generated when a redraw is needed.