-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.h
48 lines (37 loc) · 1.09 KB
/
const.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
//window val
const int WINDOW_WIDTH = 510;
const int WINDOW_HEIGHT = 450;
const int WINDOW_X_OFFSET = 200;
const int WINDOW_Y_OFFSET = 200;
//combobox_mode
const byte CB_MODE_ID = 1;
const int CB_MODE_WIDTH = 400;
const int CB_MODE_HEIGHT = 150;
//names of combobox_modes
#define FIRST_MODE "Moving the figure using the keyboard and mouse wheel"
#define SECOND_MODE "Moving the figure using mouse"
#define THIRD_MODE "Automatic mode"
//values of combobox_modes
const byte FIRST_MODE_VAL = 0;
const byte SECOND_MODE_VAL = 1;
const byte THIRD_MODE_VAL = 2;
//combobox_obj
const byte CB_OBJ_ID = 2;
const int CB_OBJ_WIDTH = 100;
const int CB_OBJ_HEIGHT = 150;
//names of combobox_obj
#define FIRST_OBJ "Rectangle"
#define SECOND_OBJ "Image"
//values of combobox_modes
const byte FIRST_OBJ_VAL = 0;
const byte SECOND_OBJ_VAL = 1;
//Rect val
const int RECT_WIDTH = 150;
const int RECT_HEIGHT = 153;
const double RECT_VX = 5.0;
const double RECT_VY = 5.0;
const int RECT_START_X = 100;
const int RECT_START_Y = 100;
const double RECT_DELTA_SPEED = 1.5;
//image path
#define PATH_IMAGE "../assets/images/image.bmp"