2007-04-26 16:54:31 -04:00
|
|
|
/*
|
|
|
|
Copyright (C) 2000-2007 Paul Davis
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
/* Changing this order will break the menu */
|
|
|
|
SNAPTYPE(SnapToCDFrame)
|
|
|
|
SNAPTYPE(SnapToSMPTEFrame)
|
|
|
|
SNAPTYPE(SnapToSMPTESeconds)
|
|
|
|
SNAPTYPE(SnapToSMPTEMinutes)
|
|
|
|
SNAPTYPE(SnapToSeconds)
|
|
|
|
SNAPTYPE(SnapToMinutes)
|
|
|
|
SNAPTYPE(SnapToAThirtysecondBeat)
|
|
|
|
SNAPTYPE(SnapToASixteenthBeat)
|
|
|
|
SNAPTYPE(SnapToAEighthBeat)
|
|
|
|
SNAPTYPE(SnapToAQuarterBeat)
|
|
|
|
SNAPTYPE(SnapToAThirdBeat)
|
|
|
|
SNAPTYPE(SnapToBeat)
|
|
|
|
SNAPTYPE(SnapToBar)
|
|
|
|
SNAPTYPE(SnapToMark)
|
|
|
|
SNAPTYPE(SnapToRegionStart)
|
|
|
|
SNAPTYPE(SnapToRegionEnd)
|
|
|
|
SNAPTYPE(SnapToRegionSync)
|
|
|
|
SNAPTYPE(SnapToRegionBoundary)
|
|
|
|
|
|
|
|
/* Changing this order will break the menu */
|
2008-01-10 16:20:59 -05:00
|
|
|
SNAPMODE(SnapOff)
|
2005-09-25 14:42:24 -04:00
|
|
|
SNAPMODE(SnapNormal)
|
|
|
|
SNAPMODE(SnapMagnetic)
|
|
|
|
|
|
|
|
REGIONLISTSORTTYPE(ByEndInFile)
|
|
|
|
REGIONLISTSORTTYPE(ByLength)
|
|
|
|
REGIONLISTSORTTYPE(ByName)
|
|
|
|
REGIONLISTSORTTYPE(ByPosition)
|
|
|
|
REGIONLISTSORTTYPE(BySourceFileCreationDate)
|
|
|
|
REGIONLISTSORTTYPE(BySourceFileFS)
|
|
|
|
REGIONLISTSORTTYPE(BySourceFileLength)
|
|
|
|
REGIONLISTSORTTYPE(BySourceFileName)
|
|
|
|
REGIONLISTSORTTYPE(ByStartInFile)
|
|
|
|
REGIONLISTSORTTYPE(ByTimestamp)
|
|
|
|
|
|
|
|
MOUSEMODE(MouseGain)
|
|
|
|
MOUSEMODE(MouseObject)
|
|
|
|
MOUSEMODE(MouseRange)
|
|
|
|
MOUSEMODE(MouseTimeFX)
|
|
|
|
MOUSEMODE(MouseZoom)
|
|
|
|
MOUSEMODE(MouseAudition)
|
2007-07-14 21:56:11 -04:00
|
|
|
MOUSEMODE(MouseNote)
|
2005-09-25 14:42:24 -04:00
|
|
|
|
2007-08-08 15:13:36 -04:00
|
|
|
MIDIEDITMODE(MidiEditPencil)
|
2007-10-14 01:45:31 -04:00
|
|
|
MIDIEDITMODE(MidiEditSelect)
|
2007-08-08 15:13:36 -04:00
|
|
|
MIDIEDITMODE(MidiEditErase)
|
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
/* Changing this order will break the menu */
|
|
|
|
ZOOMFOCUS(ZoomFocusLeft)
|
|
|
|
ZOOMFOCUS(ZoomFocusRight)
|
|
|
|
ZOOMFOCUS(ZoomFocusCenter)
|
|
|
|
ZOOMFOCUS(ZoomFocusPlayhead)
|
2007-11-07 20:40:25 -05:00
|
|
|
ZOOMFOCUS(ZoomFocusMouse)
|
2005-09-25 14:42:24 -04:00
|
|
|
ZOOMFOCUS(ZoomFocusEdit)
|
|
|
|
|
|
|
|
DISPLAYCONTROL(FollowPlayhead)
|
|
|
|
DISPLAYCONTROL(ShowMeasures)
|
|
|
|
DISPLAYCONTROL(ShowWaveforms)
|
|
|
|
DISPLAYCONTROL(ShowWaveformsRecording)
|
2006-03-22 12:03:00 -05:00
|
|
|
|
2006-08-31 21:59:41 -04:00
|
|
|
// if this is changed, remember to update the string table in sfdb_ui.cc
|
|
|
|
IMPORTMODE(ImportAsRegion=0)
|
|
|
|
IMPORTMODE(ImportToTrack=1)
|
|
|
|
IMPORTMODE(ImportAsTrack=2)
|
|
|
|
IMPORTMODE(ImportAsTapeTrack=3)
|
2007-10-11 18:07:47 -04:00
|
|
|
|
|
|
|
// if this is changed, remember to update the string table in sfdb_ui.cc
|
|
|
|
IMPORTPOSITION(ImportAtTimestamp=0)
|
2007-11-12 17:23:01 -05:00
|
|
|
IMPORTPOSITION(ImportAtEditPoint=1)
|
2007-10-11 18:07:47 -04:00
|
|
|
IMPORTPOSITION(ImportAtPlayhead=2)
|
|
|
|
IMPORTPOSITION(ImportAtStart=3)
|
|
|
|
|
|
|
|
// if this is changed, remember to update the string table in sfdb_ui.cc
|
|
|
|
IMPORTDISPOSITION(ImportDistinctFiles=0)
|
|
|
|
IMPORTDISPOSITION(ImportMergeFiles=1)
|
|
|
|
IMPORTDISPOSITION(ImportSerializeFiles=2)
|
|
|
|
IMPORTDISPOSITION(ImportDistinctChannels=3)
|
2007-11-07 20:40:25 -05:00
|
|
|
|
|
|
|
|
|
|
|
EDITPOINT(EditAtPlayhead)
|
|
|
|
EDITPOINT(EditAtSelectedMarker)
|
|
|
|
EDITPOINT(EditAtMouse)
|