Use enum for scope types

This commit is contained in:
Lawrence Lee
2020-09-07 16:37:40 -07:00
parent b2942fd949
commit bb0c625960
4 changed files with 184 additions and 142 deletions

View File

@@ -306,13 +306,22 @@ public:
double sndLngEditProcDoneSecs; // Minimum processing time seconds till the sound is played
bool sndEnable;
enum ScopeType
{
HISTOGRAM = 0,
HISTOGRAM_RAW = 1,
VECTORSCOPE_HC = 2,
VECTORSCOPE_HS = 3,
WAVEFORM = 4,
NONE = -1
};
int histogramPosition; // 0=disabled, 1=left pane, 2=right pane
bool histogramRed, histogramGreen, histogramBlue;
bool histogramLuma, histogramChroma, histogramRAW;
bool histogramBar;
int histogramHeight;
int histogramDrawMode;
int histogramScopeType;
ScopeType histogramScopeType;
bool FileBrowserToolbarSingleRow;
bool hideTPVScrollbar;
int whiteBalanceSpotSize;