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, 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