diff options
author | fluxgen <fluxgen> | 2006-02-20 21:04:35 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-02-20 21:04:35 (GMT) |
commit | 369b4e1b92491aa57b0bf430b89bf732b80fa6a4 (patch) | |
tree | 2bf00a93ad1c195ef7d446e8989069f218a2cd47 /src/fluxbox.hh | |
parent | 2566d84561ce9f5ecaf1adcce97eb578747034e3 (diff) | |
download | fluxbox_pavel-369b4e1b92491aa57b0bf430b89bf732b80fa6a4.zip fluxbox_pavel-369b4e1b92491aa57b0bf430b89bf732b80fa6a4.tar.bz2 |
moved class Layer from class Fluxbox and thus reduces some dependecies
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r-- | src/fluxbox.hh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 40b0379..ad75957 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh | |||
@@ -136,26 +136,6 @@ public: | |||
136 | // we have a special resource type because we need to be able to name certain layers | 136 | // we have a special resource type because we need to be able to name certain layers |
137 | // a Resource<int> wouldn't allow this | 137 | // a Resource<int> wouldn't allow this |
138 | 138 | ||
139 | class Layer { | ||
140 | public: | ||
141 | explicit Layer(int i) : m_num(i) {}; | ||
142 | int getNum() const { return m_num; } | ||
143 | |||
144 | Layer &operator=(int num) { m_num = num; return *this; } | ||
145 | |||
146 | private: | ||
147 | int m_num; | ||
148 | }; | ||
149 | |||
150 | // TODO these probably should be configurable | ||
151 | int getMenuLayer() const { return 0; } | ||
152 | int getAboveDockLayer() const { return 2; } | ||
153 | int getDockLayer() const { return 4; } | ||
154 | int getTopLayer() const { return 6; } | ||
155 | int getNormalLayer() const { return 8; } | ||
156 | int getBottomLayer() const { return 10; } | ||
157 | int getDesktopLayer() const { return 12; } | ||
158 | |||
159 | 139 | ||
160 | time_t getAutoRaiseDelay() const { return *m_rc_auto_raise_delay; } | 140 | time_t getAutoRaiseDelay() const { return *m_rc_auto_raise_delay; } |
161 | 141 | ||