diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2010-03-18 18:41:35 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2010-03-18 18:41:35 (GMT) |
commit | 6ed8369d57e8d3144805235fb7aeca63993742af (patch) | |
tree | 914bfd1a4fdc341d5c8aa1fc57e6297c7f8887f0 /src/IconButton.hh | |
parent | 02bb93590c69b619150735f026f7719df2e5c271 (diff) | |
download | fluxbox-6ed8369d57e8d3144805235fb7aeca63993742af.zip fluxbox-6ed8369d57e8d3144805235fb7aeca63993742af.tar.bz2 |
Changed Focusable::focusSig() to new signal system.
The focus signal emits the window that had the focus status changed.
Diffstat (limited to 'src/IconButton.hh')
-rw-r--r-- | src/IconButton.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/IconButton.hh b/src/IconButton.hh index 2a81c85..5a6af0d 100644 --- a/src/IconButton.hh +++ b/src/IconButton.hh | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "FbTk/FbPixmap.hh" | 29 | #include "FbTk/FbPixmap.hh" |
30 | #include "FbTk/Observer.hh" | 30 | #include "FbTk/Observer.hh" |
31 | #include "FbTk/TextButton.hh" | 31 | #include "FbTk/TextButton.hh" |
32 | #include "FbTk/Signal.hh" | ||
32 | 33 | ||
33 | class IconbarTheme; | 34 | class IconbarTheme; |
34 | 35 | ||
@@ -68,6 +69,7 @@ public: | |||
68 | protected: | 69 | protected: |
69 | void drawText(int x, int y, FbTk::FbDrawable *drawable_override); | 70 | void drawText(int x, int y, FbTk::FbDrawable *drawable_override); |
70 | private: | 71 | private: |
72 | void reconfigAndClear(); | ||
71 | void setupWindow(); | 73 | void setupWindow(); |
72 | void showTooltip(); | 74 | void showTooltip(); |
73 | 75 | ||
@@ -82,6 +84,7 @@ private: | |||
82 | FocusableTheme<IconbarTheme> m_theme; | 84 | FocusableTheme<IconbarTheme> m_theme; |
83 | // cached pixmaps | 85 | // cached pixmaps |
84 | FbTk::CachedPixmap m_pm; | 86 | FbTk::CachedPixmap m_pm; |
87 | FbTk::SignalTracker m_signals; | ||
85 | }; | 88 | }; |
86 | 89 | ||
87 | #endif // ICONBUTTON_HH | 90 | #endif // ICONBUTTON_HH |