David Robillard
332a3d9813
Added note pencil tool, mock note adding (notes can be added visually but don't yet play). Reworked MidiModel to be notes w/ duration instead of realtime style MIDI events. Moved layering (stacked/overlaid) from auto time axis down to route time axis since it applies to MIDI tracks as well. git-svn-id: svn://localhost/ardour2/trunk@2128 d708f5d6-7413-0410-9779-e7cbd77b26cf
82 lines
2.4 KiB
C
82 lines
2.4 KiB
C
/*
|
|
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.
|
|
|
|
*/
|
|
|
|
/* Changing this order will break the menu */
|
|
SNAPTYPE(SnapToFrame)
|
|
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(SnapToEditCursor)
|
|
SNAPTYPE(SnapToRegionStart)
|
|
SNAPTYPE(SnapToRegionEnd)
|
|
SNAPTYPE(SnapToRegionSync)
|
|
SNAPTYPE(SnapToRegionBoundary)
|
|
|
|
/* Changing this order will break the menu */
|
|
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)
|
|
MOUSEMODE(MouseNote)
|
|
|
|
/* Changing this order will break the menu */
|
|
ZOOMFOCUS(ZoomFocusLeft)
|
|
ZOOMFOCUS(ZoomFocusRight)
|
|
ZOOMFOCUS(ZoomFocusCenter)
|
|
ZOOMFOCUS(ZoomFocusPlayhead)
|
|
ZOOMFOCUS(ZoomFocusEdit)
|
|
|
|
DISPLAYCONTROL(FollowPlayhead)
|
|
DISPLAYCONTROL(ShowMeasures)
|
|
DISPLAYCONTROL(ShowWaveforms)
|
|
DISPLAYCONTROL(ShowWaveformsRecording)
|
|
|
|
// 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)
|