Fix CheckOption crash on session-reload
[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 GRIDTYPE(GridTypeNone)
22 GRIDTYPE(GridTypeBar)
23 GRIDTYPE(GridTypeBeat)
24 GRIDTYPE(GridTypeBeatDiv2)
25 GRIDTYPE(GridTypeBeatDiv4)
26 GRIDTYPE(GridTypeBeatDiv8)
27 GRIDTYPE(GridTypeBeatDiv16)
28 GRIDTYPE(GridTypeBeatDiv32)
29 GRIDTYPE(GridTypeBeatDiv3)  //Triplet eighths
30 GRIDTYPE(GridTypeBeatDiv6)
31 GRIDTYPE(GridTypeBeatDiv12)
32 GRIDTYPE(GridTypeBeatDiv24)
33 GRIDTYPE(GridTypeBeatDiv5)  //Quintuplet eighths
34 GRIDTYPE(GridTypeBeatDiv10)
35 GRIDTYPE(GridTypeBeatDiv20)
36 GRIDTYPE(GridTypeBeatDiv7)  //Septuplet eighths
37 GRIDTYPE(GridTypeBeatDiv14)
38 GRIDTYPE(GridTypeBeatDiv28)
39 GRIDTYPE(GridTypeTimecode)
40 GRIDTYPE(GridTypeMinSec)
41 GRIDTYPE(GridTypeCDFrame)
42
43
44 /* Changing this order will break the menu */
45 SNAPMODE(SnapOff)
46 SNAPMODE(SnapNormal)
47 SNAPMODE(SnapMagnetic)
48
49 REGIONLISTSORTTYPE(ByEndInFile)
50 REGIONLISTSORTTYPE(ByLength)
51 REGIONLISTSORTTYPE(ByName)
52 REGIONLISTSORTTYPE(ByPosition)
53 REGIONLISTSORTTYPE(BySourceFileCreationDate)
54 REGIONLISTSORTTYPE(BySourceFileFS)
55 REGIONLISTSORTTYPE(BySourceFileLength)
56 REGIONLISTSORTTYPE(BySourceFileName)
57 REGIONLISTSORTTYPE(ByStartInFile)
58 REGIONLISTSORTTYPE(ByTimestamp)
59
60 /* Changing this order will break step_mouse_mode */
61 MOUSEMODE(MouseObject)
62 MOUSEMODE(MouseRange)
63 MOUSEMODE(MouseCut)
64 MOUSEMODE(MouseTimeFX)
65 MOUSEMODE(MouseAudition)
66 MOUSEMODE(MouseDraw)
67 MOUSEMODE(MouseContent)
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)
84 IMPORTMODE(ImportToTrack)
85 IMPORTMODE(ImportAsTrack)
86 IMPORTMODE(ImportAsTapeTrack)
87
88 // if this is changed, remember to update the string table in sfdb_ui.cc
89 IMPORTPOSITION(ImportAtTimestamp)
90 IMPORTPOSITION(ImportAtEditPoint)
91 IMPORTPOSITION(ImportAtPlayhead)
92 IMPORTPOSITION(ImportAtStart)
93
94 // if this is changed, remember to update the string table in sfdb_ui.cc
95 IMPORTDISPOSITION(ImportDistinctFiles)
96 IMPORTDISPOSITION(ImportMergeFiles)
97 IMPORTDISPOSITION(ImportSerializeFiles)
98 IMPORTDISPOSITION(ImportDistinctChannels)
99
100 EDITPOINT(EditAtPlayhead)
101 EDITPOINT(EditAtSelectedMarker)
102 EDITPOINT(EditAtMouse)
103
104 INSERTTIMEOPT(LeaveIntersected)
105 INSERTTIMEOPT(MoveIntersected)
106 INSERTTIMEOPT(SplitIntersected)