diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-27 05:06:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-27 05:06:04 +0000 |
| commit | 5377e3fde108da56894185716d47c3058032b97f (patch) | |
| tree | d66a373ef9bc2b609354271e3add0eea1115fd2c /src/Toolbar.hh | |
| parent | b0f8eab0e6be1448e54db56cbed9c01b3a79020e (diff) | |
added "Hide Toolbar" option.
Diffstat (limited to 'src/Toolbar.hh')
| -rw-r--r-- | src/Toolbar.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh index 31b35e7d..f9dd5481 100644 --- a/src/Toolbar.hh +++ b/src/Toolbar.hh @@ -155,13 +155,18 @@ public: void save_rc(void); void load_rc(void); + void mapToolbar(void); + void unmapToolbar(void); + inline Window getWindowID(void) const { return frame.window; } inline const Rect& getRect(void) const { return frame.rect; } inline unsigned int getWidth(void) const { return frame.rect.width(); } inline unsigned int getHeight(void) const { return frame.rect.height(); } inline unsigned int getExposedHeight(void) const - { return ((do_auto_hide) ? frame.bevel_w : frame.rect.height()); } + { return (screen->doHideToolbar() ? 0 : + ((do_auto_hide) ? frame.bevel_w : + frame.rect.height())); } inline int getX(void) const { return ((hidden) ? frame.x_hidden : frame.rect.x()); } inline int getY(void) const |
