aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index a6aa9fb..f418d0c 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -69,8 +69,10 @@ class Menu;
69class ImageControl; 69class ImageControl;
70class LayerItem; 70class LayerItem;
71class FbWindow; 71class FbWindow;
72class TextButton;
72} 73}
73 74
75typedef std::map<std::string, FbTk::TextButton*> ToolButtonMap;
74 76
75/// Handles screen connection, screen clients and workspaces 77/// Handles screen connection, screen clients and workspaces
76/** 78/**
@@ -343,6 +345,14 @@ public:
343 void reassociateWindow(FluxboxWindow *window, unsigned int workspace_id, 345 void reassociateWindow(FluxboxWindow *window, unsigned int workspace_id,
344 bool ignore_sticky); 346 bool ignore_sticky);
345 347
348#if USE_TOOLBAR
349 /**
350 * manage a map of named FbTk::TextButton's
351 */
352 void clearToolButtonMap();
353 void mapToolButton(std::string name, FbTk::TextButton *button);
354 bool relabelToolButton(std::string button, std::string label);
355#endif
346 356
347 void reconfigure(); 357 void reconfigure();
348 void reconfigureTabs(); 358 void reconfigureTabs();
@@ -489,6 +499,7 @@ private:
489 499
490 std::auto_ptr<Slit> m_slit; 500 std::auto_ptr<Slit> m_slit;
491 std::auto_ptr<Toolbar> m_toolbar; 501 std::auto_ptr<Toolbar> m_toolbar;
502 std::auto_ptr<ToolButtonMap> m_toolButtonMap;
492 503
493 Workspace *m_current_workspace; 504 Workspace *m_current_workspace;
494 505