diff options
author | stefonzo <stevester.robinson@gmail.com> | 2022-02-06 20:47:58 -0600 |
---|---|---|
committer | stefonzo <stevester.robinson@gmail.com> | 2022-02-06 20:47:58 -0600 |
commit | 4ebd9b8cf553359ebef8c8f8b2128e7b120bb251 (patch) | |
tree | db12692d5f36498e896c74d76323433ca28a69b3 /simple.hpp |
initial commit
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 |