diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2007-12-30 15:32:53 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2007-12-30 15:32:53 (GMT) |
commit | 04cd2fd14c6f45f61457e034906f630ce46a76cc (patch) | |
tree | 67e2f2f7977c3e8525c2ae7eb30f593f7f440b82 /src/FbTk/Button.hh | |
parent | 4cc810b0d39917d37fa08034ac7dd509292c9ce3 (diff) | |
download | fluxbox-04cd2fd14c6f45f61457e034906f630ce46a76cc.zip fluxbox-04cd2fd14c6f45f61457e034906f630ce46a76cc.tar.bz2 |
removed some unneeded headers
Diffstat (limited to 'src/FbTk/Button.hh')
-rw-r--r-- | src/FbTk/Button.hh | 6 |
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 | |||
37 | namespace FbTk { | 35 | namespace FbTk { |
38 | 36 | ||
39 | class Theme; | 37 | class Theme; |
40 | 38 | ||
41 | class Button:public FbTk::FbWindow, public EventHandler, | 39 | class Button:public FbTk::FbWindow, public EventHandler, |
42 | private NotCopyable { | 40 | private NotCopyable { |
43 | public: | 41 | public: |
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 | ||