X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fconfig.h;fp=src%2Fgui%2Fconfig.h;h=46222006cb79ff314e02661a45765245b6e921df;hb=331bbf2080126184d74077eb8ddc0fa23f986357;hp=0000000000000000000000000000000000000000;hpb=c970c23a2e5c531cfc66642dfc5ff48a0655f14f;p=apple2 diff --git a/src/gui/config.h b/src/gui/config.h new file mode 100644 index 0000000..4622200 --- /dev/null +++ b/src/gui/config.h @@ -0,0 +1,29 @@ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + +#include +#include + +class Config +{ + public: + Config() {} + ~Config() {} + + // Everything is class methods/variables + static void Init(SDL_Renderer *); + static void ShowWindow(void); + static void HideWindow(void); + static void MouseDown(int32_t, int32_t, uint32_t); + static void MouseUp(int32_t, int32_t, uint32_t); + static void MouseMove(int32_t, int32_t, uint32_t); + static bool KeyDown(uint32_t); + static void DrawElements(SDL_Renderer *); + static void Render(SDL_Renderer *); + + public: + static bool showWindow; +}; + +#endif // __CONFIG_H__ +