diff options
Diffstat (limited to 'mwe/events/include/window.h')
-rw-r--r-- | mwe/events/include/window.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mwe/events/include/window.h b/mwe/events/include/window.h index 3c34d4c..bd75c4a 100644 --- a/mwe/events/include/window.h +++ b/mwe/events/include/window.h @@ -1,27 +1,27 @@ #pragma once -#include <SDL2/SDL.h> -#include <vector> #include "uiObject.h" #include "uiRenderer.h" +#include <SDL2/SDL.h> +#include <vector> class WindowManager { public: - WindowManager(); - virtual ~WindowManager(); + WindowManager(); + virtual ~WindowManager(); - bool initWindow(); - void destroyWindow(); - SDL_Renderer* getRenderer(); + bool initWindow(); + void destroyWindow(); + SDL_Renderer * getRenderer(); - void addUIObject(UIObject* uiObject); - void renderUIObjects(); + void addUIObject(UIObject * uiObject); + void renderUIObjects(); private: - const int SCREEN_WIDTH = 800; - const int SCREEN_HEIGHT = 600; - SDL_Window* window = nullptr; - SDL_Renderer* renderer = nullptr; + const int SCREEN_WIDTH = 800; + const int SCREEN_HEIGHT = 600; + SDL_Window * window = nullptr; + SDL_Renderer * renderer = nullptr; - UIRenderer* uiRenderer; - std::vector<UIObject*> uiObjects; + UIRenderer * uiRenderer; + std::vector<UIObject *> uiObjects; }; |