aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Button.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Button.hh')
-rw-r--r--src/FbTk/Button.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/FbTk/Button.hh b/src/FbTk/Button.hh
index 4b2ef8b..afad9e1 100644
--- a/src/FbTk/Button.hh
+++ b/src/FbTk/Button.hh
@@ -32,19 +32,17 @@
32#include "Color.hh" 32#include "Color.hh"
33#include "Text.hh" 33#include "Text.hh"
34 34
35#include <X11/Xlib.h>
36
37namespace FbTk { 35namespace FbTk {
38 36
39class Theme; 37class Theme;
40 38
41class Button:public FbTk::FbWindow, public EventHandler, 39class Button:public FbTk::FbWindow, public EventHandler,
42 private NotCopyable { 40 private NotCopyable {
43public: 41public:
44 Button(int screen_num, int x, int y, unsigned int width, unsigned int height); 42 Button(int screen_num, int x, int y, unsigned int width, unsigned int height);
45 Button(const FbWindow &parent, int x, int y, unsigned int width, unsigned int height); 43 Button(const FbWindow &parent, int x, int y, unsigned int width, unsigned int height);
46 virtual ~Button(); 44 virtual ~Button();
47 45
48 /// sets action when the button is clicked with #button mouse btn 46 /// sets action when the button is clicked with #button mouse btn
49 void setOnClick(RefCount<Command> &com, int button = 1); 47 void setOnClick(RefCount<Command> &com, int button = 1);
50 48