]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.hpp
Fix various typos in code comments.
[pulseview.git] / pv / view / view.hpp
index 66d31a225bf7b28806da3b28e87465ce5349daa7..25d1dbf78b1b8afb2134d0ceb3aec2f7759b1ea2 100644 (file)
@@ -171,6 +171,12 @@ public:
         */
        void enable_sticky_scrolling(bool state);
 
+       /**
+        * Enables or disables coloured trace backgrounds. If they're not
+        * coloured then they will use alternating colors.
+        */
+       void enable_coloured_bg(bool state);
+
        /**
         * Returns true if cursors are displayed. false otherwise.
         */
@@ -264,7 +270,7 @@ private:
        void update_layout();
 
        /**
-        * Satisifies TraceTreeItem functionality.
+        * Satisfies TraceTreeItem functionality.
         * @param p the QPainter to paint into.
         * @param rect the rectangle of the header area.
         * @param hover true if the label is being hovered over by the mouse.
@@ -294,9 +300,9 @@ private:
 
        bool eventFilter(QObject *object, QEvent *event);
 
-       bool viewportEvent(QEvent *e);
+       bool viewportEvent(QEvent *event);
 
-       void resizeEvent(QResizeEvent *e);
+       void resizeEvent(QResizeEvent *event);
 
 public:
        void row_item_appearance_changed(bool label, bool content);