class: ewol::widget::PopUp


Constructor and Destructor:

#                                                        PopUp                  ();
+ virtual ~PopUp ();

Synopsis:

#         ewol::object::Param<ewol::compositing::Shaper> m_shaper;
# void init (const std::string & _shaperName);
+ DECLARE_WIDGET_FACTORY (PopUp ,
"PopUp" );
+ void setShaperName (const std::string & _shaperName);
# ewol::object::Param<bvec2> m_lockExpand;
+ void lockExpand (const bvec2 & _lockExpand);
+ void setRemoveOnExternClick (bool _state);
+ bool getRemoveOnExternClick () const;
# virtual void onDraw ();
# virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);
+ virtual void periodicCall (const ewol::event::Time & _event);
+ virtual void systemDraw (const ewol::DrawProperty & _displayProp);
+ virtual void onRegenerateDisplay ();
+ virtual void calculateSize (const vec2 & _available);
+ virtual bool onEventInput (const ewol::event::Input & _event);
+ virtual std::shared_ptr<ewol::Widget> getWidgetAtPos (const vec2 & _pos);
# virtual bool onStartAnnimation (enum ewol::Widget::annimationMode _mode);
# virtual void onStopAnnimation ();

Object Hierarchy:

+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::Container
+--> ewol::widget::PopUp
+--> ewol::widget::Parameter
+--> ewol::widget::StdPopUp

Detail:

m_shaper

# ewol::object::Param<ewol::compositing::Shaper> m_shaper;
Compositing theme.


PopUp

#  PopUp ();
Constructor


init

# void init (const std::string & _shaperName);



DECLARE_WIDGET_FACTORY

+  DECLARE_WIDGET_FACTORY (PopUp ,
"PopUp" );



~PopUp

+ virtual  ~PopUp ();
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

# ewol::object::Param<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 () const;
get the status of the request the Auto-remove when the event input is set outside the widget.


onDraw

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


onParameterChangeValue

# virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);



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 ();
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 std::shared_ptr<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 ();
Event when Stop the annimation.