summaryrefslogtreecommitdiff
path: root/src/Slit.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Slit.hh')
-rw-r--r--src/Slit.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Slit.hh b/src/Slit.hh
index f79dbd5..43a91e9 100644
--- a/src/Slit.hh
+++ b/src/Slit.hh
@@ -30,8 +30,8 @@ class Slit;
30class Slitmenu; 30class Slitmenu;
31 31
32#include "Basemenu.hh" 32#include "Basemenu.hh"
33#include "LinkedList.hh"
34 33
34#include <list>
35 35
36class Slitmenu : public Basemenu { 36class Slitmenu : public Basemenu {
37private: 37private:
@@ -100,7 +100,9 @@ private:
100 BScreen *screen; 100 BScreen *screen;
101 BTimer *timer; 101 BTimer *timer;
102 102
103 LinkedList<SlitClient> *clientList; 103 typedef std::list<SlitClient *> SlitClients;
104
105 SlitClients clientList;
104 Slitmenu *slitmenu; 106 Slitmenu *slitmenu;
105 107
106 struct frame { 108 struct frame {
@@ -137,8 +139,8 @@ public:
137 inline const unsigned int &getHeight(void) const { return frame.height; } 139 inline const unsigned int &getHeight(void) const { return frame.height; }
138 140
139 void addClient(Window); 141 void addClient(Window);
140 void removeClient(SlitClient *, Bool = True); 142 void removeClient(SlitClient *, bool = true);
141 void removeClient(Window, Bool = True); 143 void removeClient(Window, bool = true);
142 void reconfigure(void); 144 void reconfigure(void);
143 void reposition(void); 145 void reposition(void);
144 void shutdown(void); 146 void shutdown(void);