X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Ftracetreeitemowner.hpp;fp=pv%2Fview%2Ftracetreeitemowner.hpp;h=3e7927a8794a13659764b8801856c90c78ad06e3;hb=ac0708fb7e6b4010d90a569386810d3d2edc7eb9;hp=cbb74427049af1db5b87eaeeb5d6ae0a31075a73;hpb=574c568d184240cd87be1b57fc00d60a4eac7566;p=pulseview.git diff --git a/pv/view/tracetreeitemowner.hpp b/pv/view/tracetreeitemowner.hpp index cbb7442..3e7927a 100644 --- a/pv/view/tracetreeitemowner.hpp +++ b/pv/view/tracetreeitemowner.hpp @@ -97,6 +97,14 @@ public: */ std::pair 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;