X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=8aa551250177199a297d73998b01fab1bd8a79f5;hb=35365c66bf6166c5607f1180016528d996a45b66;hp=b64c09d2c019ab00ee3c56b0a8ef0732b1af2c92;hpb=1a2288a1b2479be9001fab6ced8385cfc86c3f69;p=pulseview.git diff --git a/pv/view/view.hpp b/pv/view/view.hpp index b64c09d..8aa5512 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -95,6 +95,8 @@ public: const Viewport* viewport() const; + const QSize header_size() const; + /** * Gets a list of time markers. */ @@ -171,6 +173,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 +392,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_;