Widget.hpp
Go to the documentation of this file.
95 // ----------------------------------------------------------------------------------------------------------------
97 // ----------------------------------------------------------------------------------------------------------------
160 };
233 // ----------------------------------------------------------------------------------------------------------------
235 // ----------------------------------------------------------------------------------------------------------------
271 // ----------------------------------------------------------------------------------------------------------------
273 // ----------------------------------------------------------------------------------------------------------------
291 // ----------------------------------------------------------------------------------------------------------------
293 // ----------------------------------------------------------------------------------------------------------------
385 // ----------------------------------------------------------------------------------------------------------------
387 // ----------------------------------------------------------------------------------------------------------------
423 // ----------------------------------------------------------------------------------------------------------------
424 // -- drawing : All drawing must be done in 2 separate buffer 1 for the current display and 1 for the working...
425 // ----------------------------------------------------------------------------------------------------------------
virtual bool needRedraw()
get the need of the redrawing of the widget and reset it to false
Definition: Widget.hpp:437
eproperty::Value< bool > propertyCanFocus
the focus can be done on this widget
Definition: Widget.hpp:83
eproperty::Range< float > propertyAnnimationTimeStart
time to produce start annimation
Definition: Widget.hpp:526
Definition: Entry.hpp:13
eproperty::Value< bool > propertyHide
hide a widget on the display
Definition: Widget.hpp:81
Definition: DrawProperty.hpp:15
gale::key::Special specialKey
special board key
Definition: Widget.hpp:55
vec2 m_origin
internal ... I do not really known how if can use it ...
Definition: Widget.hpp:179
virtual void onStopAnnimation()
Event when Stop the annimation.
Definition: Widget.hpp:572
const TYPE & get() const
Basic message classes for ewol system this class mermit at every Object to communicate between them...
Definition: Object.hpp:113
Definition: Manager.hpp:16
virtual void onDraw()
Common widget drawing function (called by the drawing thread [Android, X11, ...]) ...
Definition: Widget.hpp:455
virtual ewol::WidgetShared getWidgetAtPos(const vec2 &_pos)
get the widget at the specific windows absolute position
Definition: Widget.hpp:329
Definition: Input.hpp:12
eproperty::Value< gale::Dimension > propertyMaxSize
user define the maximum size of the widget
Definition: Widget.hpp:78
virtual bool getFocus()
get the focus state of the widget
Definition: Widget.hpp:244
virtual const vec2 & getOffset()
get the offset property of the widget.
Definition: Widget.hpp:158
bool m_needRegenerateDisplay
the display might be done the next regeneration
Definition: Widget.hpp:427
virtual bool onEventInput(const ewol::event::Input &_event)
Event on an input of this Widget (finger, mouse, stilet)
Definition: Widget.hpp:352
Definition: Area.hpp:16
eproperty::List< int32_t > propertyAnnimationTypeStop
type of start annimation
Definition: Widget.hpp:527
virtual bool onEventEntry(const ewol::event::Entry &_event)
Entry event. represent the physical event :
Definition: Widget.hpp:374
vec2 m_maxSize
internal: maximum size of the widget
Definition: Widget.hpp:101
Definition: Input.hpp:71
vec2 m_minSize
internal: minimum size of the widget
Definition: Widget.hpp:100
virtual bool onStartAnnimation(enum ewol::Widget::annimationMode _mode)
Event when start the annimation.
Definition: Widget.hpp:566
esignal::Signal< float > signalAnnimationRatio
event when % of annimation change (integer)
Definition: Widget.hpp:514
virtual void onRegenerateDisplay()
Event generated when a redraw is needed.
Definition: Widget.hpp:460
esignal::Signal signalAnnimationStop
event when stop annimation
Definition: Widget.hpp:515
virtual void setSize(const vec2 &_value)
set the widget size
Definition: Widget.hpp:126
eproperty::Range< float > propertyAnnimationTimeStop
time to produce start annimation
Definition: Widget.hpp:528
esignal::Signal signalAnnimationStart
event when start annimation
Definition: Widget.hpp:513
virtual void onGetFocus()
Event of the focus has been grep by the current widget.
Definition: Widget.hpp:265
Widget class is the main widget interface, it hase some generic properties: :** known his parent :** ...
Definition: Widget.hpp:73
eproperty::Value< bvec2 > propertyFill
the widget will fill all the space provided by the parrent.
Definition: Widget.hpp:80
virtual void onLostFocus()
Event of the focus has been lost by the current widget.
Definition: Widget.hpp:269
virtual int32_t getMouseLimit()
get the number of mouse event supported
Definition: Widget.hpp:281
Definition: Widget.hpp:52
eproperty::List< int32_t > propertyAnnimationTypeStart
type of start annimation
Definition: Widget.hpp:525
Definition: Entry.hpp:57
eproperty::Value< gale::Dimension > propertyMinSize
user define the minimum size of the widget
Definition: Widget.hpp:77
eproperty::Value< bvec2 > propertyExpand
the widget will expand if possible
Definition: Widget.hpp:79
float m_annimationratio
Ratio of the annimation [0..1].
Definition: Widget.hpp:523
virtual bool getKeyboardRepeate()
get the keyboard repeating event supporting.
Definition: Widget.hpp:302
esignal::Signal< std::string > signalShortcut
signal handle of the message
Definition: Widget.hpp:383
eproperty::List< enum ewol::gravity > propertyGravity
Gravity of the widget.
Definition: Widget.hpp:82
vec2 m_offset
Offset of the display in the viewport.
Definition: Widget.hpp:147
virtual void setKeyboardRepeate(bool _state)
set the keyboard repeating event supporting.
Definition: Widget.hpp:310
virtual void setMouseLimit(int32_t _numberState)
get the number of mouse event supported
Definition: Widget.hpp:288