-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathAppSettings.h
44 lines (38 loc) · 797 Bytes
/
AppSettings.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
#pragma once
class AppSettings {
public:
AppSettings();
//Initialize default settings
void defaultSettings();
//Creates a default settings file if it does not exist
void initSettingsFile();
//Loads settings from file
void loadSettings();
//Saves settings to file
void saveSettings();
//_____ Settings _____//
//Amplitude of input waveform
int amplitude;
int avg_mode;
int avg_size;
int window_mode;
int decay;
int delay;
int ldstrp_pos;
//Background Variables
int bkgd_bright;
int bkgd_mode;
int bkgd_step;
//Single Color Mode
int single_color_mode;
//Normalization Offset and Scale
float nrml_ofst;
float nrml_scl;
//Foreground Variables
int frgd_mode;
//Device specific modes
int fireflymode;
int blkwdwmode;
//App settings
bool rememberSettingsOnExit;
};