diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 14:12:36 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 14:12:36 (GMT) |
commit | d05804e6661d4976ba52ef8727ec8387e2e3bba1 (patch) | |
tree | 096d71dcbd646d57f62bf314e5fb68cc2ac7cdb9 /src/Slit.hh | |
parent | 71674739ec6de376273cb3c5b938da132e7035c5 (diff) | |
download | fluxbox-d05804e6661d4976ba52ef8727ec8387e2e3bba1.zip fluxbox-d05804e6661d4976ba52ef8727ec8387e2e3bba1.tar.bz2 |
Changed background changed signal in BScreen to use the new signal system
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index 19e4698..e1bcc5e 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -38,6 +38,7 @@ | |||
38 | #include "FbTk/Timer.hh" | 38 | #include "FbTk/Timer.hh" |
39 | #include "FbTk/Resource.hh" | 39 | #include "FbTk/Resource.hh" |
40 | #include "FbTk/XLayerItem.hh" | 40 | #include "FbTk/XLayerItem.hh" |
41 | #include "FbTk/Signal.hh" | ||
41 | 42 | ||
42 | #include <X11/Xutil.h> | 43 | #include <X11/Xutil.h> |
43 | 44 | ||
@@ -51,7 +52,9 @@ class Strut; | |||
51 | class Layer; | 52 | class Layer; |
52 | 53 | ||
53 | /// Handles dock apps | 54 | /// Handles dock apps |
54 | class Slit: public FbTk::EventHandler, public FbTk::Observer, public LayerObject { | 55 | class Slit: public FbTk::EventHandler, public FbTk::Observer, |
56 | public LayerObject, private FbTk::SignalTracker | ||
57 | { | ||
55 | public: | 58 | public: |
56 | typedef std::list<SlitClient *> SlitClients; | 59 | typedef std::list<SlitClient *> SlitClients; |
57 | /** | 60 | /** |
@@ -129,6 +132,9 @@ public: | |||
129 | const SlitClients &clients() const { return m_client_list; } | 132 | const SlitClients &clients() const { return m_client_list; } |
130 | SlitClients &clients() { return m_client_list; } | 133 | SlitClients &clients() { return m_client_list; } |
131 | private: | 134 | private: |
135 | /// Called when screen has changed | ||
136 | void updateForScreen(BScreen &screen); | ||
137 | |||
132 | void updateAlpha(); | 138 | void updateAlpha(); |
133 | void clearWindow(); | 139 | void clearWindow(); |
134 | void setupMenu(); | 140 | void setupMenu(); |