X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftracetreeitemowner.hpp;h=6d4b6d19ba733b2e3cf606b479941ad6309b254f;hp=cbb74427049af1db5b87eaeeb5d6ae0a31075a73;hb=752281db3591fe0eeb2590379b2055b8e05cd14f;hpb=a8743cd962b2d18082c6ddaeb554d56013919d95 diff --git a/pv/view/tracetreeitemowner.hpp b/pv/view/tracetreeitemowner.hpp index cbb74427..6d4b6d19 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_bgcolour_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;