]> sigrok.org Git - pulseview.git/blobdiff - pv/view/tracetreeitem.hpp
Added ViewItemOwner
[pulseview.git] / pv / view / tracetreeitem.hpp
index 5e60ffcb2e568f959bff3f4ab7f6d5470b1799f7..8a72f6ebd59217e0ec7522cc514205b09d69ea64 100644 (file)
@@ -46,6 +46,11 @@ public:
         */
        TraceTreeItem();
 
         */
        TraceTreeItem();
 
+       /**
+        * Gets the owner this item in the view item hierachy.
+        */
+       TraceTreeItemOwner* owner() const;
+
        /**
         * Gets the vertical layout offset of this signal.
         */
        /**
         * Gets the vertical layout offset of this signal.
         */
@@ -77,11 +82,6 @@ public:
         */
        void animate_to_layout_v_offset();
 
         */
        void animate_to_layout_v_offset();
 
-       /**
-        * Gets the owner this trace in the view trace hierachy.
-        */
-       pv::view::TraceTreeItemOwner* owner() const;
-
        /**
         * Sets the owner this trace in the view trace hierachy.
         * @param The new owner of the trace.
        /**
         * Sets the owner this trace in the view trace hierachy.
         * @param The new owner of the trace.
@@ -112,7 +112,7 @@ public:
        virtual std::pair<int, int> v_extents() const = 0;
 
 protected:
        virtual std::pair<int, int> v_extents() const = 0;
 
 protected:
-       pv::view::TraceTreeItemOwner *owner_;
+       TraceTreeItemOwner *owner_;
 
        int layout_v_offset_;
        int visual_v_offset_;
 
        int layout_v_offset_;
        int visual_v_offset_;