|
Last change
on this file since 65b413 was 62e23d, checked in by Frederik Heber <heber@…>, 16 years ago |
|
Rebuilt SubMenuItem to use inclusion (Strategy pattern) instead of inheritance. Signed-off-by: Tillmann Crueger <crueger@…>
|
-
Property mode
set to
100644
|
|
File size:
313 bytes
|
| Line | |
|---|
| 1 | #ifndef SUBMENUITEM_H_
|
|---|
| 2 | #define SUBMENUITEM_H_
|
|---|
| 3 |
|
|---|
| 4 | #include "MenuItem.hpp"
|
|---|
| 5 | #include "TextMenu.hpp"
|
|---|
| 6 |
|
|---|
| 7 | class Menu;
|
|---|
| 8 |
|
|---|
| 9 | class SubMenuItem : public MenuItem
|
|---|
| 10 | {
|
|---|
| 11 | public:
|
|---|
| 12 | SubMenuItem(char,const char*,Menu*,Menu*);
|
|---|
| 13 | virtual ~SubMenuItem();
|
|---|
| 14 |
|
|---|
| 15 | virtual void doTrigger();
|
|---|
| 16 | private:
|
|---|
| 17 | Menu* theMenu;
|
|---|
| 18 | };
|
|---|
| 19 |
|
|---|
| 20 | #endif /* SUBMENUITEM_H_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.