]> sigrok.org Git - pulseview.git/blobdiff - pv/globalsettings.hpp
Convert threshold display setting to a multi-value choice
[pulseview.git] / pv / globalsettings.hpp
index 201c5e20a9fc23f95b72f0d2f0cf2b546f9cee0c..9cf2978b68369751c76c9e53dc9ec0d6586ded04 100644 (file)
@@ -46,11 +46,17 @@ public:
        static const QString Key_View_StickyScrolling;
        static const QString Key_View_ShowSamplingPoints;
        static const QString Key_View_ShowAnalogMinorGrid;
-       static const QString Key_View_ShowConversionThresholds;
+       static const QString Key_View_ConversionThresholdDispMode;
        static const QString Key_View_DefaultDivHeight;
        static const QString Key_View_DefaultLogicHeight;
        static const QString Key_Dec_InitialStateConfigurable;
 
+       enum ConvThrDispMode {
+               ConvThrDispMode_None = 0,
+               ConvThrDispMode_Background,
+               ConvThrDispMode_Dots
+       };
+
 public:
        GlobalSettings();