]> sigrok.org Git - pulseview.git/blobdiff - pv/view/trace.hpp
Trace: Removed coloured_bg state
[pulseview.git] / pv / view / trace.hpp
index ac4540c91c1c3528aed7d5fa25a93cde30f8acf2..882c2d7089d7ea90f59c752a24e8b75a7d919705 100644 (file)
@@ -26,7 +26,7 @@
 #include <QRect>
 #include <QString>
 
-#include <stdint.h>
+#include <cstdint>
 
 #include "tracetreeitem.hpp"
 
@@ -70,11 +70,6 @@ public:
         */
        virtual void set_colour(QColor colour);
 
-       /**
-        * Enables or disables the coloured background for this trace.
-        */
-       void set_coloured_bg(bool state);
-
        /**
         * Paints the signal label.
         * @param p the QPainter to paint into.
@@ -130,7 +125,7 @@ private Q_SLOTS:
 
 protected:
        shared_ptr<data::SignalBase> base_;
-       bool coloured_bg_, coloured_bg_state_;
+       bool coloured_bg_state_;
 
 private:
        pv::widgets::Popup *popup_;