aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinButton.hh')
-rw-r--r--src/WinButton.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/WinButton.hh b/src/WinButton.hh
index 7f40f1a..a116a15 100644
--- a/src/WinButton.hh
+++ b/src/WinButton.hh
@@ -25,6 +25,7 @@
25#include "FbTk/Button.hh" 25#include "FbTk/Button.hh"
26#include "FbTk/Observer.hh" 26#include "FbTk/Observer.hh"
27#include "FbTk/FbPixmap.hh" 27#include "FbTk/FbPixmap.hh"
28#include "FbTk/Signal.hh"
28 29
29class FluxboxWindow; 30class FluxboxWindow;
30class WinButtonTheme; 31class WinButtonTheme;
@@ -35,7 +36,7 @@ template <class T> class ThemeProxy;
35} 36}
36 37
37/// draws and handles basic window button graphic 38/// draws and handles basic window button graphic
38class WinButton:public FbTk::Button, public FbTk::Observer { 39class WinButton:public FbTk::Button, public FbTk::Observer, public FbTk::SignalTracker {
39public: 40public:
40 /// draw type for the button 41 /// draw type for the button
41 enum Type {MAXIMIZE, MINIMIZE, SHADE, STICK, CLOSE, MENUICON}; 42 enum Type {MAXIMIZE, MINIMIZE, SHADE, STICK, CLOSE, MENUICON};
@@ -57,6 +58,7 @@ public:
57 /// override for redrawing 58 /// override for redrawing
58 void clear(); 59 void clear();
59 void update(FbTk::Subject *subj); 60 void update(FbTk::Subject *subj);
61 void updateAll();
60private: 62private:
61 void drawType(); 63 void drawType();
62 Type m_type; ///< the button type 64 Type m_type; ///< the button type