all repos — fluxbox @ 349441ec6e72cf201c74c424d3e33e9e5aac6469

custom fork of the fluxbox windowmanager

dead function
markt markt
commit

349441ec6e72cf201c74c424d3e33e9e5aac6469

parent

bf3aee5f674a7ce2e27ad6294c4c19db9885aa7b

2 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/FbTk/Menu.ccsrc/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.hhsrc/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;