summaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-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 c77b0c0..e6c249d 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.hh
@@ -104,7 +104,7 @@ public:
104 //@{ 104 //@{
105 void handleEvent(XEvent &event); 105 void handleEvent(XEvent &event);
106 void buttonPressEvent(XButtonEvent &bp); 106 void buttonPressEvent(XButtonEvent &bp);
107 void buttonReleaseEvent(XButtonEvent &br); 107 virtual void buttonReleaseEvent(XButtonEvent &br);
108 void motionNotifyEvent(XMotionEvent &mn); 108 void motionNotifyEvent(XMotionEvent &mn);
109 void exposeEvent(XExposeEvent &ee); 109 void exposeEvent(XExposeEvent &ee);
110 void keyPressEvent(XKeyEvent &ke); 110 void keyPressEvent(XKeyEvent &ke);
@@ -138,6 +138,7 @@ public:
138#endif 138#endif
139 inline bool isTorn() const { return m_torn; } 139 inline bool isTorn() const { return m_torn; }
140 inline bool isVisible() const { return m_visible; } 140 inline bool isVisible() const { return m_visible; }
141 inline bool isMoving() const { return m_moving; }
141 inline int screenNumber() const { return menu.window.screenNumber(); } 142 inline int screenNumber() const { return menu.window.screenNumber(); }
142 inline Window window() const { return menu.window.window(); } 143 inline Window window() const { return menu.window.window(); }
143 inline FbWindow &fbwindow() { return menu.window; } 144 inline FbWindow &fbwindow() { return menu.window; }