projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a hotkey to show/hide sampling points.
[pulseview.git]
/
pv
/
view
/
view.cpp
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index 8595594803b58f21b3c33f439e51b69358d149ae..07e97666a2e60e59acd4309b17f294a28df37609 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-562,6
+562,13
@@
pair<Timestamp, Timestamp> View::get_time_extents() const
return make_pair(*left_time, *right_time);
}
+void View::enable_show_sampling_points(bool state)
+{
+ (void)state;
+
+ viewport_->update();
+}
+
void View::enable_coloured_bg(bool state)
{
const vector<shared_ptr<TraceTreeItem>> items(