aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.hh
diff options
context:
space:
mode:
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();