summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Menu.hh10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index 2d2d62d..625a7d7 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.35 2004/06/13 10:58:34 fluxgen Exp $ 25// $Id: Menu.hh,v 1.36 2004/06/14 12:23:57 fluxgen Exp $
26 26
27#ifndef FBTK_MENU_HH 27#ifndef FBTK_MENU_HH
28#define FBTK_MENU_HH 28#define FBTK_MENU_HH
@@ -159,7 +159,13 @@ public:
159 159
160protected: 160protected:
161 161
162 inline void setTitleVisibility(bool b) { title_vis = b; m_need_update = true; } 162 inline void setTitleVisibility(bool b) {
163 title_vis = b; m_need_update = true;
164 if (!b)
165 titleWindow().lower();
166 else
167 titleWindow().raise();
168 }
163 169
164 virtual void itemSelected(int button, unsigned int index) { } 170 virtual void itemSelected(int button, unsigned int index) { }
165 virtual int drawItem(unsigned int index, bool highlight = false, 171 virtual int drawItem(unsigned int index, bool highlight = false,