summaryrefslogtreecommitdiff
path: root/ui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/window.h')
-rw-r--r--ui/window.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/window.h b/ui/window.h
index 8bfc9c3..97a0253 100644
--- a/ui/window.h
+++ b/ui/window.h
@@ -3,6 +3,7 @@
#include "chronology.hpp"
#include "collection.hpp"
+#include "gfx/gl/uiShader.h"
#include "inputHandler.h" // IWYU pragma: keep
#include "ptr.hpp"
#include <SDL2/SDL.h>
@@ -14,7 +15,7 @@ class GameState;
class Window {
public:
- Window(int width, int height, const std::string & title);
+ Window(size_t width, size_t height, const std::string & title);
virtual ~Window() = default;
NO_COPY(Window);
@@ -34,6 +35,7 @@ protected:
using SDL_WindowPtr = wrapped_ptrt<SDL_Window, SDL_CreateWindow, SDL_DestroyWindow>;
SDL_WindowPtr m_window;
Collection<InputHandler> inputStack;
+ UIShader uiShader;
};
#endif