aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-08 17:29:44 (GMT)
committerfluxgen <fluxgen>2003-12-08 17:29:44 (GMT)
commit58c47cf71464be1ae455f23592e881b5c6e8f3fa (patch)
tree88f2b5982b92b88a256f36e120a33da565740c92 /src/Toolbar.hh
parentb40bea67b76c4de4a280e81a6b01645ed22588bf (diff)
downloadfluxbox-58c47cf71464be1ae455f23592e881b5c6e8f3fa.zip
fluxbox-58c47cf71464be1ae455f23592e881b5c6e8f3fa.tar.bz2
visible menu item
Diffstat (limited to 'src/Toolbar.hh')
-rw-r--r--src/Toolbar.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh
index a25077c..a2cacd9 100644
--- a/src/Toolbar.hh
+++ b/src/Toolbar.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: Toolbar.hh,v 1.49 2003/12/03 00:31:40 fluxgen Exp $ 25// $Id: Toolbar.hh,v 1.50 2003/12/08 17:29:44 fluxgen Exp $
26 26
27#ifndef TOOLBAR_HH 27#ifndef TOOLBAR_HH
28#define TOOLBAR_HH 28#define TOOLBAR_HH
@@ -45,8 +45,6 @@
45class BScreen; 45class BScreen;
46class Strut; 46class Strut;
47class FbMenu; 47class FbMenu;
48class Container;
49class IconButton;
50class Shape; 48class Shape;
51class ToolbarItem; 49class ToolbarItem;
52 50
@@ -54,7 +52,6 @@ namespace FbTk {
54class ImageControl; 52class ImageControl;
55}; 53};
56 54
57typedef Container IconBar;
58/// The toolbar. 55/// The toolbar.
59/// Handles iconbar, workspace name view and clock view 56/// Handles iconbar, workspace name view and clock view
60class Toolbar: public FbTk::EventHandler, public FbTk::Observer { 57class Toolbar: public FbTk::EventHandler, public FbTk::Observer {
@@ -77,6 +74,7 @@ public:
77 74
78 void raise(); 75 void raise();
79 void lower(); 76 void lower();
77 void updateVisibleState();
80 void toggleHidden(); 78 void toggleHidden();
81 79
82 80
@@ -179,7 +177,7 @@ private:
179 Strut *m_strut; ///< created and destroyed by BScreen 177 Strut *m_strut; ///< created and destroyed by BScreen
180 178
181 // resources 179 // resources
182 FbTk::Resource<bool> m_rc_auto_hide, m_rc_maximize_over; 180 FbTk::Resource<bool> m_rc_auto_hide, m_rc_maximize_over, m_rc_visible;
183 FbTk::Resource<int> m_rc_width_percent; 181 FbTk::Resource<int> m_rc_width_percent;
184 FbTk::Resource<Fluxbox::Layer> m_rc_layernum; 182 FbTk::Resource<Fluxbox::Layer> m_rc_layernum;
185 FbTk::Resource<int> m_rc_on_head; 183 FbTk::Resource<int> m_rc_on_head;