X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftracetreeitemowner.hpp;h=6d4b6d19ba733b2e3cf606b479941ad6309b254f;hp=025c34edad69f6f421d9fc9264f60e46f81f7e7a;hb=cd0c558b8e1dbae12c3faba2349d874942b96066;hpb=c373f82810ad9c5376a7370118de9dd587ee0e43 diff --git a/pv/view/tracetreeitemowner.hpp b/pv/view/tracetreeitemowner.hpp index 025c34ed..6d4b6d19 100644 --- a/pv/view/tracetreeitemowner.hpp +++ b/pv/view/tracetreeitemowner.hpp @@ -63,11 +63,6 @@ public: */ virtual unsigned int depth() const = 0; - /** - * Returns a list of row items owned by this object. - */ - virtual item_list& child_items(); - /** * Returns a list of row items owned by this object. */ @@ -102,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;