From 349441ec6e72cf201c74c424d3e33e9e5aac6469 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 11 Jul 2006 03:20:41 +0000 Subject: dead function --- src/FbTk/Menu.cc | 4 ++-- src/FbTk/Menu.hh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index b067361..e70fa76 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -747,7 +747,7 @@ void Menu::drawSubmenu(unsigned int index) { } - +#ifdef NOT_USED bool Menu::hasSubmenu(unsigned int index) const { if (index >= menuitems.size()) //boundary check return false; @@ -757,7 +757,7 @@ bool Menu::hasSubmenu(unsigned int index) const { return true; } - +#endif // NOT_USED int Menu::drawItem(FbDrawable &drawable, unsigned int index, bool highlight, bool exclusive_drawable) { diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh index f8a7db8..4b749dc 100644 --- a/src/FbTk/Menu.hh +++ b/src/FbTk/Menu.hh @@ -154,7 +154,9 @@ public: inline unsigned int height() const { return menu.window.height(); } inline size_t numberOfItems() const { return menuitems.size(); } inline int currentSubmenu() const { return m_which_sub; } +#ifdef NOT_USED bool hasSubmenu(unsigned int index) const; +#endif bool isItemSelected(unsigned int index) const; bool isItemEnabled(unsigned int index) const; bool isItemSelectable(unsigned int index) const; -- cgit v0.11.2