X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fanalogsignal.hpp;h=10cbab531810ad7d376da34d500d5276fd7576f8;hp=c048371eeadd1973149017bd7f21f06abf79a1a7;hb=23e75650eba0491b2636de3cef87f893e38ae6f3;hpb=3eb29afdb641606c2e2e059289d8cc103d027a25 diff --git a/pv/view/analogsignal.hpp b/pv/view/analogsignal.hpp index c048371e..10cbab53 100644 --- a/pv/view/analogsignal.hpp +++ b/pv/view/analogsignal.hpp @@ -29,7 +29,7 @@ namespace pv { namespace data { class Analog; -class AnalogSnapshot; +class AnalogSegment; } namespace view { @@ -66,23 +66,23 @@ public: * @param p the QPainter to paint into. * @param pp the painting parameters object to paint with.. **/ - void paint_back(QPainter &p, const RowItemPaintParams &pp); + void paint_back(QPainter &p, const ViewItemPaintParams &pp); /** * Paints the mid-layer of the signal with a QPainter * @param p the QPainter to paint into. * @param pp the painting parameters object to paint with.. **/ - void paint_mid(QPainter &p, const RowItemPaintParams &pp); + void paint_mid(QPainter &p, const ViewItemPaintParams &pp); private: void paint_trace(QPainter &p, - const std::shared_ptr &snapshot, + const std::shared_ptr &segment, int y, int left, const int64_t start, const int64_t end, const double pixels_offset, const double samples_per_pixel); void paint_envelope(QPainter &p, - const std::shared_ptr &snapshot, + const std::shared_ptr &segment, int y, int left, const int64_t start, const int64_t end, const double pixels_offset, const double samples_per_pixel);