Drop references held by any GUI Lua script after execution
[ardour.git] / gtk2_ardour / editing_syms.h
1 /*
2  * Copyright (C) 2005-2006 Taybin Rutkin <taybin@taybin.com>
3  * Copyright (C) 2006-2014 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2007-2014 David Robillard <d@drobilla.net>
5  * Copyright (C) 2009-2010 Carl Hetherington <carl@carlh.net>
6  * Copyright (C) 2018 Ben Loftis <ben@harrisonconsoles.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22
23 /* Changing this order will break the menu */
24 GRIDTYPE(GridTypeNone)
25 GRIDTYPE(GridTypeBar)
26 GRIDTYPE(GridTypeBeat)
27 GRIDTYPE(GridTypeBeatDiv2)
28 GRIDTYPE(GridTypeBeatDiv4)
29 GRIDTYPE(GridTypeBeatDiv8)
30 GRIDTYPE(GridTypeBeatDiv16)
31 GRIDTYPE(GridTypeBeatDiv32)
32 GRIDTYPE(GridTypeBeatDiv3)  //Triplet eighths
33 GRIDTYPE(GridTypeBeatDiv6)
34 GRIDTYPE(GridTypeBeatDiv12)
35 GRIDTYPE(GridTypeBeatDiv24)
36 GRIDTYPE(GridTypeBeatDiv5)  //Quintuplet eighths
37 GRIDTYPE(GridTypeBeatDiv10)
38 GRIDTYPE(GridTypeBeatDiv20)
39 GRIDTYPE(GridTypeBeatDiv7)  //Septuplet eighths
40 GRIDTYPE(GridTypeBeatDiv14)
41 GRIDTYPE(GridTypeBeatDiv28)
42 GRIDTYPE(GridTypeTimecode)
43 GRIDTYPE(GridTypeMinSec)
44 GRIDTYPE(GridTypeCDFrame)
45
46
47 /* Changing this order will break the menu */
48 SNAPMODE(SnapOff)
49 SNAPMODE(SnapNormal)
50 SNAPMODE(SnapMagnetic)
51
52 REGIONLISTSORTTYPE(ByEndInFile)
53 REGIONLISTSORTTYPE(ByLength)
54 REGIONLISTSORTTYPE(ByName)
55 REGIONLISTSORTTYPE(ByPosition)
56 REGIONLISTSORTTYPE(BySourceFileCreationDate)
57 REGIONLISTSORTTYPE(BySourceFileFS)
58 REGIONLISTSORTTYPE(BySourceFileLength)
59 REGIONLISTSORTTYPE(BySourceFileName)
60 REGIONLISTSORTTYPE(ByStartInFile)
61 REGIONLISTSORTTYPE(ByTimestamp)
62
63 /* Changing this order will break step_mouse_mode */
64 MOUSEMODE(MouseObject)
65 MOUSEMODE(MouseRange)
66 MOUSEMODE(MouseCut)
67 MOUSEMODE(MouseTimeFX)
68 MOUSEMODE(MouseAudition)
69 MOUSEMODE(MouseDraw)
70 MOUSEMODE(MouseContent)
71
72 /* Changing this order will break the menu */
73 ZOOMFOCUS(ZoomFocusLeft)
74 ZOOMFOCUS(ZoomFocusRight)
75 ZOOMFOCUS(ZoomFocusCenter)
76 ZOOMFOCUS(ZoomFocusPlayhead)
77 ZOOMFOCUS(ZoomFocusMouse)
78 ZOOMFOCUS(ZoomFocusEdit)
79
80 DISPLAYCONTROL(FollowPlayhead)
81 DISPLAYCONTROL(ShowMeasures)
82 DISPLAYCONTROL(ShowWaveforms)
83 DISPLAYCONTROL(ShowWaveformsRecording)
84
85 // if this is changed, remember to update the string table in sfdb_ui.cc
86 IMPORTMODE(ImportAsRegion)
87 IMPORTMODE(ImportToTrack)
88 IMPORTMODE(ImportAsTrack)
89 IMPORTMODE(ImportAsTapeTrack)
90
91 // if this is changed, remember to update the string table in sfdb_ui.cc
92 IMPORTPOSITION(ImportAtTimestamp)
93 IMPORTPOSITION(ImportAtEditPoint)
94 IMPORTPOSITION(ImportAtPlayhead)
95 IMPORTPOSITION(ImportAtStart)
96
97 // if this is changed, remember to update the string table in sfdb_ui.cc
98 IMPORTDISPOSITION(ImportDistinctFiles)
99 IMPORTDISPOSITION(ImportMergeFiles)
100 IMPORTDISPOSITION(ImportSerializeFiles)
101 IMPORTDISPOSITION(ImportDistinctChannels)
102
103 EDITPOINT(EditAtPlayhead)
104 EDITPOINT(EditAtSelectedMarker)
105 EDITPOINT(EditAtMouse)
106
107 INSERTTIMEOPT(LeaveIntersected)
108 INSERTTIMEOPT(MoveIntersected)
109 INSERTTIMEOPT(SplitIntersected)