]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/view.hpp
More preparation and some settings handling cleanup
[pulseview.git] / pv / views / trace / view.hpp
index 439823c09a8994ce7f67b56623834c8b398202d6..82a2f728116608555cee5b6ebb6a5001c30abd9b 100644 (file)
@@ -110,8 +110,8 @@ public:
         */
        virtual void reset_view_state();
 
-       Session& session();
-       const Session& session() const;
+       Session& session();  // This method is needed for TraceTreeItemOwner, not ViewBase
+       const Session& session() const;  // This method is needed for TraceTreeItemOwner, not ViewBase
 
        /**
         * Returns the signals contained in this view.
@@ -260,27 +260,11 @@ public:
 
        pair<pv::util::Timestamp, pv::util::Timestamp> get_time_extents() const;
 
-       /**
-        * Enables or disables colored trace backgrounds. If they're not
-        * colored then they will use alternating colors.
-        */
-       void enable_colored_bg(bool state);
-
        /**
         * Returns true if the trace background should be drawn with a colored background.
         */
        bool colored_bg() const;
 
-       /**
-        * Enable or disable showing sampling points.
-        */
-       void enable_show_sampling_points(bool state);
-
-       /**
-        * Enable or disable showing the analog minor grid.
-        */
-       void enable_show_analog_minor_grid(bool state);
-
        /**
         * Returns true if cursors are displayed. false otherwise.
         */