]> sigrok.org Git - pulseview.git/blobdiff - pv/view/tracetreeitemowner.hpp
Use alternating trace background colors when not using their own
[pulseview.git] / pv / view / tracetreeitemowner.hpp
index cbb74427049af1db5b87eaeeb5d6ae0a31075a73..3e7927a8794a13659764b8801856c90c78ad06e3 100644 (file)
@@ -97,6 +97,14 @@ public:
         */
        std::pair<int, int> v_extents() const;
 
+       /*
+        * Reassigns background color states to all its children, thereby
+        * providing them with alternating backgrounds.
+        * @param next_brightness_state First brightness state to use.
+        * @return The next brightness state to use.
+        */
+       bool reassign_bgcolour_states(bool next_bgcolour_state);
+
 public:
        virtual void row_item_appearance_changed(bool label, bool content) = 0;