aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.hh
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 14:12:36 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 14:12:36 (GMT)
commitd05804e6661d4976ba52ef8727ec8387e2e3bba1 (patch)
tree096d71dcbd646d57f62bf314e5fb68cc2ac7cdb9 /src/Slit.hh
parent71674739ec6de376273cb3c5b938da132e7035c5 (diff)
downloadfluxbox-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.hh8
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;
51class Layer; 52class Layer;
52 53
53/// Handles dock apps 54/// Handles dock apps
54class Slit: public FbTk::EventHandler, public FbTk::Observer, public LayerObject { 55class Slit: public FbTk::EventHandler, public FbTk::Observer,
56 public LayerObject, private FbTk::SignalTracker
57{
55public: 58public:
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; }
131private: 134private:
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();