merged with trunk revs 2605-2627
[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(SnapToFrame)
22 SNAPTYPE(SnapToCDFrame)
23 SNAPTYPE(SnapToSMPTEFrame)
24 SNAPTYPE(SnapToSMPTESeconds)
25 SNAPTYPE(SnapToSMPTEMinutes)
26 SNAPTYPE(SnapToSeconds)
27 SNAPTYPE(SnapToMinutes)
28 SNAPTYPE(SnapToAThirtysecondBeat)
29 SNAPTYPE(SnapToASixteenthBeat)
30 SNAPTYPE(SnapToAEighthBeat)
31 SNAPTYPE(SnapToAQuarterBeat)
32 SNAPTYPE(SnapToAThirdBeat)
33 SNAPTYPE(SnapToBeat)
34 SNAPTYPE(SnapToBar)
35 SNAPTYPE(SnapToMark)
36 SNAPTYPE(SnapToEditPoint)
37 SNAPTYPE(SnapToRegionStart)
38 SNAPTYPE(SnapToRegionEnd)
39 SNAPTYPE(SnapToRegionSync)
40 SNAPTYPE(SnapToRegionBoundary)
41
42 /* Changing this order will break the menu */
43 SNAPMODE(SnapNormal)
44 SNAPMODE(SnapMagnetic)
45
46 REGIONLISTSORTTYPE(ByEndInFile)
47 REGIONLISTSORTTYPE(ByLength)
48 REGIONLISTSORTTYPE(ByName)
49 REGIONLISTSORTTYPE(ByPosition)
50 REGIONLISTSORTTYPE(BySourceFileCreationDate)
51 REGIONLISTSORTTYPE(BySourceFileFS)
52 REGIONLISTSORTTYPE(BySourceFileLength)
53 REGIONLISTSORTTYPE(BySourceFileName)
54 REGIONLISTSORTTYPE(ByStartInFile)
55 REGIONLISTSORTTYPE(ByTimestamp)
56
57 MOUSEMODE(MouseGain)
58 MOUSEMODE(MouseObject)
59 MOUSEMODE(MouseRange)
60 MOUSEMODE(MouseTimeFX)
61 MOUSEMODE(MouseZoom)
62 MOUSEMODE(MouseAudition)
63 MOUSEMODE(MouseNote)
64
65 MIDIEDITMODE(MidiEditPencil)
66 MIDIEDITMODE(MidiEditSelect)
67 MIDIEDITMODE(MidiEditErase)
68
69 /* Changing this order will break the menu */
70 ZOOMFOCUS(ZoomFocusLeft)
71 ZOOMFOCUS(ZoomFocusRight)
72 ZOOMFOCUS(ZoomFocusCenter)
73 ZOOMFOCUS(ZoomFocusPlayhead)
74 ZOOMFOCUS(ZoomFocusMouse)
75 ZOOMFOCUS(ZoomFocusEdit)
76
77 DISPLAYCONTROL(FollowPlayhead)
78 DISPLAYCONTROL(ShowMeasures)
79 DISPLAYCONTROL(ShowWaveforms)
80 DISPLAYCONTROL(ShowWaveformsRecording)
81
82 // if this is changed, remember to update the string table in sfdb_ui.cc
83 IMPORTMODE(ImportAsRegion=0)
84 IMPORTMODE(ImportToTrack=1)
85 IMPORTMODE(ImportAsTrack=2)
86 IMPORTMODE(ImportAsTapeTrack=3)
87
88 // if this is changed, remember to update the string table in sfdb_ui.cc
89 IMPORTPOSITION(ImportAtTimestamp=0)
90 IMPORTPOSITION(ImportAtEditPoint=1)
91 IMPORTPOSITION(ImportAtPlayhead=2)
92 IMPORTPOSITION(ImportAtStart=3)
93
94 // if this is changed, remember to update the string table in sfdb_ui.cc
95 IMPORTDISPOSITION(ImportDistinctFiles=0)
96 IMPORTDISPOSITION(ImportMergeFiles=1)
97 IMPORTDISPOSITION(ImportSerializeFiles=2)
98 IMPORTDISPOSITION(ImportDistinctChannels=3)
99
100
101 EDITPOINT(EditAtPlayhead)
102 EDITPOINT(EditAtSelectedMarker)
103 EDITPOINT(EditAtMouse)