X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fdecode%2Fannotation.h;h=d0282114a21972c3eb53de8b253a55c5c5fd2556;hp=078c12a19190d47ed7baeedb4c28fe79b84e7b25;hb=a007f5ad25bad88cf62443d5471449ce8a6f5f29;hpb=dd6b500953a32e05681a0304ff6e5e4d9d6f8773 diff --git a/pv/view/decode/annotation.h b/pv/view/decode/annotation.h index 078c12a1..d0282114 100644 --- a/pv/view/decode/annotation.h +++ b/pv/view/decode/annotation.h @@ -42,6 +42,9 @@ private: public: Annotation(const srd_proto_data *const pdata); + uint64_t start_sample() const; + uint64_t end_sample() const; + void paint(QPainter &p, QColor text_colour, int text_height, int left, int right, double samples_per_pixel, double pixels_offset, int y);