X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fviewitem.cpp;h=b3498ac159434ea6d36c2404bcedcca025e52d52;hb=dbfae3f1b55b984c7ee7e619a8da53b77db98c90;hp=0d83ee846f01547f609c91fac8a8c85f4b566208;hpb=26e3af6b15f083239981729b2c3c109ed1d87ba8;p=pulseview.git diff --git a/pv/view/viewitem.cpp b/pv/view/viewitem.cpp index 0d83ee84..b3498ac1 100644 --- a/pv/view/viewitem.cpp +++ b/pv/view/viewitem.cpp @@ -85,6 +85,24 @@ QPen ViewItem::highlight_pen() Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin); } +void ViewItem::paint_back(QPainter &p, const ViewItemPaintParams &pp) +{ + (void)p; + (void)pp; +} + +void ViewItem::paint_mid(QPainter &p, const ViewItemPaintParams &pp) +{ + (void)p; + (void)pp; +} + +void ViewItem::paint_fore(QPainter &p, const ViewItemPaintParams &pp) +{ + (void)p; + (void)pp; +} + QColor ViewItem::select_text_colour(QColor background) { return (background.lightness() > 64) ? Qt::black : Qt::white;