]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.hpp
DecodeTrace: Try to keep annotation labels within the view
[pulseview.git] / pv / view / view.hpp
index 66d31a225bf7b28806da3b28e87465ce5349daa7..635273dae74ad6e1131a592da699beba6a8e76e7 100644 (file)
@@ -171,6 +171,12 @@ public:
         */
        void enable_sticky_scrolling(bool state);
 
+       /**
+        * Enables or disables coloured trace backgrounds. If they're not
+        * coloured then they will use alternating colors.
+        */
+       void enable_coloured_bg(bool state);
+
        /**
         * Returns true if cursors are displayed. false otherwise.
         */