-
Notifications
You must be signed in to change notification settings - Fork 10
/
preferences.h
104 lines (81 loc) · 2.3 KB
/
preferences.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#ifndef PREFERENCES_H
#define PREFERENCES_H
#include <QString>
struct settingsT {
// Runtime-only:
bool readFile = false;
// [Camera]:
bool skipFirstRow = false;
bool skipLastRow = false;
bool use2sComp = false;
bool nativeScale = true;
bool brightSwap16 = false;
bool brightSwap14 = false;
bool setDarkStatusInFrame = false;
// [Interface]:
int frameColorScheme;
bool useDarkTheme;
int plotPenThickness = 1;
// frameView for not-dark-subtracted FPA
// dsf for dark-subtracted FPA
int frameViewCeiling;
int frameViewFloor;
int dsfCeiling;
int dsfFloor;
int fftCeiling;
int fftFloor;
int stddevCeiling;
int stddevFloor;
// New ones:
// Flight screen:
int flightDSFCeiling=2E4;
int flightDSFFloor=0;
int flightCeiling=2E4;
int flightFloor=0;
int monowfDSFCeiling=2E4;
int monowfDSFFloor=0;
int monowfCeiling=2E4;
int monowfFloor=0;
// Profiles:
// note: crosshair and mean share levels
int profileHorizDSFFloor=0;
int profileHorizDSFCeiling=2E4;
int profileHorizFloor=0;
int profileHorizCeiling=2E4;
int profileVertDSFFloor=0;
int profileVertDSFCeiling=2E4;
int profileVertFloor=0;
int profileVertCeiling=2E4;
int profileOverlayFloor=0;
int profileOverlayCeiling=2E4;
int profileOverlayDSFFloor=0;
int profileOverlayDSFCeiling=2E4;
int preferredWindowWidth = 1280;
int preferredWindowHeight = 1024;
QByteArray windowGeometry;
QByteArray windowState;
// [RGB]:
unsigned int bandRed[10];
unsigned int bandBlue[10];
unsigned int bandGreen[10];
QString presetName[10];
double gainRed[10] = {1.0};
double gainBlue[10] = {1.0};
double gainGreen[10] = {1.0};
double gamma[10] = {1.0};
bool gammaEnabled[10] = {false};
// [Flight]:
bool hidePlayback = true;
bool hideFFT = true;
bool hideVerticalOverlay = true;
bool hideVertMeanProfile = false;
bool hideVertCrosshairProfile = false;
bool hideHorizontalMeanProfile = false;
bool hideHorizontalCrosshairProfile = false;
bool hideHistogramView = false;
bool hideStddeviation = false;
bool hideWaterfallTab = false;
int percentDiskWarning = 85;
int percentDiskStop = 99;
};
#endif // PREFERENCES_H