dead function
markt markt
2 files changed,
4 insertions(+),
2 deletions(-)
M
src/FbTk/Menu.cc
→
src/FbTk/Menu.cc
@@ -747,7 +747,7 @@ m_which_sub = -1;
} - +#ifdef NOT_USED bool Menu::hasSubmenu(unsigned int index) const { if (index >= menuitems.size()) //boundary check return false;@@ -757,7 +757,7 @@ return false;
return true; } - +#endif // NOT_USED int Menu::drawItem(FbDrawable &drawable, unsigned int index, bool highlight, bool exclusive_drawable) {
M
src/FbTk/Menu.hh
→
src/FbTk/Menu.hh
@@ -154,7 +154,9 @@ inline unsigned int width() const { return menu.window.width(); }
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;