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.hh12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index a20d400..1360528 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.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: Menu.hh,v 1.6 2003/02/02 16:32:41 rathnor Exp $ 25// $Id: Menu.hh,v 1.7 2003/02/03 13:40:52 fluxgen Exp $
26 26
27#ifndef FBTK_MENU_HH 27#ifndef FBTK_MENU_HH
28#define FBTK_MENU_HH 28#define FBTK_MENU_HH
@@ -78,13 +78,9 @@ public:
78 inline void setTorn() { torn = true; } 78 inline void setTorn() { torn = true; }
79 inline void removeParent() { if (internal_menu) m_parent = 0; } 79 inline void removeParent() { if (internal_menu) m_parent = 0; }
80 /// raise this window 80 /// raise this window
81 void raise(); 81 virtual void raise();
82 /// lower this window 82 /// lower this window
83 void lower(); 83 virtual void lower();
84
85 XLayerItem *getLayerItem() const { return menu.window.getLayerItem(); }
86 void setLayerItem(XLayerItem *item) { menu.window.setLayerItem(item); }
87
88 84
89 void disableTitle(); 85 void disableTitle();
90 void enableTitle(); 86 void enableTitle();
@@ -123,7 +119,7 @@ public:
123 bool isTorn() const { return torn; } 119 bool isTorn() const { return torn; }
124 bool isVisible() const { return visible; } 120 bool isVisible() const { return visible; }
125 int screenNumber() const { return m_screen_num; } 121 int screenNumber() const { return m_screen_num; }
126 Window windowID() const { return menu.window.window(); } 122 Window window() const { return menu.window.window(); }
127 const std::string &label() const { return menu.label; } 123 const std::string &label() const { return menu.label; }
128 int x() const { return menu.x; } 124 int x() const { return menu.x; }
129 int y() const { return menu.y; } 125 int y() const { return menu.y; }