diff options
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index c81cda5..75111d0 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -111,19 +111,19 @@ public: | |||
111 | explicit Slit(BScreen *); | 111 | explicit Slit(BScreen *); |
112 | virtual ~Slit(); | 112 | virtual ~Slit(); |
113 | 113 | ||
114 | inline const bool isOnTop(void) const { return on_top; } | 114 | inline bool isOnTop(void) const { return on_top; } |
115 | inline const bool isHidden(void) const { return hidden; } | 115 | inline bool isHidden(void) const { return hidden; } |
116 | inline const bool doAutoHide(void) const { return do_auto_hide; } | 116 | inline bool doAutoHide(void) const { return do_auto_hide; } |
117 | 117 | ||
118 | Slitmenu &getMenu() { return slitmenu; } | 118 | Slitmenu &getMenu() { return slitmenu; } |
119 | 119 | ||
120 | inline const Window &getWindowID() const { return frame.window; } | 120 | inline const Window &getWindowID() const { return frame.window; } |
121 | 121 | ||
122 | inline const int getX() const { return ((hidden) ? frame.x_hidden : frame.x); } | 122 | inline int getX() const { return ((hidden) ? frame.x_hidden : frame.x); } |
123 | inline const int getY() const { return ((hidden) ? frame.y_hidden : frame.y); } | 123 | inline int getY() const { return ((hidden) ? frame.y_hidden : frame.y); } |
124 | 124 | ||
125 | inline const unsigned int getWidth(void) const { return frame.width; } | 125 | inline unsigned int getWidth(void) const { return frame.width; } |
126 | inline const unsigned int getHeight(void) const { return frame.height; } | 126 | inline unsigned int getHeight(void) const { return frame.height; } |
127 | 127 | ||
128 | void addClient(Window); | 128 | void addClient(Window); |
129 | void removeClient(Window, bool = true); | 129 | void removeClient(Window, bool = true); |