Add Beat/20 grid subdivision. Fixes #3126.
[ardour.git] / gtk2_ardour / editing_syms.h
1 /*
2     Copyright (C) 2000-2007 Paul Davis
3
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 */
19
20 /* Changing this order will break the menu */
21 SNAPTYPE(SnapToCDFrame)
22 SNAPTYPE(SnapToTimecodeFrame)
23 SNAPTYPE(SnapToTimecodeSeconds)
24 SNAPTYPE(SnapToTimecodeMinutes)
25 SNAPTYPE(SnapToSeconds)
26 SNAPTYPE(SnapToMinutes)
27 SNAPTYPE(SnapToBeatDiv32)
28 SNAPTYPE(SnapToBeatDiv28)
29 SNAPTYPE(SnapToBeatDiv24)
30 SNAPTYPE(SnapToBeatDiv20)
31 SNAPTYPE(SnapToBeatDiv16)
32 SNAPTYPE(SnapToBeatDiv14)
33 SNAPTYPE(SnapToBeatDiv12)
34 SNAPTYPE(SnapToBeatDiv10)
35 SNAPTYPE(SnapToBeatDiv8)
36 SNAPTYPE(SnapToBeatDiv7)
37 SNAPTYPE(SnapToBeatDiv6)
38 SNAPTYPE(SnapToBeatDiv5)
39 SNAPTYPE(SnapToBeatDiv4)
40 SNAPTYPE(SnapToBeatDiv3)
41 SNAPTYPE(SnapToBeatDiv2)
42 SNAPTYPE(SnapToBeat)
43 SNAPTYPE(SnapToBar)
44 SNAPTYPE(SnapToMark)
45 SNAPTYPE(SnapToRegionStart)
46 SNAPTYPE(SnapToRegionEnd)
47 SNAPTYPE(SnapToRegionSync)
48 SNAPTYPE(SnapToRegionBoundary)
49
50 /* Changing this order will break the menu */
51 SNAPMODE(SnapOff)
52 SNAPMODE(SnapNormal)
53 SNAPMODE(SnapMagnetic)
54
55 REGIONLISTSORTTYPE(ByEndInFile)
56 REGIONLISTSORTTYPE(ByLength)
57 REGIONLISTSORTTYPE(ByName)
58 REGIONLISTSORTTYPE(ByPosition)
59 REGIONLISTSORTTYPE(BySourceFileCreationDate)
60 REGIONLISTSORTTYPE(BySourceFileFS)
61 REGIONLISTSORTTYPE(BySourceFileLength)
62 REGIONLISTSORTTYPE(BySourceFileName)
63 REGIONLISTSORTTYPE(ByStartInFile)
64 REGIONLISTSORTTYPE(ByTimestamp)
65
66 MOUSEMODE(MouseGain)
67 MOUSEMODE(MouseObject)
68 MOUSEMODE(MouseRange)
69 MOUSEMODE(MouseTimeFX)
70 MOUSEMODE(MouseZoom)
71 MOUSEMODE(MouseAudition)
72
73 /* Changing this order will break the menu */
74 ZOOMFOCUS(ZoomFocusLeft)
75 ZOOMFOCUS(ZoomFocusRight)
76 ZOOMFOCUS(ZoomFocusCenter)
77 ZOOMFOCUS(ZoomFocusPlayhead)
78 ZOOMFOCUS(ZoomFocusMouse)
79 ZOOMFOCUS(ZoomFocusEdit)
80
81 DISPLAYCONTROL(FollowPlayhead)
82 DISPLAYCONTROL(ShowMeasures)
83 DISPLAYCONTROL(ShowWaveforms)
84 DISPLAYCONTROL(ShowWaveformsRecording)
85
86 // if this is changed, remember to update the string table in sfdb_ui.cc
87 IMPORTMODE(ImportAsRegion=0)
88 IMPORTMODE(ImportToTrack=1)
89 IMPORTMODE(ImportAsTrack=2)
90 IMPORTMODE(ImportAsTapeTrack=3)
91
92 // if this is changed, remember to update the string table in sfdb_ui.cc
93 IMPORTPOSITION(ImportAtTimestamp=0)
94 IMPORTPOSITION(ImportAtEditPoint=1)
95 IMPORTPOSITION(ImportAtPlayhead=2)
96 IMPORTPOSITION(ImportAtStart=3)
97
98 // if this is changed, remember to update the string table in sfdb_ui.cc
99 IMPORTDISPOSITION(ImportDistinctFiles=0)
100 IMPORTDISPOSITION(ImportMergeFiles=1)
101 IMPORTDISPOSITION(ImportSerializeFiles=2)
102 IMPORTDISPOSITION(ImportDistinctChannels=3)
103
104 EDITPOINT(EditAtPlayhead)
105 EDITPOINT(EditAtSelectedMarker)
106 EDITPOINT(EditAtMouse)
107
108 INSERTTIMEOPT(LeaveIntersected)
109 INSERTTIMEOPT(MoveIntersected)
110 INSERTTIMEOPT(SplitIntersected)