]> sigrok.org Git - pulseview.git/blobdiff - pv/view/tracetreeitem.hpp
Minor whitespace and Doxygen fixes.
[pulseview.git] / pv / view / tracetreeitem.hpp
index 8a72f6ebd59217e0ec7522cc514205b09d69ea64..ed0e7e8d9cad521f915803d29ceaadd8184a2a14 100644 (file)
@@ -51,6 +51,11 @@ public:
         */
        TraceTreeItemOwner* owner() const;
 
+       /**
+        * Selects or deselects the signal.
+        */
+       void select(bool select = true);
+
        /**
         * Gets the vertical layout offset of this signal.
         */
@@ -105,6 +110,14 @@ public:
         */
        QPoint point(const QRect &rect) const;
 
+       /**
+        * Sets the new background colour state: false = dark, true = bright.
+        * This is to allow for alternating backgrounds but has no effect
+        * when coloured background colours are used.
+        * @param state New bg color state to use.
+        */
+       void set_bgcolour_state(bool state);
+
        /**
         * Computes the vertical extents of the contents of this row item.
         * @return A pair containing the minimum and maximum y-values.
@@ -117,6 +130,8 @@ protected:
        int layout_v_offset_;
        int visual_v_offset_;
 
+       bool bgcolour_state_;
+
 private:
        QPropertyAnimation v_offset_animation_;
 };