-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefines.h
executable file
·51 lines (40 loc) · 1.34 KB
/
defines.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
/*
* File: defines.h
* Author: greg
*
* Created on April 20, 2012, 9:43 AM
*/
#ifndef DEFINES_H
#define DEFINES_H
#define HEIGHT 1024 //800
#define WIDTH 768 //600
#define MENUWIDTH 102
#define PDF_RESOLUTION 90 //need to be adjusted
#define N_BUTTONS 9
#define SCREEN_UPDATE_TIMER 20
#define RESET_TIMER 300
#define REVIEW_TIMER 300
#define UPDATE_PATHS_VECTOR 2000
#define REVIEW_BUFFER 20
#define ERASEDELTA 5 //Used whenever erasing a path
#define CROP 0xFF
//Error messages
#define CANNOT_OPEN_PORT -2
#define CANNOT_OPEN_DOC -3
#define CANNOT_ACCESS_PDF_PAGE -4
#define PDF_TO_IMAGE_FAILED -5
#define PATH "pdf/exam.pdf"
#define VERSION "Exam v0.8.2.4"
#define ANALYZE_BUFFER 5
#define MINIMUM_RADIUS 5 //To be0 adjusted
#define MAXIMUM_RADIUS 100//30 //To be adjusted but looks fine
#define MIN_R 20
#define MINIMUM_PATH 60 //45
#define N_ROW 7
#define N_COLUMN 10
#define IMAGE_PATH "./resources/images/"
#define NETWORK 1
#define GL_FUCKUP 0
#define SHIFTY_SCREEN 0
#define NEW_DRAWING 0
#endif /* DEFINES_H */