/* * 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, }; static const Rectangle UNKNOWN_BUTTON_LOCATION = { .x = 32, .y = 0, .width = 32, .height = 32, }; static const Rectangle UNKNOWN_BUTTON_2_LOCATION = { .x = 64, .y = 0, .width = 32, .height = 32, }; static const Rectangle BACK_BUTTON_SMALL_LOCATION = { .x = 96, .y = 0, .width = 32, .height = 32, }; static const Rectangle BACK_BUTTON_WIDE_LOCATION = { .x = 128, .y = 0, .width = 64, .height = 32, }; static const Rectangle PROCEED_BUTTON_WIDE_LOCATION = { .x = 192, .y = 0, .width = 64, .height = 32, }; #endif // TEXTURES_ATLAS_H