summaryrefslogtreecommitdiff
path: root/src/resources/TextruesAtlas.h
blob: 97eb88944357ef293e7e48e0cb37daf4f78e355b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 *  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,
};

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