]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.cpp
Add a hotkey to show/hide sampling points.
[pulseview.git] / pv / view / view.cpp
index 8595594803b58f21b3c33f439e51b69358d149ae..07e97666a2e60e59acd4309b17f294a28df37609 100644 (file)
@@ -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(