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