ardour
editing_syms.h
Go to the documentation of this file.
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 MOUSEMODE(MouseContent)
76 
77 /* Changing this order will break the menu */
78 ZOOMFOCUS(ZoomFocusLeft)
79 ZOOMFOCUS(ZoomFocusRight)
80 ZOOMFOCUS(ZoomFocusCenter)
81 ZOOMFOCUS(ZoomFocusPlayhead)
82 ZOOMFOCUS(ZoomFocusMouse)
83 ZOOMFOCUS(ZoomFocusEdit)
84 
88 DISPLAYCONTROL(ShowWaveformsRecording)
89 
90 // if this is changed, remember to update the string table in sfdb_ui.cc
91 IMPORTMODE(ImportAsRegion=0)
92 IMPORTMODE(ImportToTrack=1)
93 IMPORTMODE(ImportAsTrack=2)
94 IMPORTMODE(ImportAsTapeTrack=3)
95 
96 // if this is changed, remember to update the string table in sfdb_ui.cc
97 IMPORTPOSITION(ImportAtTimestamp=0)
98 IMPORTPOSITION(ImportAtEditPoint=1)
99 IMPORTPOSITION(ImportAtPlayhead=2)
100 IMPORTPOSITION(ImportAtStart=3)
101 
102 // if this is changed, remember to update the string table in sfdb_ui.cc
103 IMPORTDISPOSITION(ImportDistinctFiles=0)
104 IMPORTDISPOSITION(ImportMergeFiles=1)
105 IMPORTDISPOSITION(ImportSerializeFiles=2)
106 IMPORTDISPOSITION(ImportDistinctChannels=3)
107 
108 EDITPOINT(EditAtPlayhead)
109 EDITPOINT(EditAtSelectedMarker)
110 EDITPOINT(EditAtMouse)
111 
112 INSERTTIMEOPT(LeaveIntersected)
113 INSERTTIMEOPT(MoveIntersected)
114 INSERTTIMEOPT(SplitIntersected)
#define IMPORTPOSITION(a)
Definition: editing.h:163
#define SNAPMODE(a)
Definition: editing.cc:77
#define ZOOMFOCUS(a)
Definition: editing.cc:135
#define IMPORTMODE(s)
Definition: editing.cc:164
#define SNAPTYPE(a)
Definition: editing.cc:58
#define IMPORTDISPOSITION(a)
Definition: editing.h:173
#define REGIONLISTSORTTYPE(a)
Definition: editing.cc:97
#define MOUSEMODE(a)
Definition: editing.cc:116
#define DISPLAYCONTROL(a)
Definition: editing.cc:154
#define INSERTTIMEOPT(a)
Definition: editing.h:193
#define EDITPOINT(a)
Definition: editing.h:183