X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fcursorpair.hpp;fp=pv%2Fview%2Fcursorpair.hpp;h=af7f5556c722bc83609e72664a5b610858072d08;hb=beb897c6c32c8e8dd9eb34d91100ab0569fca5f6;hp=47ca694bc07b622fdad6dcdcef17a7222651496d;hpb=0f95449910ba4022c2f14196163e77cff9620987;p=pulseview.git diff --git a/pv/view/cursorpair.hpp b/pv/view/cursorpair.hpp index 47ca694..af7f555 100644 --- a/pv/view/cursorpair.hpp +++ b/pv/view/cursorpair.hpp @@ -76,9 +76,12 @@ public: void paint_label(QPainter &p, const QRect &rect); - void draw_viewport_background(QPainter &p, const QRect &rect); - - void draw_viewport_foreground(QPainter &p, const QRect &rect); + /** + * Paints the background layer of the item with a QPainter + * @param p the QPainter to paint into. + * @param pp the painting parameters object to paint with. + **/ + void paint_back(QPainter &p, const ViewItemPaintParams &pp); void compute_text_size(QPainter &p, unsigned int prefix);