aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r--src/FbTk/Menu.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index 7ca4e39..20562de 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.hh
@@ -105,7 +105,7 @@ public:
105 //@{ 105 //@{
106 void handleEvent(XEvent &event); 106 void handleEvent(XEvent &event);
107 void buttonPressEvent(XButtonEvent &bp); 107 void buttonPressEvent(XButtonEvent &bp);
108 void buttonReleaseEvent(XButtonEvent &br); 108 virtual void buttonReleaseEvent(XButtonEvent &br);
109 void motionNotifyEvent(XMotionEvent &mn); 109 void motionNotifyEvent(XMotionEvent &mn);
110 void exposeEvent(XExposeEvent &ee); 110 void exposeEvent(XExposeEvent &ee);
111 void keyPressEvent(XKeyEvent &ke); 111 void keyPressEvent(XKeyEvent &ke);
@@ -139,6 +139,7 @@ public:
139#endif 139#endif
140 inline bool isTorn() const { return m_torn; } 140 inline bool isTorn() const { return m_torn; }
141 inline bool isVisible() const { return m_visible; } 141 inline bool isVisible() const { return m_visible; }
142 inline bool isMoving() const { return m_moving; }
142 inline int screenNumber() const { return menu.window.screenNumber(); } 143 inline int screenNumber() const { return menu.window.screenNumber(); }
143 inline Window window() const { return menu.window.window(); } 144 inline Window window() const { return menu.window.window(); }
144 inline FbWindow &fbwindow() { return menu.window; } 145 inline FbWindow &fbwindow() { return menu.window; }