Diffstat (limited to 'noncore/games/sfcave-sdl/menu.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/sfcave-sdl/menu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/sfcave-sdl/menu.h b/noncore/games/sfcave-sdl/menu.h index 6a5ef40..c263bcc 100644 --- a/noncore/games/sfcave-sdl/menu.h +++ b/noncore/games/sfcave-sdl/menu.h | |||
@@ -1,31 +1,31 @@ | |||
1 | #ifndef __MENU_H | 1 | #ifndef __MENU_H |
2 | #define __MENU_H | 2 | #define __MENU_H |
3 | 3 | ||
4 | #include <list> | 4 | #include <list> |
5 | using namespace std; | 5 | using namespace std; |
6 | 6 | ||
7 | #include <SDL.h> | 7 | #include <SDL/SDL.h> |
8 | 8 | ||
9 | class SFCave; | 9 | class SFCave; |
10 | class StarField; | 10 | class StarField; |
11 | class Menu; | 11 | class Menu; |
12 | 12 | ||
13 | class MenuOption | 13 | class MenuOption |
14 | { | 14 | { |
15 | public: | 15 | public: |
16 | MenuOption( string text, int id ); | 16 | MenuOption( string text, int id ); |
17 | ~MenuOption(); | 17 | ~MenuOption(); |
18 | 18 | ||
19 | void highlight( bool val ) { highlighted = val; } | 19 | void highlight( bool val ) { highlighted = val; } |
20 | int draw( SDL_Surface *screen, int y ); | 20 | int draw( SDL_Surface *screen, int y ); |
21 | void setNextMenu( Menu *item, bool down = true ); | 21 | void setNextMenu( Menu *item, bool down = true ); |
22 | Menu *getNextMenu() { return nextMenu; } | 22 | Menu *getNextMenu() { return nextMenu; } |
23 | int getMenuId() { return menuId; } | 23 | int getMenuId() { return menuId; } |
24 | bool isDownMenuTree() { return downMenuTree; } | 24 | bool isDownMenuTree() { return downMenuTree; } |
25 | 25 | ||
26 | private: | 26 | private: |
27 | int menuId; | 27 | int menuId; |
28 | string menuText; | 28 | string menuText; |
29 | bool highlighted; | 29 | bool highlighted; |
30 | bool downMenuTree; | 30 | bool downMenuTree; |
31 | 31 | ||