summaryrefslogtreecommitdiff
path: root/src/resources/TextruesAtlas.h
blob: 9b55b868de6be1ba340ce070e3be735a1554f3e8 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
 *  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,
};

static const Rectangle LEFT_ARROW_ICON_LOCATION = {
    .x = 0,
    .y = 32,
    .width = 32,
    .height = 96,
};

static const Rectangle RIGHT_ARROW_ICON_LOCATION = {
    .x = 32,
    .y = 32,
    .width = 32,
    .height = 96,
};

static const Rectangle FOLDER_LOGO_LOCATION = {
    .x = 64,
    .y = 32,
    .width = 96,
    .height = 96,
};


#endif // TEXTURES_ATLAS_H