SCV  4.2.1
Simple Components for Visual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ProgressBar.h
Go to the documentation of this file.
1 
7 #ifndef __SCV_PROGRESSBAR_H__
8 #define __SCV_PROGRESSBAR_H__
9 
10 #include "Label.h"
11 #include "Counter.h"
12 
13 namespace scv {
14 
15 class ProgressBar : public Label, public Counter {
16 public:
17  ProgressBar(const scv::Point &p1, const scv::Point &p2, double startValue);
18  ProgressBar(const scv::Point &p, unsigned int width, double startValue);
19  ProgressBar(const scv::Point &p, double startValue);
20  virtual ~ProgressBar(void) {}
21 
22  virtual void onValueChange(void);
23 
24  void setValue(double value);
25 
26  virtual void display(void);
27 
28 protected:
29  void createTexture(void);
30 };
31 
32 } // namespace scv
33 
34 #endif // __SCV_PROGRESSBAR_H__