projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecodeTrace: Removed incorrect use of get_text_colour
[pulseview.git]
/
pv
/
view
/
decodetrace.hpp
diff --git
a/pv/view/decodetrace.hpp
b/pv/view/decodetrace.hpp
index 71876f5ca418062160aa636067d0f1edce1dcbd6..c7013b514f6d232eb9a7636799b36f6141b7c3ae 100644
(file)
--- 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,
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,
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,
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,
double end, int y) const;
void draw_error(QPainter &p, const QString &message,