From 4ebd9b8cf553359ebef8c8f8b2128e7b120bb251 Mon Sep 17 00:00:00 2001 From: stefonzo Date: Sun, 6 Feb 2022 20:47:58 -0600 Subject: initial commit --- simple.hpp | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 simple.hpp (limited to 'simple.hpp') 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 +#include +#include +#include + +/* +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 -- cgit v1.2.1