-
Notifications
You must be signed in to change notification settings - Fork 36
/
screenlocations.h
31 lines (25 loc) · 898 Bytes
/
screenlocations.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
#ifndef SCREENLOCATIONS_H
#define SCREENLOCATIONS_H
//erase modes
#define PRESS_MODE 1 //press and hold mode
#define TOGGLE_MODE 2 //toggle mode
//actions:
//buttons do not support press and holds, but support clicks.
#define UNDO 1 //undo button
#define REDO 2 //redo button
#define WIDTH 1404
#define HEIGHT 1872
//portrait locations
#define toolX 63 //define one x coordinate for all panel tools
int panelTouch[2] = {toolX, 1820};
int markerTouch[2] = {toolX, 1683};
int eraserTouch[2] = {toolX, 1450};
int undoTouch[2] = {toolX, 1220};
int redoTouch[2] = {toolX, 1090};
//landscape locations
#define toolY 60 //define one y coordinate for panel tools
int LpanelTouch[2] = { 65, toolY};
int LnotebookTouch[2] = {1355, toolY};
int LnotebookLower[2] = {1250, 360};
int LnotebookUpper[2] = {1130, 360};
#endif // SCREENLOCATIONS_H