|
Last change
on this file since 45ff42 was d20ed5, checked in by Frederik Heber <heber@…>, 16 years ago |
|
Added basic menu and action framework
- Added action base class
- Added class to make actions from methods
- Added Menu base class
- Added TextMenu class to produce text menus
- Added MenuItem base class for menu items
- Added ActionMenuItem for menu items using an action
- Added SubMenuItem class for menu items presenting a submenu
- Added SeperatorItem class for menu seperators without functioninality
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, public TextMenu
|
|---|
| 10 | {
|
|---|
| 11 | public:
|
|---|
| 12 | SubMenuItem(char,const char*,Menu *,ostream&,string);
|
|---|
| 13 | virtual ~SubMenuItem();
|
|---|
| 14 |
|
|---|
| 15 | virtual void trigger();
|
|---|
| 16 | };
|
|---|
| 17 |
|
|---|
| 18 | #endif /* SUBMENUITEM_H_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.