summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_rulers.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-15 10:33:31 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-15 10:33:31 +0000
commit35cd944f40557aa6b8701e46bd42962e98521d74 (patch)
tree05151370001e64308b8e458daba59304aaec7fc3 /gtk2_ardour/editor_rulers.cc
parent3b931749638d7fc49268836c81acd68eeb5c615f (diff)
Add Beat/20 grid subdivision. Fixes #3126.
git-svn-id: svn://localhost/ardour2/branches/3.0@7627 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r--gtk2_ardour/editor_rulers.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc
index 873e491958..758be0f6c9 100644
--- a/gtk2_ardour/editor_rulers.cc
+++ b/gtk2_ardour/editor_rulers.cc
@@ -1194,6 +1194,10 @@ Editor::compute_bbt_ruler_scale (nframes64_t lower, nframes64_t upper)
bbt_beat_subdivision = 16;
bbt_accent_modulo = 4;
break;
+ case SnapToBeatDiv20:
+ bbt_beat_subdivision = 20;
+ bbt_accent_modulo = 5;
+ break;
case SnapToBeatDiv24:
bbt_beat_subdivision = 24;
bbt_accent_modulo = 6;