home *** CD-ROM | disk | FTP | other *** search
- #ifndef __ErrorMenu_h__
- #define __ErrorMenu_h__
-
- #include "Menu.h"
- #include "Texture.h"
-
- class ErrorMenu:public Menu{
- public:
- ErrorMenu();
- ~ErrorMenu();
-
- // void draw();
- bool open();
- void mainLoop();
-
- void handleKeyboardEvent(SDL_KeyboardEvent* event);
- //void handleMouseButtonEvent(SDL_MouseButtonEvent* event);
-
- void setErrorString(char* newErrorString);
-
- protected:
- char* errorString;
- // Texture* backgroundTexture;
- void drawBackground();
- void drawErrorString();
- // void printShadowedString(int x,int y,float scale, int alignment, char* str);
- };
-
-
-
- #endif /* __ErrorMenu_h__ */
-