summaryrefslogtreecommitdiff
path: root/inc/window.h
diff options
context:
space:
mode:
authorTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-01 13:01:55 -0500
committerTom Barrett <tombarrett@cornell.engr.siu.edu>2015-05-01 13:01:55 -0500
commit87d20801300e90423c17ad425364f77152eb88c3 (patch)
treeaf0d1cf0022b160e87f3e5ae519d685bb2e693f9 /inc/window.h
parent29168e06ffcea8b8f55a9ed2e8acb3529e776456 (diff)
fixed directories and makefile
Diffstat (limited to 'inc/window.h')
-rw-r--r--inc/window.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/inc/window.h b/inc/window.h
new file mode 100644
index 0000000..fb1cf67
--- /dev/null
+++ b/inc/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