aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-04-04 18:06:54 (GMT)
committermarkt <markt>2007-04-04 18:06:54 (GMT)
commit9d7c562478b553c8f0f71acdfa93bda2f0a5ce5d (patch)
tree2d190d364de6b4a1546fb13b508d6d829a5b29fa /src/IconButton.hh
parentf7ddf99bfd0578bb1d45c71f10904b7781700332 (diff)
downloadfluxbox-9d7c562478b553c8f0f71acdfa93bda2f0a5ce5d.zip
fluxbox-9d7c562478b553c8f0f71acdfa93bda2f0a5ce5d.tar.bz2
moved some code from here to there
Diffstat (limited to 'src/IconButton.hh')
-rw-r--r--src/IconButton.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IconButton.hh b/src/IconButton.hh
index 54dae1d..b724084 100644
--- a/src/IconButton.hh
+++ b/src/IconButton.hh
@@ -30,10 +30,11 @@
30#include "FbTk/TextButton.hh" 30#include "FbTk/TextButton.hh"
31 31
32class Focusable; 32class Focusable;
33class IconbarTheme;
33 34
34class IconButton: public FbTk::TextButton, public FbTk::Observer { 35class IconButton: public FbTk::TextButton, public FbTk::Observer {
35public: 36public:
36 IconButton(const FbTk::FbWindow &parent, FbTk::Font &font, 37 IconButton(const FbTk::FbWindow &parent, IconbarTheme &theme,
37 Focusable &window); 38 Focusable &window);
38 virtual ~IconButton(); 39 virtual ~IconButton();
39 40
@@ -64,6 +65,8 @@ private:
64 FbTk::FbPixmap m_icon_pixmap; 65 FbTk::FbPixmap m_icon_pixmap;
65 FbTk::FbPixmap m_icon_mask; 66 FbTk::FbPixmap m_icon_mask;
66 bool m_use_pixmap; 67 bool m_use_pixmap;
68
69 IconbarTheme &m_theme;
67}; 70};
68 71
69#endif // ICONBUTTON_HH 72#endif // ICONBUTTON_HH