projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial decode painting
[pulseview.git]
/
pv
/
view
/
decode
/
annotation.h
diff --git
a/pv/view/decode/annotation.h
b/pv/view/decode/annotation.h
index 4e24121c50622923e5b0284cc8bd475a777d9261..7ba7d3676b0b1a5c87e726e63eb6d61119007937 100644
(file)
--- a/
pv/view/decode/annotation.h
+++ b/
pv/view/decode/annotation.h
@@
-36,6
+36,9
@@
class Annotation
public:
Annotation(const srd_proto_data *const pdata);
+ void paint(QPainter &p, int left, int right, double samples_per_pixel,
+ double pixels_offset, int y);
+
private:
uint64_t _start_sample;
uint64_t _end_sample;