diff options
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index 9488f3c..03a96b7 100644 --- a/src/Screen.hh +++ b/src/Screen.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: Screen.hh,v 1.71 2003/02/22 16:09:44 rathnor Exp $ | 25 | // $Id: Screen.hh,v 1.72 2003/02/23 00:55:07 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
@@ -79,6 +79,7 @@ public: | |||
79 | ~BScreen(); | 79 | ~BScreen(); |
80 | 80 | ||
81 | inline bool doToolbarAutoHide() const { return *resource.toolbar_auto_hide; } | 81 | inline bool doToolbarAutoHide() const { return *resource.toolbar_auto_hide; } |
82 | inline Toolbar::Placement toolbarPlacement() const { return *resource.toolbar_placement; } | ||
82 | inline bool isSloppyFocus() const { return (*resource.focus_model == Fluxbox::SLOPPYFOCUS); } | 83 | inline bool isSloppyFocus() const { return (*resource.focus_model == Fluxbox::SLOPPYFOCUS); } |
83 | inline bool isSemiSloppyFocus() const { return (*resource.focus_model == Fluxbox::SEMISLOPPYFOCUS); } | 84 | inline bool isSemiSloppyFocus() const { return (*resource.focus_model == Fluxbox::SEMISLOPPYFOCUS); } |
84 | inline bool isRootColormapInstalled() const { return root_colormap_installed; } | 85 | inline bool isRootColormapInstalled() const { return root_colormap_installed; } |
@@ -196,7 +197,7 @@ public: | |||
196 | inline void saveWorkspaces(int w) { *resource.workspaces = w; } | 197 | inline void saveWorkspaces(int w) { *resource.workspaces = w; } |
197 | inline void saveToolbarAutoHide(bool r) { *resource.toolbar_auto_hide = r; } | 198 | inline void saveToolbarAutoHide(bool r) { *resource.toolbar_auto_hide = r; } |
198 | inline void saveToolbarWidthPercent(int w) { *resource.toolbar_width_percent = w; } | 199 | inline void saveToolbarWidthPercent(int w) { *resource.toolbar_width_percent = w; } |
199 | 200 | inline void saveToolbarPlacement(Toolbar::Placement place) { *resource.toolbar_placement = place; } | |
200 | inline void saveToolbarOnHead(int head) { *resource.toolbar_on_head = head; } | 201 | inline void saveToolbarOnHead(int head) { *resource.toolbar_on_head = head; } |
201 | 202 | ||
202 | 203 | ||
@@ -394,7 +395,7 @@ private: | |||
394 | Resource<Tab::Placement> tab_placement; | 395 | Resource<Tab::Placement> tab_placement; |
395 | Resource<Tab::Alignment> tab_alignment; | 396 | Resource<Tab::Alignment> tab_alignment; |
396 | Resource<int> toolbar_on_head; | 397 | Resource<int> toolbar_on_head; |
397 | 398 | Resource<Toolbar::Placement> toolbar_placement; | |
398 | bool slit_auto_hide; | 399 | bool slit_auto_hide; |
399 | int slit_placement, slit_direction; | 400 | int slit_placement, slit_direction; |
400 | 401 | ||