summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-04-30 22:20:53 -0500
committertom <tom@ground-control>2015-04-30 22:20:53 -0500
commite1d75dfdf0727776adf0b3d44995ccf0e03487b3 (patch)
treef26074b8e9c598df33c66b1c57aad1e4dcd51f03 /src/window.h
first commit
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
new file mode 100644
index 0000000..fb1cf67
--- /dev/null
+++ b/src/window.h
@@ -0,0 +1,24 @@
+#ifndef window_h
+#define window_h
+
+#include <SDL2/SDL.h>
+#include <SDL2/SDL_image.h>
+#include <string>
+#include <cmath>
+
+class Window
+{
+ public:
+ Window();
+ void Destroy();
+
+ void Clear();
+ void Render();
+ SDL_Renderer* getRenderer();
+
+ private:
+ SDL_Window* main;
+ SDL_Renderer* renderer;
+};
+
+#endif