diff options
author | markt <markt> | 2006-07-11 03:20:41 (GMT) |
---|---|---|
committer | markt <markt> | 2006-07-11 03:20:41 (GMT) |
commit | 349441ec6e72cf201c74c424d3e33e9e5aac6469 (patch) | |
tree | dbfbced5266f5becd2d629f1f1278ad4a09f1cdb /src/FbTk | |
parent | bf3aee5f674a7ce2e27ad6294c4c19db9885aa7b (diff) | |
download | fluxbox_lack-349441ec6e72cf201c74c424d3e33e9e5aac6469.zip fluxbox_lack-349441ec6e72cf201c74c424d3e33e9e5aac6469.tar.bz2 |
dead function
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Menu.cc | 4 | ||||
-rw-r--r-- | 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) { | |||
747 | 747 | ||
748 | } | 748 | } |
749 | 749 | ||
750 | 750 | #ifdef NOT_USED | |
751 | bool Menu::hasSubmenu(unsigned int index) const { | 751 | bool Menu::hasSubmenu(unsigned int index) const { |
752 | if (index >= menuitems.size()) //boundary check | 752 | if (index >= menuitems.size()) //boundary check |
753 | return false; | 753 | return false; |
@@ -757,7 +757,7 @@ bool Menu::hasSubmenu(unsigned int index) const { | |||
757 | 757 | ||
758 | return true; | 758 | return true; |
759 | } | 759 | } |
760 | 760 | #endif // NOT_USED | |
761 | 761 | ||
762 | int Menu::drawItem(FbDrawable &drawable, unsigned int index, | 762 | int Menu::drawItem(FbDrawable &drawable, unsigned int index, |
763 | bool highlight, bool exclusive_drawable) { | 763 | 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: | |||
154 | inline unsigned int height() const { return menu.window.height(); } | 154 | inline unsigned int height() const { return menu.window.height(); } |
155 | inline size_t numberOfItems() const { return menuitems.size(); } | 155 | inline size_t numberOfItems() const { return menuitems.size(); } |
156 | inline int currentSubmenu() const { return m_which_sub; } | 156 | inline int currentSubmenu() const { return m_which_sub; } |
157 | #ifdef NOT_USED | ||
157 | bool hasSubmenu(unsigned int index) const; | 158 | bool hasSubmenu(unsigned int index) const; |
159 | #endif | ||
158 | bool isItemSelected(unsigned int index) const; | 160 | bool isItemSelected(unsigned int index) const; |
159 | bool isItemEnabled(unsigned int index) const; | 161 | bool isItemEnabled(unsigned int index) const; |
160 | bool isItemSelectable(unsigned int index) const; | 162 | bool isItemSelectable(unsigned int index) const; |