summaryrefslogtreecommitdiff
path: root/src/resources/TextruesAtlas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/TextruesAtlas.h')
-rw-r--r--src/resources/TextruesAtlas.h18
1 files changed, 18 insertions, 0 deletions
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 <raylib.h>
+
+#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