-
Notifications
You must be signed in to change notification settings - Fork 38
/
prefconstants.h
43 lines (34 loc) · 1.38 KB
/
prefconstants.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
#ifndef PREFCONSTANTS_H
#define PREFCONSTANTS_H
#include "QString"
namespace PrefConstants {
const static unsigned int BG_COLOR = 0x00000000;
const static int BG_ALPHA = 30;
const static int BG_ALPHA_MIN = 2;
const static int ADJUST_INTERVAL = 1000;
const static int ADJUST_INTERVAL_MAX = 3600000;
const static int ADJUST_INTERVAL_STEP = 50;
const static double SPEED_FACTOR = 1.0;
const static double SPEED_FACTOR_MAX = 10.0;
const static double SPEED_FACTOR_MIN = 0.1;
const static double SPEED_FACTOR_STEP = 0.002;
const static bool RESET_SPEED_FACTOR_ON_LAUNCH = true;
const QString ENCODING = "UTF-8";
const static bool USE_DETECTED_ENCODING = true;
const QString FONT = "Noto Sans,22,-1,5,75,0,0,0,0,0,Bold";
const static bool FONT_SHADOW_ENABLE = true;
const static int FONT_SHADOW_BLUR_RADIUS = 8;
const static int FONT_SHADOW_BLUR_RADIUS_MAX = 100;
const static int FONT_SHADOW_BLUR_RADIUS_STEP = 1;
const static unsigned int FONT_SHADOW_COLOR = 0x00000000;
const static int FONT_SHADOW_OFFSET_X = 0;
const static int FONT_SHADOW_OFFSET_Y = 0;
const static int FONT_SHADOW_OFFSET_LIMIT = 100;
const static unsigned int FONT_COLOR = 0xffffffff; // white
const static bool REMEMBER_WINDOW_POS_AND_SIZE = true;
const static int WINDOW_X = 0;
const static int WINDOW_Y = 0;
const static int WINDOW_WIDTH = 700;
const static int WINDOW_HEIGHT = 200;
} // namespace PrefConstants
#endif // PREFCONSTANTS_H