X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=09f3c2ee020f25befb08f6c954434df11a7676f2;hb=d9ea96280ab1128427143660ae375c30b19aa0cb;hp=66d31a225bf7b28806da3b28e87465ce5349daa7;hpb=92ff2b60d60c8191a6f4a923b5a9099ec544adbd;p=pulseview.git diff --git a/pv/view/view.hpp b/pv/view/view.hpp index 66d31a2..09f3c2e 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -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. */ @@ -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);