X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=635273dae74ad6e1131a592da699beba6a8e76e7;hp=b64c09d2c019ab00ee3c56b0a8ef0732b1af2c92;hb=f74015db20c1ac85df6397df7199a030e6db828f;hpb=1a2288a1b2479be9001fab6ced8385cfc86c3f69 diff --git a/pv/view/view.hpp b/pv/view/view.hpp index b64c09d2..635273da 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. */ @@ -384,7 +390,7 @@ private: std::list< std::shared_ptr > flags_; char next_flag_text_; - std::shared_ptr trigger_marker_; + std::vector< std::shared_ptr > trigger_markers_; QPoint hover_point_;