RowItemPaintParams: Renamed to ViewItemPaintParams
[pulseview.git] / pv / view / rowitem.cpp
index 293460233a8fd96ff81888664d447cd8feb4418f..185e03ab36d83d951a041b1698f814eb7094d6d3 100644 (file)
@@ -20,9 +20,9 @@
 
 #include <assert.h>
 
-#include "view.h"
+#include "view.hpp"
 
-#include "rowitem.h"
+#include "rowitem.hpp"
 
 namespace pv {
 namespace view {
@@ -120,25 +120,22 @@ QPoint RowItem::point() const
        return QPoint(0, visual_v_offset());
 }
 
-void RowItem::paint_back(QPainter &p, int left, int right)
+void RowItem::paint_back(QPainter &p, const ViewItemPaintParams &pp)
 {
        (void)p;
-       (void)left;
-       (void)right;
+       (void)pp;
 }
 
-void RowItem::paint_mid(QPainter &p, int left, int right)
+void RowItem::paint_mid(QPainter &p, const ViewItemPaintParams &pp)
 {
        (void)p;
-       (void)left;
-       (void)right;
+       (void)pp;
 }
 
-void RowItem::paint_fore(QPainter &p, int left, int right)
+void RowItem::paint_fore(QPainter &p, const ViewItemPaintParams &pp)
 {
        (void)p;
-       (void)left;
-       (void)right;
+       (void)pp;
 }
 
 void RowItem::hover_point_changed()