X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fanalogsignal.hpp;fp=pv%2Fviews%2Ftrace%2Fanalogsignal.hpp;h=37b0c1a3ccdae7db9d89db07f2871abf8056473f;hp=7dc1e0d9de9917135c7e1dbb60747e1fbdfca11f;hb=4433246b9ef4247ff469ae7307606a6d872c573f;hpb=b9cdbe03be1155f56cf06aa921d72bc2b6dc527d diff --git a/pv/views/trace/analogsignal.hpp b/pv/views/trace/analogsignal.hpp index 7dc1e0d..37b0c1a 100644 --- a/pv/views/trace/analogsignal.hpp +++ b/pv/views/trace/analogsignal.hpp @@ -50,6 +50,7 @@ private: 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 +132,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,