diff options
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r-- | src/FbTk/Menu.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh index 34df40a..06af08d 100644 --- a/src/FbTk/Menu.hh +++ b/src/FbTk/Menu.hh | |||
@@ -49,7 +49,8 @@ class MenuItem; | |||
49 | class ImageControl; | 49 | class ImageControl; |
50 | 50 | ||
51 | /// Base class for menus | 51 | /// Base class for menus |
52 | class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer, protected FbTk::Observer { | 52 | class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer, |
53 | public FbTk::Observer { | ||
53 | public: | 54 | public: |
54 | enum Alignment{ ALIGNDONTCARE = 1, ALIGNTOP, ALIGNBOTTOM }; | 55 | enum Alignment{ ALIGNDONTCARE = 1, ALIGNTOP, ALIGNBOTTOM }; |
55 | enum { RIGHT = 1, LEFT }; | 56 | enum { RIGHT = 1, LEFT }; |
@@ -91,7 +92,6 @@ public: | |||
91 | /// cycle through menuitems | 92 | /// cycle through menuitems |
92 | void cycleItems(bool reverse); | 93 | void cycleItems(bool reverse); |
93 | void enterSubmenu(); | 94 | void enterSubmenu(); |
94 | void enterParent(); | ||
95 | 95 | ||
96 | void disableTitle(); | 96 | void disableTitle(); |
97 | void enableTitle(); | 97 | void enableTitle(); |
@@ -193,7 +193,7 @@ protected: | |||
193 | 193 | ||
194 | virtual void internal_hide(bool first = true); | 194 | virtual void internal_hide(bool first = true); |
195 | 195 | ||
196 | void update(FbTk::Subject *); | 196 | virtual void update(FbTk::Subject *); |
197 | 197 | ||
198 | private: | 198 | private: |
199 | 199 | ||