-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenLayout.h
More file actions
63 lines (51 loc) · 1.61 KB
/
screenLayout.h
File metadata and controls
63 lines (51 loc) · 1.61 KB
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
#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
// Button 4 switch position and size.
#define BUTTON4_X 262
#define BUTTON4_Y 182
#define BUTTON4_W 50
#define BUTTON4_H 50
// Button 3 switch position and size.
#define BUTTON3_X 262
#define BUTTON3_Y 124
#define BUTTON3_W 50
#define BUTTON3_H 50
// Button 2 switch position and size.
#define BUTTON2_X 262
#define BUTTON2_Y 66
#define BUTTON2_W 50
#define BUTTON2_H 50
// Button 1 switch position and size.
#define BUTTON1_X 262
#define BUTTON1_Y 8
#define BUTTON1_W 50
#define BUTTON1_H 50
// Sensor icon position and size.
#define SENSOR_ICON_X 175
#define SENSOR_ICON_Y 25
#define SENSOR_ICON_R 6
// Settings Pulse position and size.
#define PULSE_ICON_X 162
#define PULSE_ICON_Y 13
#define PULSE_ICON_W 24
#define PULSE_ICON_H 24
// Settings SD Card position and size.
#define SDCARD_ICON_X 195
#define SDCARD_ICON_Y 13
#define SDCARD_ICON_W 24
#define SDCARD_ICON_H 24
// WiFi icon position and size.
#define WIFI_ICON_X 225
#define WIFI_ICON_Y 13
#define WIFI_ICON_W 24
#define WIFI_ICON_H 24