X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fdecodetrace.hpp;h=80c9cf750b341f155fe1a6b077fe60dca6339b5a;hb=2823de2c821f01b9b6d8df7fc972e290518075ae;hp=4d6d4f8e883cdc897a0c812bea406d0dfbdb5c56;hpb=ae30ff422a495a6b1a4ad2893566628863ea222b;p=pulseview.git diff --git a/pv/views/trace/decodetrace.hpp b/pv/views/trace/decodetrace.hpp index 4d6d4f8e..80c9cf75 100644 --- a/pv/views/trace/decodetrace.hpp +++ b/pv/views/trace/decodetrace.hpp @@ -17,8 +17,8 @@ * along with this program; if not, see . */ -#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_DECODETRACE_HPP -#define PULSEVIEW_PV_VIEWS_TRACEVIEW_DECODETRACE_HPP +#ifndef PULSEVIEW_PV_VIEWS_TRACE_DECODETRACE_HPP +#define PULSEVIEW_PV_VIEWS_TRACE_DECODETRACE_HPP #include #include "trace.hpp" @@ -120,7 +120,6 @@ class DecodeTrace : public Trace Q_OBJECT private: - static const QColor ErrorBgColor; static const QColor NoDecodeColor; static const QColor ExpandMarkerWarnColor; static const QColor ExpandMarkerHiddenColor; @@ -198,7 +197,7 @@ private: void draw_annotation(const Annotation* a, QPainter &p, const ViewItemPaintParams &pp, int y, const DecodeTraceRow& row) const; - void draw_annotation_block(qreal start, qreal end, Annotation::Class ann_class, + void draw_annotation_block(qreal start, qreal end, uint32_t ann_class, bool use_ann_format, QPainter &p, int y, const DecodeTraceRow& row) const; void draw_instant(const Annotation* a, QPainter &p, qreal x, int y) const; @@ -335,4 +334,4 @@ private: } // namespace views } // namespace pv -#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_DECODETRACE_HPP +#endif // PULSEVIEW_PV_VIEWS_TRACE_DECODETRACE_HPP