diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-09 09:59:39 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-09 09:59:39 -0600 |
commit | dc61256466cb02daa4c6de0dbaebf4b9ed1325d6 (patch) | |
tree | 13e1527c49174afbfdc85f4f49aa04b6a63eeb42 /gtk2_ardour/ui_config_vars.h | |
parent | d6eb1c826f364a8dc2db1786bc4bb7eb11f92be6 (diff) |
new_grid: Rewrite of Snap and Grid. (squashed commit)
Separate Snap from Grid. Lots of naming changes.
Multiple simultaneous snap options allowed. Grid is one of the possible Snap options.
Grid uses the same data as the rulers. Replace complicated tempo_lines with simple grid_lines.
The Grid is zoom-scale-sensitive along with the rulers. If you are zoomed out, grid becomes coarser.
Diffstat (limited to 'gtk2_ardour/ui_config_vars.h')
-rw-r--r-- | gtk2_ardour/ui_config_vars.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h index f4b516495c..c1a6ef6181 100644 --- a/gtk2_ardour/ui_config_vars.h +++ b/gtk2_ardour/ui_config_vars.h @@ -103,3 +103,8 @@ UI_CONFIG_VARIABLE (std::string, stripable_color_palette, "stripable-color-palet UI_CONFIG_VARIABLE (bool, show_snapped_cursor, "show-snapped-cursor", true) UI_CONFIG_VARIABLE (uint32_t, snap_threshold, "snap-threshold", 25) +UI_CONFIG_VARIABLE (bool, snap_to_marks, "snap-to-marks", true) +UI_CONFIG_VARIABLE (bool, snap_to_region_sync, "snap-to-region-sync", true) +UI_CONFIG_VARIABLE (bool, snap_to_region_start, "snap-to-region-start", true) +UI_CONFIG_VARIABLE (bool, snap_to_region_end, "snap-to-region-end", true) +UI_CONFIG_VARIABLE (bool, snap_to_grid, "snap-to-grid", false) |