aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-08-14 05:52:39 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-08-14 05:52:39 (GMT)
commite169d33552c8e7070aa6e13da0187f2013b4cfc3 (patch)
treeae9e92c7e885791c7f47645184070cbcd441ab94 /src/Window.hh
parentc82e7c0080f8a5c14dcf95ec92dc42f59ea9dd8b (diff)
parent91ca3bc5c8e2b892a9a81b18246f72aba7deebfd (diff)
downloadfluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.zip
fluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.tar.bz2
Merge branch 'master' into to_push
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 700bd10..e7d2270 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -47,13 +47,13 @@ class FbWinFrameTheme;
47class BScreen; 47class BScreen;
48class FbWinFrame; 48class FbWinFrame;
49class FocusControl; 49class FocusControl;
50class FbMenu;
50 51
51namespace FbTk { 52namespace FbTk {
52class TextButton; 53class TextButton;
53class MenuTheme; 54class MenuTheme;
54class ImageControl; 55class ImageControl;
55class XLayer; 56class XLayer;
56class Menu;
57} 57}
58 58
59/// Creates the window frame and handles any window event for it 59/// Creates the window frame and handles any window event for it
@@ -96,7 +96,7 @@ public:
96 ATTRIB_WORKSPACE = 0x10, ///< workspace 96 ATTRIB_WORKSPACE = 0x10, ///< workspace
97 ATTRIB_STACK = 0x20, ///< stack 97 ATTRIB_STACK = 0x20, ///< stack
98 ATTRIB_DECORATION = 0x40, ///< decorations 98 ATTRIB_DECORATION = 0x40, ///< decorations
99 ATTRIB_HIDDEN = 0x80, ///< hidden 99 ATTRIB_HIDDEN = 0x80 ///< hidden
100 }; 100 };
101 101
102 /** 102 /**
@@ -323,6 +323,12 @@ public:
323 * @param my position 323 * @param my position
324 */ 324 */
325 void showMenu(int mx, int my); 325 void showMenu(int mx, int my);
326
327 /** popup window menu at specific location
328 * @param x
329 * @param y
330 */
331 void popupMenu(int x, int y);
326 // popup menu on last button press position 332 // popup menu on last button press position
327 void popupMenu(); 333 void popupMenu();
328 334
@@ -351,7 +357,7 @@ public:
351 /// handle Subject notifications 357 /// handle Subject notifications
352 void update(FbTk::Subject *subj); 358 void update(FbTk::Subject *subj);
353 359
354 void applyDecorations(bool initial = false); 360 void applyDecorations();
355 void toggleDecoration(); 361 void toggleDecoration();
356 362
357 unsigned int decorationMask() const; 363 unsigned int decorationMask() const;
@@ -433,8 +439,8 @@ public:
433 FbTk::FbWindow &fbWindow(); 439 FbTk::FbWindow &fbWindow();
434 const FbTk::FbWindow &fbWindow() const; 440 const FbTk::FbWindow &fbWindow() const;
435 441
436 FbTk::Menu &menu(); 442 FbMenu &menu();
437 const FbTk::Menu &menu() const; 443 const FbMenu &menu() const;
438 444
439 const FbTk::FbWindow &parent() const { return m_parent; } 445 const FbTk::FbWindow &parent() const { return m_parent; }
440 FbTk::FbWindow &parent() { return m_parent; } 446 FbTk::FbWindow &parent() { return m_parent; }