]> Shamusworld >> Repos - apple2/blobdiff - src/gui/gui.h
Fixed misc. bugs preventing certain games from working, added pause mode.
[apple2] / src / gui / gui.h
index b67783ade503ca48e8c56c7ae932473f23371fea..f5b15fbf89ab54ffb93b5dc10cb07074215926cc 100755 (executable)
@@ -7,29 +7,33 @@
 #ifndef __GUI_H__
 #define __GUI_H__
 
-#include <SDL.h>
-#include <vector>
+#include <SDL2/SDL.h>
+#include <list>
 
 class Menu;                                                                            // Now *this* should work, since we've got pointers...
 class MenuItems;
 class Element;
 
+
 class GUI
 {
        public:
                GUI(SDL_Surface *);
                ~GUI();
                void AddMenuTitle(const char *);
-               void AddMenuItem(const char *, Element * (* a)(void) = NULL, SDLKey k = SDLK_UNKNOWN);
+               void AddMenuItem(const char *, Element * (* a)(void) = NULL, SDL_Scancode k = SDL_SCANCODE_UNKNOWN);
                void CommitItemsToMenu(void);
                void Run(void);
                void Stop(void);
 
        private:
-               Menu * mainMenu;
+//             Menu * mainMenu;
                MenuItems * menuItem;
-               std::vector<Element *> windowList;
+               std::list<Element *> windowList;
                bool exitGUI;
+               bool showMouse;
+               SDL_Rect mouse, oldMouse;
 };
 
 #endif // __GUI_H__
+