diff options
author | tom <tom@ground-control> | 2015-05-02 22:45:16 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2015-05-02 22:45:16 -0500 |
commit | baa7977e0e325e92c700c47b4adea9082749f1d7 (patch) | |
tree | 1bad3b1bbe5eab4ffe8c6a705c2609de4cfe6401 /inc/window.hpp | |
parent | 5d97a0154ed1c5584c50884e086dcaa3536e5672 (diff) |
renamed so atom detects it is a cpp file :x
Diffstat (limited to 'inc/window.hpp')
-rw-r--r-- | inc/window.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/inc/window.hpp b/inc/window.hpp new file mode 100644 index 0000000..d2dd801 --- /dev/null +++ b/inc/window.hpp @@ -0,0 +1,27 @@ +#ifndef window_h +#define window_h + +#include <SDL2/SDL.h> +#include <SDL2/SDL_image.h> +#include <string> +#include <cmath> +#include <stdlib.h> +#include <time.h> +#include <iostream> + +class Window +{ + public: + Window(); + void Destroy(); + + void Clear(); + void Render(); + SDL_Renderer* getRenderer(); + + private: + SDL_Window* main; + SDL_Renderer* renderer; +}; + +#endif |