aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-07-20 02:45:57 (GMT)
committerrathnor <rathnor>2003-07-20 02:45:57 (GMT)
commitace3e2e6293fa0ae5a2b9d971f24fa45b317ba2e (patch)
tree1943fde6b3bced84b1b6634b1f36bfa877ef6f29 /src/Screen.hh
parent1631ed814cb8665516673706637084dfa1485f87 (diff)
downloadfluxbox-ace3e2e6293fa0ae5a2b9d971f24fa45b317ba2e.zip
fluxbox-ace3e2e6293fa0ae5a2b9d971f24fa45b317ba2e.tar.bz2
fix toolbarmode = OFF bug, plus add toolbar menu back to screen's config menu
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index c4976b5..3718d92 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.114 2003/07/10 11:28:24 fluxgen Exp $ 25// $Id: Screen.hh,v 1.115 2003/07/20 02:45:57 rathnor Exp $
26 26
27#ifndef SCREEN_HH 27#ifndef SCREEN_HH
28#define SCREEN_HH 28#define SCREEN_HH
@@ -310,6 +310,12 @@ public:
310 /// updates max avaible area for the workspace 310 /// updates max avaible area for the workspace
311 void updateAvailableWorkspaceArea(); 311 void updateAvailableWorkspaceArea();
312 312
313 // for extras to add menus. These menus must be marked
314 // internal for their safety, and the extension must
315 // delete and remove the menu itself
316 void addConfigMenu(const char *label, FbTk::Menu &menu);
317 void removeConfigMenu(FbTk::Menu &menu);
318
313 enum { ROWSMARTPLACEMENT = 1, COLSMARTPLACEMENT, CASCADEPLACEMENT, 319 enum { ROWSMARTPLACEMENT = 1, COLSMARTPLACEMENT, CASCADEPLACEMENT,
314 UNDERMOUSEPLACEMENT, LEFTRIGHT, RIGHTLEFT, TOPBOTTOM, BOTTOMTOP }; 320 UNDERMOUSEPLACEMENT, LEFTRIGHT, RIGHTLEFT, TOPBOTTOM, BOTTOMTOP };
315 321
@@ -360,9 +366,12 @@ private:
360 366
361 typedef std::list<FbTk::Menu *> Rootmenus; 367 typedef std::list<FbTk::Menu *> Rootmenus;
362 typedef std::list<Netizen *> Netizens; 368 typedef std::list<Netizen *> Netizens;
369 typedef std::list<std::pair<const char *, FbTk::Menu *> > Configmenus;
370
363 371
364 Rootmenus m_rootmenu_list; 372 Rootmenus m_rootmenu_list;
365 Netizens m_netizen_list; 373 Netizens m_netizen_list;
374 Configmenus m_configmenu_list;
366 Icons m_icon_list; 375 Icons m_icon_list;
367 376
368 // This list keeps the order of window focusing for this screen 377 // This list keeps the order of window focusing for this screen