projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecodeTrace: Speed up annotation drawing
[pulseview.git]
/
pv
/
view
/
view.hpp
diff --git
a/pv/view/view.hpp
b/pv/view/view.hpp
index 9bb42ef14ea6e239500482698c81f95994c94cc9..635273dae74ad6e1131a592da699beba6a8e76e7 100644
(file)
--- a/
pv/view/view.hpp
+++ b/
pv/view/view.hpp
@@
-55,6
+55,7
@@
class Header;
class Ruler;
class Trace;
class Viewport;
class Ruler;
class Trace;
class Viewport;
+class TriggerMarker;
class View : public QAbstractScrollArea, public TraceTreeItemOwner {
Q_OBJECT
class View : public QAbstractScrollArea, public TraceTreeItemOwner {
Q_OBJECT
@@
-170,6
+171,12
@@
public:
*/
void enable_sticky_scrolling(bool state);
*/
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.
*/
/**
* Returns true if cursors are displayed. false otherwise.
*/
@@
-383,6
+390,8
@@
private:
std::list< std::shared_ptr<Flag> > flags_;
char next_flag_text_;
std::list< std::shared_ptr<Flag> > flags_;
char next_flag_text_;
+ std::vector< std::shared_ptr<TriggerMarker> > trigger_markers_;
+
QPoint hover_point_;
unsigned int sticky_events_;
QPoint hover_point_;
unsigned int sticky_events_;