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 and setting for showing/hiding the minor analog grid.
[pulseview.git]
/
pv
/
view
/
view.cpp
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index 0e3fa98fffc4b91b8f94af291c179ed20314724c..8f5494acea39b4e0c449c9e2976e3ac589b0aaf1 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-561,6
+561,13
@@
void View::enable_show_sampling_points(bool state)
viewport_->update();
}
+void View::enable_show_analog_minor_grid(bool state)
+{
+ (void)state;
+
+ viewport_->update();
+}
+
void View::enable_coloured_bg(bool state)
{
const vector<shared_ptr<TraceTreeItem>> items(