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