diff options
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r-- | src/FbTk/Menu.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh index 519a78b..09bdd8c 100644 --- a/src/FbTk/Menu.hh +++ b/src/FbTk/Menu.hh | |||
@@ -38,10 +38,10 @@ | |||
38 | 38 | ||
39 | namespace FbTk { | 39 | namespace FbTk { |
40 | 40 | ||
41 | class Command<class T>; | 41 | template <typename T> class Command; |
42 | class MenuItem; | 42 | class MenuItem; |
43 | class ImageControl; | 43 | class ImageControl; |
44 | class RefCount<class T>; | 44 | template <typename T> class RefCount; |
45 | 45 | ||
46 | /// Base class for menus | 46 | /// Base class for menus |
47 | class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer, | 47 | class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer, |
@@ -83,6 +83,8 @@ public: | |||
83 | virtual void lower(); | 83 | virtual void lower(); |
84 | /// cycle through menuitems | 84 | /// cycle through menuitems |
85 | void cycleItems(bool reverse); | 85 | void cycleItems(bool reverse); |
86 | /// set and highlight new active index | ||
87 | void setActiveIndex(int new_index); | ||
86 | void enterSubmenu(); | 88 | void enterSubmenu(); |
87 | 89 | ||
88 | void disableTitle(); | 90 | void disableTitle(); |