class: ewol::widget::ProgressBar


Constructor and Destructor:

#                                           ProgressBar            ();
+ virtual ~ProgressBar ();

Synopsis:

#         void                              init                   ();
+ DECLARE_WIDGET_FACTORY (ProgressBar ,
"ProgressBar" );
+ void setValue (float _val);
+ float getValue () const;
+ void setColor (etk::Color<> _newColor);
# virtual void onDraw ();
# virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);
+ virtual void onRegenerateDisplay ();
+ virtual void calculateMinMaxSize ();

Object Hierarchy:

+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> ewol::widget::ProgressBar

Detail:

ProgressBar

#  ProgressBar ();



init

# void init ();



DECLARE_WIDGET_FACTORY

+  DECLARE_WIDGET_FACTORY (ProgressBar ,
"ProgressBar" );



~ProgressBar

+ virtual  ~ProgressBar ();



setValue

+ void setValue (float _val);



getValue

+ float getValue () const;



setColor

+ void setColor (etk::Color<> _newColor);



onDraw

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


onParameterChangeValue

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



onRegenerateDisplay

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


calculateMinMaxSize

+ virtual void calculateMinMaxSize ();
calculate the minimum and maximum size (need to estimate expend properties of the widget)
Note: : INTERNAL EWOL SYSTEM