X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fdecodetrace.hpp;h=a0f8e8000cbf66e5dc3b2d4b277f75970ce68d0f;hb=ebdfa0942aeed7b314da24a2e572103a50d056bc;hp=71876f5ca418062160aa636067d0f1edce1dcbd6;hpb=3eb29afdb641606c2e2e059289d8cc103d027a25;p=pulseview.git diff --git a/pv/view/decodetrace.hpp b/pv/view/decodetrace.hpp index 71876f5..a0f8e80 100644 --- a/pv/view/decodetrace.hpp +++ b/pv/view/decodetrace.hpp @@ -125,15 +125,14 @@ public: private: void draw_annotation(const pv::data::decode::Annotation &a, QPainter &p, - QColor text_colour, int text_height, const RowItemPaintParams &pp, int y, + int text_height, const RowItemPaintParams &pp, int y, size_t base_colour) const; void draw_instant(const pv::data::decode::Annotation &a, QPainter &p, - QColor fill, QColor outline, QColor text_color, int h, double x, - int y) const; + QColor fill, QColor outline, int h, double x, int y) const; void draw_range(const pv::data::decode::Annotation &a, QPainter &p, - QColor fill, QColor outline, QColor text_color, int h, double start, + QColor fill, QColor outline, int h, double start, double end, int y) const; void draw_error(QPainter &p, const QString &message, @@ -157,8 +156,6 @@ private: const QString get_annotation_at_point(const QPoint &point); - void hide_hover_annotation(); - void create_decoder_form(int index, std::shared_ptr &dec, QWidget *parent, QFormLayout *form);