Public Types | |
| enum | displayMode { modeVert, modeHori } |
| enum | animation { animationNone, animationTop, animationbuttom, animationLeft, animationRight } |
Public Member Functions | |
| DECLARE_WIDGET_FACTORY (Sizer, "Sizer") | |
| virtual | ~Sizer () |
| void | onChangeSize () override |
| void | calculateMinMaxSize () override |
| int32_t | subWidgetAdd (ewol::WidgetShared _newWidget) override |
| int32_t | subWidgetAddStart (ewol::WidgetShared _newWidget) override |
| void | subWidgetRemove (ewol::WidgetShared _newWidget) override |
| void | subWidgetUnLink (ewol::WidgetShared _newWidget) override |
Public Member Functions inherited from ewol::widget::ContainerN | |
| virtual | ~ContainerN () |
| virtual void | subWidgetRemoveAll () |
| virtual void | subWidgetRemoveAllDelayed () |
| virtual void | subWidgetReplace (ewol::WidgetShared _oldWidget, ewol::WidgetShared _newWidget) |
| int32_t | subWidgetAddBack (ewol::WidgetShared _newWidget) |
| int32_t | subWidgetAddEnd (ewol::WidgetShared _newWidget) |
| int32_t | subWidgetAddFront (ewol::WidgetShared _newWidget) |
| void | systemDraw (const ewol::DrawProperty &_displayProp) override |
| void | onRegenerateDisplay () override |
| ewol::WidgetShared | getWidgetAtPos (const vec2 &_pos) override |
| ewol::ObjectShared | getSubObjectNamed (const std::string &_objectName) override |
| bool | loadXML (const exml::Element &_node) override |
| void | setOffset (const vec2 &_newVal) override |
| void | requestDestroyFromChild (const ewol::ObjectShared &_child) override |
Public Member Functions inherited from ewol::Widget | |
| virtual | ~Widget () |
| virtual vec2 | relativePosition (const vec2 &_pos) |
| virtual void | calculateSize () |
| virtual vec2 | getSize () |
| virtual void | setSize (const vec2 &_value) |
| virtual vec2 | getCalculateMinSize () |
| virtual vec2 | getCalculateMaxSize () |
| virtual const vec2 & | getOffset () |
| virtual void | setZoom (float _newVal) |
| virtual float | getZoom () |
| virtual void | changeZoom (float _range) |
| virtual void | setOrigin (const vec2 &_pos) |
| virtual vec2 | getOrigin () |
| void | setNoMinSize () |
| virtual void | checkMinSize () |
| void | setNoMaxSize () |
| virtual void | checkMaxSize () |
| const bvec2 & | canFill () |
| virtual bool | getFocus () |
| virtual bool | setFocus () |
| virtual bool | rmFocus () |
| virtual void | keepFocus () |
| virtual int32_t | getMouseLimit () |
| virtual void | setMouseLimit (int32_t _numberState) |
| virtual bool | getKeyboardRepeate () |
| virtual bool | systemEventInput (ewol::event::InputSystem &_event) |
| virtual bool | systemEventEntry (ewol::event::EntrySystem &_event) |
| virtual void | onEventClipboard (enum gale::context::clipBoard::clipboardListe _clipboardID) |
| virtual bool | onEventShortCut (const gale::key::Special &_special, char32_t _unicodeValue, enum gale::key::keyboard _kbMove, bool _isDown) |
| virtual void | grabCursor () |
| virtual void | unGrabCursor () |
| virtual bool | getGrabStatus () |
| virtual void | setCursor (enum gale::context::cursor _newCursor) |
| virtual enum gale::context::cursor | getCursor () |
| void | requestUpdateSize () |
| ewol::widget::Manager & | getWidgetManager () |
| ememory::SharedPtr< ewol::widget::Windows > | getWindows () |
| void | setAnnimationType (enum ewol::Widget::annimationMode _mode, const std::string &_type) |
| void | setAnnimationTime (enum ewol::Widget::annimationMode _mode, float _time) |
| bool | startAnnimation (enum ewol::Widget::annimationMode _mode) |
| bool | stopAnnimation () |
Public Member Functions inherited from ewol::Object | |
| DECLARE_FACTORY (Object) | |
| virtual | ~Object () |
| bool | objectHasBeenCorectlyInit () |
| virtual void | destroy () |
| bool | isDestroyed () const |
| virtual void | setParent (const ewol::ObjectShared &_newParent) |
| virtual void | removeParent () |
| const char *const | getObjectType () const |
| std::string | getTypeDescription () const |
| bool | isTypeCompatible (const std::string &_type) const |
| bool | getStatic () |
| int32_t | getId () |
| bool | propertySetOnWidgetNamed (const std::string &_objectName, const std::string &_config, const std::string &_value) |
| virtual bool | storeXML (exml::Element &_node) const |
| void | setStatusResource (bool _val) |
| bool | getStatusResource () const |
Public Member Functions inherited from ememory::EnableSharedFromThis< Object > | |
| ememory::SharedPtr< EMEMORY_TYPE > | sharedFromThis () |
| const ememory::SharedPtr< EMEMORY_TYPE > | sharedFromThis () const |
| ememory::WeakPtr< EMEMORY_TYPE > | weakFromThis () |
| const ememory::WeakPtr< EMEMORY_TYPE > | weakFromThis () const |
Protected Member Functions | |
| Sizer () | |
| virtual void | onChangePropertyMode () |
| virtual void | onChangePropertyBorderSize () |
Protected Member Functions inherited from ewol::widget::ContainerN | |
| ContainerN () | |
| virtual bvec2 | canExpand () override |
| virtual void | onChangePropertyLockExpand () |
Protected Member Functions inherited from ewol::Widget | |
| Widget () | |
| virtual void | onGetFocus () |
| virtual void | onLostFocus () |
| virtual void | setKeyboardRepeate (bool _state) |
| virtual void | showKeyboard () |
| virtual void | hideKeyboard () |
| virtual bool | onEventInput (const ewol::event::Input &_event) |
| virtual bool | onEventEntry (const ewol::event::Entry &_event) |
| virtual void | shortCutAdd (const std::string &_descriptiveString, const std::string &_message="") |
| virtual void | shortCutClean () |
| virtual void | shortCutRemove (const std::string &_message) |
| virtual void | markToRedraw () |
| virtual bool | needRedraw () |
| virtual void | onDraw () |
| void | addAnnimationType (enum ewol::Widget::annimationMode _mode, const char *_type) |
| virtual bool | onStartAnnimation (enum ewol::Widget::annimationMode _mode) |
| virtual void | onStopAnnimation () |
| virtual void | onChangePropertyCanFocus () |
| virtual void | onChangePropertyGravity () |
| virtual void | onChangePropertyHide () |
| virtual void | onChangePropertyFill () |
| virtual void | onChangePropertyExpand () |
| virtual void | onChangePropertyMaxSize () |
| virtual void | onChangePropertyMinSize () |
Protected Member Functions inherited from ewol::Object | |
| Object () | |
| virtual void | init () |
| virtual void | autoDestroy () |
| void | addObjectType (const char *_type) |
Member Enumeration Documentation
§ animation
§ displayMode
Constructor & Destructor Documentation
§ Sizer()
|
protected |
Constructor.
- Parameters
-
[in] _mode The mode to display the elements
§ ~Sizer()
|
virtual |
Destructor.
Member Function Documentation
§ calculateMinMaxSize()
|
overridevirtual |
calculate the minimum and maximum size (need to estimate expend properties of the widget)
- Note
- : INTERNAL EWOL SYSTEM
Reimplemented from ewol::widget::ContainerN.
§ onChangeSize()
|
overridevirtual |
Parent have set the size and the origin. the container need to update the subwidget property.
- Note
- : INTERNAL EWOL SYSTEM
Reimplemented from ewol::widget::ContainerN.
§ subWidgetAdd()
|
overridevirtual |
add at end position a Widget (note : This system use an inverted phylisophie (button to top, and left to right)
- Parameters
-
[in] _newWidget the element pointer
- Returns
- the ID of the set element
Reimplemented from ewol::widget::ContainerN.
§ subWidgetAddStart()
|
overridevirtual |
add at start position a Widget (note : This system use an inverted phylisophie (button to top, and left to right)
- Parameters
-
[in] _newWidget the element pointer
- Returns
- the ID of the set element
Reimplemented from ewol::widget::ContainerN.
§ subWidgetRemove()
|
overridevirtual |
remove definitly a widget from the system and this layer.
- Parameters
-
[in] _newWidget the element pointer.
Reimplemented from ewol::widget::ContainerN.
§ subWidgetUnLink()
|
overridevirtual |
Just unlick the specify widget, this function does not remove it from the system (if you can, do nt use it ...)
- Parameters
-
[in] _newWidget the element pointer.
Reimplemented from ewol::widget::ContainerN.
Member Data Documentation
§ propertyAnimation
| eproperty::List<enum animation> ewol::widget::Sizer::propertyAnimation |
Methode add and remove element (animation)
§ propertyAnimationTime
| eproperty::Value<float> ewol::widget::Sizer::propertyAnimationTime |
Time in second to generate animation.
§ propertyBorderSize
| eproperty::Value<gale::Dimension> ewol::widget::Sizer::propertyBorderSize |
Border size needed for all the display.
§ propertyMode
| eproperty::List<enum displayMode> ewol::widget::Sizer::propertyMode |
Methode to display the widget list (vert/hory ...)
The documentation for this class was generated from the following file:
- framework/atria-soft/ewol/ewol/widget/Sizer.hpp
Public Member Functions inherited from
1.8.12