diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 12:54:07 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 12:54:07 (GMT) |
commit | 38654bae459716409ad2ee7975671fc2f131c869 (patch) | |
tree | 6f2f3c662f8317f47a422db02d17bff378266817 /src/FbTk/Menu.hh | |
parent | 06837ba8642b8a126de92f60ae05d5f84bba8bfe (diff) | |
download | fluxbox-38654bae459716409ad2ee7975671fc2f131c869.zip fluxbox-38654bae459716409ad2ee7975671fc2f131c869.tar.bz2 |
some cleanup
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r-- | src/FbTk/Menu.hh | 9 |
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; } |