aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-02-02 16:32:41 (GMT)
committerrathnor <rathnor>2003-02-02 16:32:41 (GMT)
commit1b063dcea92e0a7ac5008518fc5c13f03c055f54 (patch)
tree29d5b622c0870f06a94086ed463ab90e23bc673e /src/fluxbox.hh
parent5244fc32447d2649a52a06dc84d96da94e9fd715 (diff)
downloadfluxbox_pavel-1b063dcea92e0a7ac5008518fc5c13f03c055f54.zip
fluxbox_pavel-1b063dcea92e0a7ac5008518fc5c13f03c055f54.tar.bz2
Integration of new Layering code, plus updates to the layering code itself
- new KeyActions: Raise/LowerLayer, AlwaysOnTop/Bottom, Top/BottomLayer Added a "Quit" KeyAction
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index f0dffab..ea89257 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.hh,v 1.39 2003/01/12 18:49:36 fluxgen Exp $ 25// $Id: fluxbox.hh,v 1.40 2003/02/02 16:32:40 rathnor Exp $
26 26
27#ifndef FLUXBOX_HH 27#ifndef FLUXBOX_HH
28#define FLUXBOX_HH 28#define FLUXBOX_HH
@@ -111,6 +111,16 @@ public:
111 inline const char *getMenuFilename() const { return m_rc_menufile->c_str(); } 111 inline const char *getMenuFilename() const { return m_rc_menufile->c_str(); }
112 inline const std::string &getSlitlistFilename() const { return *m_rc_slitlistfile; } 112 inline const std::string &getSlitlistFilename() const { return *m_rc_slitlistfile; }
113 inline int colorsPerChannel() const { return *m_rc_colors_per_channel; } 113 inline int colorsPerChannel() const { return *m_rc_colors_per_channel; }
114 inline int getNumberOfLayers() const { return *m_rc_numlayers; }
115
116 // TODO there probably should be configurable
117 inline int getDesktopLayer() const { return 12; }
118 inline int getBottomLayer() const { return 10; }
119 inline int getNormalLayer() const { return 8; }
120 inline int getTopLayer() const { return 2; }
121 inline int getSlitLayer() const { return 4; }
122 inline int getMenuLayer() const { return 0; }
123
114 124
115 inline const timeval &getAutoRaiseDelay() const { return resource.auto_raise_delay; } 125 inline const timeval &getAutoRaiseDelay() const { return resource.auto_raise_delay; }
116 126
@@ -201,7 +211,7 @@ private:
201 211
202 //--- Resources 212 //--- Resources
203 Resource<bool> m_rc_tabs, m_rc_iconbar; 213 Resource<bool> m_rc_tabs, m_rc_iconbar;
204 Resource<int> m_rc_colors_per_channel; 214 Resource<int> m_rc_colors_per_channel, m_rc_numlayers;
205 Resource<std::string> m_rc_stylefile, 215 Resource<std::string> m_rc_stylefile,
206 m_rc_menufile, m_rc_keyfile, m_rc_slitlistfile, 216 m_rc_menufile, m_rc_keyfile, m_rc_slitlistfile,
207 m_rc_groupfile; 217 m_rc_groupfile;