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.hh9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index 2675502..ee57a23 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.hh
@@ -76,10 +76,7 @@ public:
76 void removeAll(); 76 void removeAll();
77 void setInternalMenu(bool val = true) { m_internal_menu = val; } 77 void setInternalMenu(bool val = true) { m_internal_menu = val; }
78 void setAlignment(Alignment a) { m_alignment = a; } 78 void setAlignment(Alignment a) { m_alignment = a; }
79#ifdef NOT_USED 79
80 void setTorn() { m_torn = true; }
81 void removeParent() { if (m_internal_menu) m_parent = 0; }
82#endif
83 /// raise this window 80 /// raise this window
84 virtual void raise(); 81 virtual void raise();
85 /// lower this window 82 /// lower this window
@@ -122,16 +119,12 @@ public:
122 /// hide menu 119 /// hide menu
123 virtual void hide(bool force = false); 120 virtual void hide(bool force = false);
124 virtual void clearWindow(); 121 virtual void clearWindow();
125#ifdef NOT_USED
126 void setActiveIndex(int index) { m_active_index = index; }
127 /*@}*/ 122 /*@}*/
128 123
129 /** 124 /**
130 @name accessors 125 @name accessors
131 */ 126 */
132 //@{ 127 //@{
133 int activeIndex() const { return m_active_index; }
134#endif
135 bool isTorn() const { return m_torn; } 128 bool isTorn() const { return m_torn; }
136 bool isVisible() const { return m_visible; } 129 bool isVisible() const { return m_visible; }
137 bool isMoving() const { return m_moving; } 130 bool isMoving() const { return m_moving; }