-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenLayout.h
144 lines (116 loc) · 3.17 KB
/
screenLayout.h
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#pragma once
#define screenLayout_h
// Outer border & screen size.
#define FRAME1_X 0
#define FRAME1_Y 0
#define FRAME1_W 320
#define FRAME1_H 240
// Inner border & screen size.
#define FRAME2_X 8
#define FRAME2_Y 8
#define FRAME2_W 247
#define FRAME2_H 224
// Weather icon position and size.
#define WEATHERICON_X 10
#define WEATHERICON_Y 40
#define WEATHERICON_W 128
#define WEATHERICON_H 128
// Temperature icon position and size.
#define TEMPERATUREICONC_X 150
#define TEMPERATUREICONC_Y 30
#define TEMPERATUREICONC_W 32
#define TEMPERATUREICONC_H 32
// Temperature value position.
#define TEMPERATUREVALUE_X 190
#define TEMPERATUREVALUE_Y 50
// Feels like icon position and size.
#define FEELSLIKETEMPERATUREICON_X 245
#define FEELSLIKETEMPERATUREICON_Y 30
#define FEELSLIKETEMPERATUREICON_W 32
#define FEELSLIKETEMPERATUREICON_H 32
// Feels like temperature value position.
#define FEELSLIKETEMPERATUREVALUE_X 282
#define FEELSLIKETEMPERATUREVALUE_Y 50
// Windspeed icon position and size.
#define WINDSPEEDICON_X 150
#define WINDSPEEDICON_Y 80
#define WINDSPEEDICON_W 32
#define WINDSPEEDICON_H 32
// Windspeed value position.
#define WINDSPEEDVALUE_X 190
#define WINDSPEEDVALUE_Y 100
// Wind direction icon position and size.
#define WINDDIRECTIONICON_X 245
#define WINDDIRECTIONICON_Y 80
#define WINDDIRECTIONICON_W 32
#define WINDDIRECTIONICON_H 32
// Wind direction value position.
#define WINDDIRECTION_X 282
#define WINDDIRECTION_Y 100
// Pressure icon position and size.
#define PRESSUREICON_X 150 //155
#define PRESSUREICON_Y 180 //130
#define PRESSUREICON_W 32
#define PRESSUREICON_H 32
// Pressure value position.
#define PRESSUREVALUE_X 190 //195
#define PRESSUREVALUE_Y 200 //150
// Rain and snow level icon position and size.
#define RAINSNOWICON_X 150 //245
#define RAINSNOWICON_Y 130 //130
#define RAINSNOWICON_W 32
#define RAINSNOWICON_H 32
// Rain and snow level value position.
#define RAINSNOWVALUE_X 190 //282
#define RAINSNOWVALUE_Y 150 //150
// UV icon position and size.
#define UVICON_X 245 //155
#define UVICON_Y 130 //180
#define UVICON_W 32
#define UVICON_H 32
// UV value position.
#define UVVALUE_X 285 //195
#define UVVALUE_Y 150 //200
// Humidity icon position and size.
#define HUMIDITYICON_X 245
#define HUMIDITYICON_Y 180
#define HUMIDITYICON_W 32
#define HUMIDITYICON_H 32
// Humidity value position.
#define HUMIDITYVALUE_X 282
#define HUMIDITYVALUE_Y 200
// Sunrise icon position and size.
#define SUNRISE_X 10
#define SUNRISE_Y 180
#define SUNRISE_W 32
#define SUNRISE_H 32
// Sunset icon position and size.
#define SUNSET_X 60
#define SUNSET_Y 180
#define SUNSET_W 32
#define SUNSET_H 32
// Moon phase icon position and size.
#define MOONPHASE_X 110
#define MOONPHASE_Y 184
#define MOONPHASE_W 26
#define MOONPHASE_H 26
// WiFi icon position and size.
#define WIFI_ICON_X 248
#define WIFI_ICON_Y 20
#define WIFI_ICON_W 32
#define WIFI_ICON_H 32
// Http error dot.
#define SENSOR_ICON_X 310
#define SENSOR_ICON_Y 230
#define SENSOR_ICON_R 6
// Bar charts position and size.
#define graphY 190
#define graphX1 35
#define graphX2 61
#define graphX3 87
#define graphX4 113
#define graphX5 139
#define graphX6 165
#define graphX7 191
#define graphW 12
#define graphH 140