class: ewol::widget::ProgressBar
Constructor and Destructor:
+ ProgressBar (void );
+ virtual ~ProgressBar (void );
Synopsis:
+ void init (ewol::widget::Manager & _widgetManager);
+ const char* const configColorBg;
+ const char* const configColorFgOn;
+ const char* const configColorFgOff;
+ const char* const configValue;
+ void setValue (float _val);
+ float getValue (void ) const;
+ void setColor (etk::Color<> _newColor);
# virtual void onDraw (void );
# virtual bool onSetConfig (const ewol::object::Config & _conf);
# virtual bool onGetConfig (const char* _config,
std::string & _result) const;
+ virtual void onRegenerateDisplay (void );
+ virtual void calculateMinMaxSize (void );
Object Hierarchy:
+ewol::Object
+--> +ewol::Widget
+--> ewol::widget::ProgressBar
Detail:
init
+ void init (ewol::widget::Manager & _widgetManager);
configColorBg
+ const char* const configColorBg;
configColorFgOn
+ const char* const configColorFgOn;
configColorFgOff
+ const char* const configColorFgOff;
configValue
+ const char* const configValue;
ProgressBar
+ ProgressBar (void );
~ProgressBar
+ virtual ~ProgressBar (void );
setValue
+ void setValue (float _val);
getValue
+ float getValue (void ) const;
setColor
+ void setColor (etk::Color<> _newColor);
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
Parameter [input]: | _conf | Configuration handle. |
Return: | | true if the parametere has been used |
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
Parameter [input]: | _config | Configuration name. |
Parameter [output]: | _result | Result of the request. |
Return: | | true if the config is set |
onRegenerateDisplay
+ virtual void onRegenerateDisplay (void );
Event generated when a redraw is needed
calculateMinMaxSize
+ virtual void calculateMinMaxSize (void );
calculate the minimum and maximum size (need to estimate expend properties of the widget)
Note: : INTERNAL EWOL SYSTEM