X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fdecode%2Fannotation.cpp;h=0005847655fcfbc77d1451c2cc0f7d232f54e7c4;hb=a007f5ad25bad88cf62443d5471449ce8a6f5f29;hp=3a0a51fda26adc24605d2f55eb3ade98a3fd2e56;hpb=dd6b500953a32e05681a0304ff6e5e4d9d6f8773;p=pulseview.git diff --git a/pv/view/decode/annotation.cpp b/pv/view/decode/annotation.cpp index 3a0a51f..0005847 100644 --- a/pv/view/decode/annotation.cpp +++ b/pv/view/decode/annotation.cpp @@ -67,6 +67,16 @@ Annotation::Annotation(const srd_proto_data *const pdata) : } } +uint64_t Annotation::start_sample() const +{ + return _start_sample; +} + +uint64_t Annotation::end_sample() const +{ + return _end_sample; +} + void Annotation::paint(QPainter &p, QColor text_color, int h, int left, int right, double samples_per_pixel, double pixels_offset, int y)