From 722a9d1e729aff2eb64f3c064c33d547ea980eb0 Mon Sep 17 00:00:00 2001 From: physick Date: Fri, 31 Jul 2026 18:36:22 +0500 Subject: Buttons GUI start --- src/resources/TextruesAtlas.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/resources/TextruesAtlas.h (limited to 'src/resources/TextruesAtlas.h') diff --git a/src/resources/TextruesAtlas.h b/src/resources/TextruesAtlas.h new file mode 100644 index 0000000..5fdafc3 --- /dev/null +++ b/src/resources/TextruesAtlas.h @@ -0,0 +1,18 @@ +/* + * This header file binds texture type to its location on the atlas. + * They are hardcoded for now until I find a better way to do that. + */ + +#include + +#ifndef TEXTURES_ATLAS_H +#define TEXTURES_ATLAS_H + +static const Rectangle SUBMIT_BUTTON_LOCATION = { + .x = 0, + .y = 0, + .width = 32, + .height = 32, +}; + +#endif // TEXTURES_ATLAS_H -- cgit v1.3