Trace view: Make the zero line for analog traces thicker
[pulseview.git] / pv / views / trace / analogsignal.hpp
index 7dc1e0d9de9917135c7e1dbb60747e1fbdfca11f..3b352f932e7a0c0808d18ff7f4cb48bf30d98f17 100644 (file)
@@ -47,9 +47,11 @@ class AnalogSignal : public Signal
        Q_OBJECT
 
 private:
+       static const QPen AxisPen;
        static const QColor SignalColours[4];
        static const QColor GridMajorColor, GridMinorColor;
        static const QColor SamplingPointColour;
+       static const QColor ThresholdColor;
 
        static const int64_t TracePaintBlockSize;
        static const float EnvelopeThreshold;
@@ -131,6 +133,8 @@ private:
                int y, int left, const int64_t start, const int64_t end,
                const double pixels_offset, const double samples_per_pixel);
 
+       void paint_conversion_thresholds(QPainter &p, ViewItemPaintParams &pp);
+
        void paint_logic_mid(QPainter &p, ViewItemPaintParams &pp);
 
        void paint_logic_caps(QPainter &p, QLineF *const lines,