Diffstat (limited to 'noncore/games/sfcave-sdl/menu.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/sfcave-sdl/menu.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/games/sfcave-sdl/menu.h b/noncore/games/sfcave-sdl/menu.h index 08f7528..6a5ef40 100644 --- a/noncore/games/sfcave-sdl/menu.h +++ b/noncore/games/sfcave-sdl/menu.h | |||
@@ -13,7 +13,7 @@ class Menu; | |||
13 | class MenuOption | 13 | class MenuOption |
14 | { | 14 | { |
15 | public: | 15 | public: |
16 | MenuOption( QString 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; } |
@@ -25,7 +25,7 @@ public: | |||
25 | 25 | ||
26 | private: | 26 | private: |
27 | int menuId; | 27 | int menuId; |
28 | QString menuText; | 28 | string menuText; |
29 | bool highlighted; | 29 | bool highlighted; |
30 | bool downMenuTree; | 30 | bool downMenuTree; |
31 | 31 | ||
@@ -40,11 +40,11 @@ public: | |||
40 | 40 | ||
41 | void draw( SDL_Surface *screen ); | 41 | void draw( SDL_Surface *screen ); |
42 | int handleKeys( SDL_KeyboardEvent & ); | 42 | int handleKeys( SDL_KeyboardEvent & ); |
43 | MenuOption *addMenuOption( QString text, int id ); | 43 | MenuOption *addMenuOption( string text, int id ); |
44 | void resetToTopMenu(); | 44 | void resetToTopMenu(); |
45 | void initCurrentMenu(); | 45 | void initCurrentMenu(); |
46 | 46 | ||
47 | void setStatusText( QString text ) { statusText = text; } | 47 | void setStatusText( string text ) { statusText = text; } |
48 | 48 | ||
49 | protected: | 49 | protected: |
50 | 50 | ||
@@ -58,7 +58,7 @@ private: | |||
58 | 58 | ||
59 | StarField *stars; | 59 | StarField *stars; |
60 | 60 | ||
61 | QString statusText; | 61 | string statusText; |
62 | 62 | ||
63 | SFCave *parent; | 63 | SFCave *parent; |
64 | list<MenuOption *> listItems; | 64 | list<MenuOption *> listItems; |