Unify gain and draw tools.
[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(SnapToBeatDiv128)
28 SNAPTYPE(SnapToBeatDiv64)
29 SNAPTYPE(SnapToBeatDiv32)
30 SNAPTYPE(SnapToBeatDiv28)
31 SNAPTYPE(SnapToBeatDiv24)
32 SNAPTYPE(SnapToBeatDiv20)
33 SNAPTYPE(SnapToBeatDiv16)
34 SNAPTYPE(SnapToBeatDiv14)
35 SNAPTYPE(SnapToBeatDiv12)
36 SNAPTYPE(SnapToBeatDiv10)
37 SNAPTYPE(SnapToBeatDiv8)
38 SNAPTYPE(SnapToBeatDiv7)
39 SNAPTYPE(SnapToBeatDiv6)
40 SNAPTYPE(SnapToBeatDiv5)
41 SNAPTYPE(SnapToBeatDiv4)
42 SNAPTYPE(SnapToBeatDiv3)
43 SNAPTYPE(SnapToBeatDiv2)
44 SNAPTYPE(SnapToBeat)
45 SNAPTYPE(SnapToBar)
46 SNAPTYPE(SnapToMark)
47 SNAPTYPE(SnapToRegionStart)
48 SNAPTYPE(SnapToRegionEnd)
49 SNAPTYPE(SnapToRegionSync)
50 SNAPTYPE(SnapToRegionBoundary)
51
52 /* Changing this order will break the menu */
53 SNAPMODE(SnapOff)
54 SNAPMODE(SnapNormal)
55 SNAPMODE(SnapMagnetic)
56
57 REGIONLISTSORTTYPE(ByEndInFile)
58 REGIONLISTSORTTYPE(ByLength)
59 REGIONLISTSORTTYPE(ByName)
60 REGIONLISTSORTTYPE(ByPosition)
61 REGIONLISTSORTTYPE(BySourceFileCreationDate)
62 REGIONLISTSORTTYPE(BySourceFileFS)
63 REGIONLISTSORTTYPE(BySourceFileLength)
64 REGIONLISTSORTTYPE(BySourceFileName)
65 REGIONLISTSORTTYPE(ByStartInFile)
66 REGIONLISTSORTTYPE(ByTimestamp)
67
68 /* Changing this order will break step_mouse_mode */
69 MOUSEMODE(MouseObject)
70 MOUSEMODE(MouseRange)
71 MOUSEMODE(MouseCut)
72 MOUSEMODE(MouseTimeFX)
73 MOUSEMODE(MouseAudition)
74 MOUSEMODE(MouseDraw)
75
76 /* Changing this order will break the menu */
77 ZOOMFOCUS(ZoomFocusLeft)
78 ZOOMFOCUS(ZoomFocusRight)
79 ZOOMFOCUS(ZoomFocusCenter)
80 ZOOMFOCUS(ZoomFocusPlayhead)
81 ZOOMFOCUS(ZoomFocusMouse)
82 ZOOMFOCUS(ZoomFocusEdit)
83
84 DISPLAYCONTROL(FollowPlayhead)
85 DISPLAYCONTROL(ShowMeasures)
86 DISPLAYCONTROL(ShowWaveforms)
87 DISPLAYCONTROL(ShowWaveformsRecording)
88
89 // if this is changed, remember to update the string table in sfdb_ui.cc
90 IMPORTMODE(ImportAsRegion=0)
91 IMPORTMODE(ImportToTrack=1)
92 IMPORTMODE(ImportAsTrack=2)
93 IMPORTMODE(ImportAsTapeTrack=3)
94
95 // if this is changed, remember to update the string table in sfdb_ui.cc
96 IMPORTPOSITION(ImportAtTimestamp=0)
97 IMPORTPOSITION(ImportAtEditPoint=1)
98 IMPORTPOSITION(ImportAtPlayhead=2)
99 IMPORTPOSITION(ImportAtStart=3)
100
101 // if this is changed, remember to update the string table in sfdb_ui.cc
102 IMPORTDISPOSITION(ImportDistinctFiles=0)
103 IMPORTDISPOSITION(ImportMergeFiles=1)
104 IMPORTDISPOSITION(ImportSerializeFiles=2)
105 IMPORTDISPOSITION(ImportDistinctChannels=3)
106
107 EDITPOINT(EditAtPlayhead)
108 EDITPOINT(EditAtSelectedMarker)
109 EDITPOINT(EditAtMouse)
110
111 INSERTTIMEOPT(LeaveIntersected)
112 INSERTTIMEOPT(MoveIntersected)
113 INSERTTIMEOPT(SplitIntersected)