-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.h
84 lines (72 loc) · 2.38 KB
/
settings.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
/*
* Copyright (c) 2019 Tibor Bodnar <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 2 as published
* by the Free Software Foundation, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lessert General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#ifndef SETTINGS_H
#define SETTINGS_H
// Scrolling
#define SCROLL_WEEKS 3
// String len in a field
#define MAX_STR_LEN 256
// Path of directory
#define MAX_PATH_LEN 256
// Time Table strings
#define HOLIDAY "#holiday\n"
#define VACATION "vacation"
#define NOT_WORKING "not_working"
#define CONFERENCE "conference"
#define HOME_OFFICE "home_office"
#define SICK_LEAVE "sick_leave"
#define LIFE_LONG_LEARNING "life_long_learning"
#define TRAINING "training"
#define NON_PAID_HOLIDAY "non_paid_holiday"
#define HALF_HOLIDAY_AM "half_holiday_am"
#define HALF_HOLIDAY_PM "half_holiday_pm"
#define BUSINESS_TRIP "business_trip"
#define STANDBY "standby"
#define OVERTIME "overtime"
// colors
#define C_HEADER_BACKGROUND 1
#define C_HEADER_TITLE 2
#define C_CELL_BORDER 3
#define C_CELL_WEEKDAY 4
#define C_CELL_WEEKDAY_LABEL 5
#define C_CELL_WEEKEND 6
#define C_CELL_WEEKEND_LABEL 7
#define C_CELL_SELECTED 8
#define C_CELL_SELECTED_LABEL 9
#define C_CELL_TODAY 10
#define C_CELL_TODAY_LABEL 11
#define C_HOLIDAY 12
#define C_RANGE 13
#define C_RANGE_INV 14
#define C_MENUBAR 30
#define C_MENUBAR_LABEL 31
#define C_POPUP 35
#define C_VACATION 40
#define C_NOT_WORKING 41
#define C_CONFERENCE 42
#define C_HOME_OFFICE 43
#define C_SICK_LEAVE 44
#define C_LIFE_LONG_LEARNING 45
#define C_TRAINING 46
#define C_NON_PAID_HOLIDAY 47
#define C_HALF_HOLIDAY_AM 48
#define C_HALF_HOLIDAY_PM 49
#define C_BUSINESS_TRIP 50
#define C_STANDBY 51
#define C_DEFAULT 60
#endif