diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-28 16:13:30 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-28 16:13:30 (GMT) |
commit | 9aee5b80cb32119a633151a489a2bd85b63e3b28 (patch) | |
tree | aaf370b73f2c9802eb804312ac64ade1a141b382 /src/Toolbar.hh | |
parent | 2fcc0fd9e7b92dbb440fd67e34fdbab05be7d98d (diff) | |
download | fluxbox_pavel-9aee5b80cb32119a633151a489a2bd85b63e3b28.zip fluxbox_pavel-9aee5b80cb32119a633151a489a2bd85b63e3b28.tar.bz2 |
Changed resize signal in BScreen to use the new signal system
Diffstat (limited to 'src/Toolbar.hh')
-rw-r--r-- | src/Toolbar.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh index 100b38b..f631c41 100644 --- a/src/Toolbar.hh +++ b/src/Toolbar.hh | |||
@@ -41,6 +41,7 @@ | |||
41 | #include "FbTk/XLayerItem.hh" | 41 | #include "FbTk/XLayerItem.hh" |
42 | #include "FbTk/EventHandler.hh" | 42 | #include "FbTk/EventHandler.hh" |
43 | #include "FbTk/FbWindow.hh" | 43 | #include "FbTk/FbWindow.hh" |
44 | #include "FbTk/Signal.hh" | ||
44 | 45 | ||
45 | #include <memory> | 46 | #include <memory> |
46 | 47 | ||
@@ -139,6 +140,9 @@ private: | |||
139 | void updateStrut(); | 140 | void updateStrut(); |
140 | void updateAlpha(); | 141 | void updateAlpha(); |
141 | 142 | ||
143 | /// Called when the screen changed property. | ||
144 | void screenChanged(BScreen &screen); | ||
145 | |||
142 | bool m_hidden; ///< hidden state | 146 | bool m_hidden; ///< hidden state |
143 | 147 | ||
144 | /// Toolbar frame | 148 | /// Toolbar frame |
@@ -193,6 +197,7 @@ private: | |||
193 | bool m_resize_lock; ///< to lock rearrangeItems or not | 197 | bool m_resize_lock; ///< to lock rearrangeItems or not |
194 | /// observers for various signals | 198 | /// observers for various signals |
195 | std::vector<FbTk::Observer*> m_observers; | 199 | std::vector<FbTk::Observer*> m_observers; |
200 | FbTk::SignalTracker m_signal_tracker; | ||
196 | }; | 201 | }; |
197 | 202 | ||
198 | 203 | ||