X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fdecodetrace.hpp;fp=pv%2Fviews%2Ftrace%2Fdecodetrace.hpp;h=83f3a0848dff117730fce20b66d5ba3ac29bc0b3;hp=9877dc11ff63c7ece0c0cdc945ab5b3c31cb6335;hb=462941e2626cef9855e810abdb0458e99ee1c5f1;hpb=ef8d23e798d2b4799c4bcd13a85a1d4b7d1d897b diff --git a/pv/views/trace/decodetrace.hpp b/pv/views/trace/decodetrace.hpp index 9877dc11..83f3a084 100644 --- a/pv/views/trace/decodetrace.hpp +++ b/pv/views/trace/decodetrace.hpp @@ -101,6 +101,7 @@ struct DecodeTraceRow { QColor row_color; map ann_class_color; + map ann_class_dark_color; }; class ContainerWidget : public QWidget @@ -185,7 +186,7 @@ public: virtual void mouse_left_press_event(const QMouseEvent* event); private: - void draw_annotations(vector annotations, QPainter &p, + void draw_annotations(deque& annotations, QPainter &p, const ViewItemPaintParams &pp, int y, const DecodeTraceRow& row); void draw_annotation(const Annotation* a, QPainter &p, @@ -233,7 +234,7 @@ private: QComboBox* create_channel_selector_init_state(QWidget *parent, const data::decode::DecodeChannel *ch); - void export_annotations(vector *annotations) const; + void export_annotations(deque& annotations) const; void initialize_row_widgets(DecodeTraceRow* r, unsigned int row_id); void update_rows();