]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/annotation.cpp
Split annotation data set into rows, and improved painting.
[pulseview.git] / pv / data / decode / annotation.cpp
index 573fefaffa8c0829bc1440e362203d15dc5065b5..b0517ae69ef9c6a13eefc4bad41efeea08b7d9a0 100644 (file)
@@ -40,7 +40,6 @@ Annotation::Annotation(const srd_proto_data *const pdata) :
        assert(pda);
 
        _format = pda->ann_format;
-       _row = 0;
 
        const char *const *annotations = (char**)pda->ann_text;
        while(*annotations) {
@@ -64,21 +63,11 @@ int Annotation::format() const
        return _format;
 }
 
-int Annotation::row() const
-{
-       return _row;
-}
-
 const std::vector<QString>& Annotation::annotations() const
 {
        return _annotations;
 }
 
-void Annotation::set_row(int row)
-{
-       _row = row;
-}
-
 } // namespace decode
 } // namespace data
 } // namespace pv