diff options
Diffstat (limited to 'simple.hpp')
-rw-r--r-- | simple.hpp | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/simple.hpp b/simple.hpp new file mode 100644 index 0000000..8c25770 --- /dev/null +++ b/simple.hpp @@ -0,0 +1,41 @@ +#ifndef SIMPLE_h +#define SIMPLE_h +#include <stdio.h> +#include <SDL2/SDL.h> +#include <SDL2/SDL_ttf.h> +#include <SDL2/SDL_image.h> + +/* +TODO: + -image loading + -texture quads + -ttf + -buttons/text input? + -timing + -events? +*/ + +namespace simple { + class simple { + private: + SDL_Renderer* mainRenderer; + SDL_Window* mainWindow; + public: + simple(); + ~simple(); + void startSDL(); + void closeSDL(); + }; + //ttfs will be included in the texture class + class texture { + private: + int textureWidth; + int textureHeight; + int fontWidth; + int fontHeight; + public: + texture(); + ~texture(); + }; +} +#endif |