new mouse mode (Draw (notes)); switch into internal mode when draw is selected; notab...
[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(MouseDraw)
70 MOUSEMODE(MouseTimeFX)
71 MOUSEMODE(MouseZoom)
72 MOUSEMODE(MouseAudition)
73
74 /* Changing this order will break the menu */
75 ZOOMFOCUS(ZoomFocusLeft)
76 ZOOMFOCUS(ZoomFocusRight)
77 ZOOMFOCUS(ZoomFocusCenter)
78 ZOOMFOCUS(ZoomFocusPlayhead)
79 ZOOMFOCUS(ZoomFocusMouse)
80 ZOOMFOCUS(ZoomFocusEdit)
81
82 DISPLAYCONTROL(FollowPlayhead)
83 DISPLAYCONTROL(ShowMeasures)
84 DISPLAYCONTROL(ShowWaveforms)
85 DISPLAYCONTROL(ShowWaveformsRecording)
86
87 // if this is changed, remember to update the string table in sfdb_ui.cc
88 IMPORTMODE(ImportAsRegion=0)
89 IMPORTMODE(ImportToTrack=1)
90 IMPORTMODE(ImportAsTrack=2)
91 IMPORTMODE(ImportAsTapeTrack=3)
92
93 // if this is changed, remember to update the string table in sfdb_ui.cc
94 IMPORTPOSITION(ImportAtTimestamp=0)
95 IMPORTPOSITION(ImportAtEditPoint=1)
96 IMPORTPOSITION(ImportAtPlayhead=2)
97 IMPORTPOSITION(ImportAtStart=3)
98
99 // if this is changed, remember to update the string table in sfdb_ui.cc
100 IMPORTDISPOSITION(ImportDistinctFiles=0)
101 IMPORTDISPOSITION(ImportMergeFiles=1)
102 IMPORTDISPOSITION(ImportSerializeFiles=2)
103 IMPORTDISPOSITION(ImportDistinctChannels=3)
104
105 EDITPOINT(EditAtPlayhead)
106 EDITPOINT(EditAtSelectedMarker)
107 EDITPOINT(EditAtMouse)
108
109 INSERTTIMEOPT(LeaveIntersected)
110 INSERTTIMEOPT(MoveIntersected)
111 INSERTTIMEOPT(SplitIntersected)