2007-04-26 16:54:31 -04:00
|
|
|
/*
|
2019-08-02 17:26:43 -04:00
|
|
|
* Copyright (C) 2005-2006 Taybin Rutkin <taybin@taybin.com>
|
|
|
|
* Copyright (C) 2006-2014 Paul Davis <paul@linuxaudiosystems.com>
|
|
|
|
* Copyright (C) 2007-2014 David Robillard <d@drobilla.net>
|
|
|
|
* Copyright (C) 2009-2010 Carl Hetherington <carl@carlh.net>
|
|
|
|
* Copyright (C) 2018 Ben Loftis <ben@harrisonconsoles.com>
|
|
|
|
*
|
|
|
|
* 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.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
2007-04-26 16:54:31 -04:00
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
/* Changing this order will break the menu */
|
2018-02-09 10:59:39 -05:00
|
|
|
GRIDTYPE(GridTypeNone)
|
|
|
|
GRIDTYPE(GridTypeBar)
|
|
|
|
GRIDTYPE(GridTypeBeat)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv2)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv4)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv8)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv16)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv32)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv3) //Triplet eighths
|
|
|
|
GRIDTYPE(GridTypeBeatDiv6)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv12)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv24)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv5) //Quintuplet eighths
|
|
|
|
GRIDTYPE(GridTypeBeatDiv10)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv20)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv7) //Septuplet eighths
|
|
|
|
GRIDTYPE(GridTypeBeatDiv14)
|
|
|
|
GRIDTYPE(GridTypeBeatDiv28)
|
2018-02-26 19:38:18 -05:00
|
|
|
GRIDTYPE(GridTypeTimecode)
|
2018-02-09 10:59:39 -05:00
|
|
|
GRIDTYPE(GridTypeMinSec)
|
2018-02-26 18:02:24 -05:00
|
|
|
GRIDTYPE(GridTypeCDFrame)
|
2018-02-09 10:59:39 -05:00
|
|
|
|
2005-09-25 14:42:24 -04:00
|
|
|
|
|
|
|
/* 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)
|
|
|
|
|
2014-12-07 19:04:33 -05:00
|
|
|
/* Changing this order will break step_mouse_mode */
|
2005-09-25 14:42:24 -04:00
|
|
|
MOUSEMODE(MouseObject)
|
|
|
|
MOUSEMODE(MouseRange)
|
2014-12-07 19:04:33 -05:00
|
|
|
MOUSEMODE(MouseCut)
|
2005-09-25 14:42:24 -04:00
|
|
|
MOUSEMODE(MouseTimeFX)
|
|
|
|
MOUSEMODE(MouseAudition)
|
2014-12-07 19:04:33 -05:00
|
|
|
MOUSEMODE(MouseDraw)
|
2014-12-08 23:00:00 -05:00
|
|
|
MOUSEMODE(MouseContent)
|
2007-08-08 15:13:36 -04:00
|
|
|
|
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
|
2016-01-13 08:57:02 -05:00
|
|
|
IMPORTMODE(ImportAsRegion)
|
|
|
|
IMPORTMODE(ImportToTrack)
|
|
|
|
IMPORTMODE(ImportAsTrack)
|
2007-10-11 18:07:47 -04:00
|
|
|
|
|
|
|
// if this is changed, remember to update the string table in sfdb_ui.cc
|
2016-01-13 08:57:02 -05:00
|
|
|
IMPORTPOSITION(ImportAtTimestamp)
|
|
|
|
IMPORTPOSITION(ImportAtEditPoint)
|
|
|
|
IMPORTPOSITION(ImportAtPlayhead)
|
|
|
|
IMPORTPOSITION(ImportAtStart)
|
2007-10-11 18:07:47 -04:00
|
|
|
|
|
|
|
// if this is changed, remember to update the string table in sfdb_ui.cc
|
2016-01-13 08:57:02 -05:00
|
|
|
IMPORTDISPOSITION(ImportDistinctFiles)
|
|
|
|
IMPORTDISPOSITION(ImportMergeFiles)
|
|
|
|
IMPORTDISPOSITION(ImportSerializeFiles)
|
|
|
|
IMPORTDISPOSITION(ImportDistinctChannels)
|
2007-11-07 20:40:25 -05:00
|
|
|
|
|
|
|
EDITPOINT(EditAtPlayhead)
|
|
|
|
EDITPOINT(EditAtSelectedMarker)
|
|
|
|
EDITPOINT(EditAtMouse)
|
2008-03-17 16:54:03 -04:00
|
|
|
|
2008-04-11 10:06:50 -04:00
|
|
|
INSERTTIMEOPT(LeaveIntersected)
|
|
|
|
INSERTTIMEOPT(MoveIntersected)
|
|
|
|
INSERTTIMEOPT(SplitIntersected)
|