class: ewol::widget::PopUp


Constructor and Destructor:

+                                   PopUp                     (const std::string & _shaperName);
+ virtual ~PopUp (void );

Synopsis:

+         void                      init                      (ewol::widget::Manager & _widgetManager);
+ const char* const configShaper;
+ const char* const configRemoveOnExternClick;
+ const char* const configAnimation;
+ const char* const configLockExpand;
+ void setShaperName (const std::string & _shaperName);
# bvec2 m_lockExpand;
+ void lockExpand (const bvec2 & _lockExpand);
+ void setRemoveOnExternClick (bool _state);
+ bool getRemoveOnExternClick (void ) const;
# virtual void onDraw (void );
# virtual bool onSetConfig (const ewol::object::Config & _conf);
# virtual bool onGetConfig (const char* _config,
std::string & _result) const;
+ virtual void periodicCall (const ewol::event::Time & _event);
+ virtual void systemDraw (const ewol::DrawProperty & _displayProp);
+ virtual void onRegenerateDisplay (void );
+ virtual void calculateSize (const vec2 & _available);
+ virtual bool onEventInput (const ewol::event::Input & _event);
+ virtual ewol::Widget* getWidgetAtPos (const vec2 & pos);
# virtual bool onStartAnnimation (enum ewol::Widget::annimationMode _mode);
# virtual void onStopAnnimation (void );

Object Hierarchy:

+ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::Container
+--> ewol::widget::PopUp
+--> ewol::widget::Parameter
+--> ewol::widget::FileChooser
+--> ewol::widget::StdPopUp

Detail:

init

+ void init (ewol::widget::Manager & _widgetManager);



configShaper

+ const char* const configShaper;



configRemoveOnExternClick

+ const char* const configRemoveOnExternClick;



configAnimation

+ const char* const configAnimation;



configLockExpand

+ const char* const configLockExpand;



PopUp

+  PopUp (const std::string & _shaperName);
Constructor


~PopUp

+ virtual  ~PopUp (void );
Destructor


setShaperName

+ void setShaperName (const std::string & _shaperName);
set the shaper name (use the contructer one this permit to not noad unused shaper)


m_lockExpand

# bvec2 m_lockExpand;
Lock the expend of the sub widget to this one == > this permit to limit bigger subWidget


lockExpand

+ void lockExpand (const bvec2 & _lockExpand);
Limit the expend properties to the current widget (no contamination)


setRemoveOnExternClick

+ void setRemoveOnExternClick (bool _state);
Request the Auto-remove when the event input is set outside the widget


getRemoveOnExternClick

+ bool getRemoveOnExternClick (void ) const;
get the status of the request the Auto-remove when the event input is set outside the widget.


onDraw

# virtual void onDraw (void );
Common widget drawing function (called by the drawing thread [Android, X11, ...])


onSetConfig

# virtual bool onSetConfig (const ewol::object::Config & _conf);
Configuration requested to the curent Object


onGetConfig

# virtual bool onGetConfig (const char* _config,
std::string & _result) const;
Receive a configuration message from an other element system or from the curent Object


periodicCall

+ virtual void periodicCall (const ewol::event::Time & _event);
periodic call of this widget


systemDraw

+ virtual void systemDraw (const ewol::DrawProperty & _displayProp);
{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
Note: This function is virtual for the scrolled widget, and the more complicated openGl widget
Note: : INTERNAL EWOL SYSTEM


onRegenerateDisplay

+ virtual void onRegenerateDisplay (void );
Event generated when a redraw is needed


calculateSize

+ virtual void calculateSize (const vec2 & _available);
Parent set the possible diplay size of the current widget whith his own possibilities By default this save the widget available size in the widget size
Note: : INTERNAL EWOL SYSTEM


onEventInput

+ virtual bool onEventInput (const ewol::event::Input & _event);
Event on an input of this Widget (finger, mouse, stilet)


getWidgetAtPos

+ virtual ewol::Widget* getWidgetAtPos (const vec2 & pos);
get the widget at the specific windows absolute position
Note: : INTERNAL EWOL SYSTEM


onStartAnnimation

# virtual bool onStartAnnimation (enum ewol::Widget::annimationMode _mode);
Event when start the annimation.


onStopAnnimation

# virtual void onStopAnnimation (void );
Event when Stop the annimation.