X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fanalogsignal.hpp;h=c048371eeadd1973149017bd7f21f06abf79a1a7;hp=5295fe32eed6f6229d62b3abb5a79f632a393787;hb=3eb29afdb641606c2e2e059289d8cc103d027a25;hpb=d64796ed321a9c755e7426be47359aeca1d1173c diff --git a/pv/view/analogsignal.hpp b/pv/view/analogsignal.hpp index 5295fe32..c048371e 100644 --- a/pv/view/analogsignal.hpp +++ b/pv/view/analogsignal.hpp @@ -64,18 +64,16 @@ public: /** * Paints the background layer of the signal with a QPainter * @param p the QPainter to paint into. - * @param left the x-coordinate of the left edge of the signal. - * @param right the x-coordinate of the right edge of the signal. + * @param pp the painting parameters object to paint with.. **/ - void paint_back(QPainter &p, int left, int right); + void paint_back(QPainter &p, const RowItemPaintParams &pp); /** * Paints the mid-layer of the signal with a QPainter * @param p the QPainter to paint into. - * @param left the x-coordinate of the left edge of the signal. - * @param right the x-coordinate of the right edge of the signal. + * @param pp the painting parameters object to paint with.. **/ - void paint_mid(QPainter &p, int left, int right); + void paint_mid(QPainter &p, const RowItemPaintParams &pp); private: void paint_trace(QPainter &p,