summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
AgeCommit message (Collapse)Author
2012-04-27Re-add erroneously-removed methods related to cut/copy ofCarl Hetherington
automation time ranges. git-svn-id: svn://localhost/ardour2/branches/3.0@12114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-22Use a list of ControlPoints to hold the automation selection,Carl Hetherington
rather than a time range. This makes more sense now that we display every point on an automation line, rather than just a subset. Makes the code a fair bit simpler, and should fix some unexpected behaviours, especially when cutting automation points. git-svn-id: svn://localhost/ardour2/branches/3.0@12054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07remove additional "mid" color from ArdourButton; replace Active/Mid widget ↵Paul Davis
state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-05fix scroll wheel handling on both gain faders and parameter controls in ↵Paul Davis
automation track headers git-svn-id: svn://localhost/ardour2/branches/3.0@10903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21Simple ambiguitity-resolution wrapper for gettext; use forCarl Hetherington
Manual (#4496). git-svn-id: svn://localhost/ardour2/branches/3.0@10720 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-13Snap new automation points on audio lanes (part of #4297).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10570 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-30fixes for 98% of all the warnings/errors reported by OS X gcc on tigerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-07Don't create new regions on clicks on MIDI plugin automationCarl Hetherington
tracks (#4298). git-svn-id: svn://localhost/ardour2/branches/3.0@10062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-13Fix non visibility of previously-visible MIDI automationCarl Hetherington
tracks on session reload. git-svn-id: svn://localhost/ardour2/branches/3.0@9863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-11clean up GUIObjectState API, and use bools when setting "visible" property ↵Paul Davis
rather than string (not that it matters); don't unconditionally set visible to true unless a non-hidden track/bus has no visibility property already git-svn-id: svn://localhost/ardour2/branches/3.0@9843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10Fix erroneous characters in automation time axis view GUIObjectState IDs ↵Carl Hetherington
(#4157). git-svn-id: svn://localhost/ardour2/branches/3.0@9832 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10fix #4004 - AutomationTimeAxisView wasn't deleting its StreamView in its ↵Paul Davis
destructor, leaving a dangling set of objects hanging around after route deletion. Worth noting that the playlist, region(s) and source of the deleted track remain in existence, which is almost certainly wrong but i'll file a new bug for that git-svn-id: svn://localhost/ardour2/branches/3.0@9829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-07improve layout of automation track controls boxPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-07introduce GUIObjectState; massive, pervasive changes in visibility and ↵Paul Davis
height management for track displays in the editor git-svn-id: svn://localhost/ardour2/branches/3.0@9796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-23fix crash when open automation track for MIDI CC ***BUT** its clear that ↵3.0-alpha8Paul Davis
automation tracks are still broken in a deep way, and particularly for MIDI CC git-svn-id: svn://localhost/ardour2/branches/3.0@9764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-12implement a delete operation that works like "cut" but doesn't put the ↵3.0-alpha6Paul Davis
deleted items in the cut buffer. you will not be able to access this from your keyboard (Delete keyunless you remove your existing ~/.config/ardour3/ardour.bindings file git-svn-id: svn://localhost/ardour2/branches/3.0@9711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11major, substantive reworking of how we store GUI information (visibility, ↵Paul Davis
height) for automation data. old design stored (insufficient) identifying information plus actual data in a GUI-only XML node; new scheme adds GUI data via extra_xml node to each AutomationControl object. reworked public/private methods for showing/hiding TimeAxisView objects; changed labelling of automation tracks to just show the name of the controlled parameter - more info can be viewed in the tooltip for the track headers. NOTE: Session file format ALTERED. No data loss but track visibility may be different than previous ardour3 versions git-svn-id: svn://localhost/ardour2/branches/3.0@9703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02audio clock switchover part2: remove most egregious include-time dependency ↵Paul Davis
on audio_clock.h, and alter API for a few utilities along the way git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-23Fix a few missing drops of Route references.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17Fix addition of MIDI automation points (#3780).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17Clean up some confusion with AutomationControls in AutomationTimeAxisViews ↵Carl Hetherington
that have regions. git-svn-id: svn://localhost/ardour2/branches/3.0@8883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-17Minor tidying-up.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-27virtualize the way that AutomationController gets strings to display values, ↵Paul Davis
so that we can callback through the owner of an AutomationControl, not just rely on the value from the AutomationControl; make pan automation tracks use this to display more audio-centric values git-svn-id: svn://localhost/ardour2/branches/3.0@8590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-02add configurable colors to stereo panner, plus keybindings for zero width ↵Paul Davis
(0), 1 (alt-up) or -1 (alt-down), plus M when its mono git-svn-id: svn://localhost/ardour2/branches/3.0@8153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13make ardour3 build and link on OS X (tiger, at least)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-10-01Fix overflow within libgnomecanvas when passing in a coordinate > INT_MAX. ↵Carl Hetherington
Fixes #3370. git-svn-id: svn://localhost/ardour2/branches/3.0@7864 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-27Fix multiple creation of identical automation tracks. Fixes #3482.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus patch #2 for today: remove nframes64_t and sframes_t from sourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-09Allow drags of automation in time ranges where the automation is on a MIDI ↵Carl Hetherington
track and may span different regions. Fixes #3366. git-svn-id: svn://localhost/ardour2/branches/3.0@7765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-07Fix restore of fader automation from 2.X sessions.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-28Respect ignore_state_request in all cases on set_automation_state(). Fixes ↵Carl Hetherington
#3416. git-svn-id: svn://localhost/ardour2/branches/3.0@7704 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-11Hopefully fix up automation control point selection (finally).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06Fix up selection of automation points.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06Fix reset_objects for MIDI automation views.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05Support cut / copy / paste of MIDI automation.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7545 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05Clean up handling of track vs region automation a bit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04Allow rubberband selection of MIDI automation points. FixesCarl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-31Make Clear option work for MIDI automation tracks. Fixes part of #3137.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-14A few fixes to interpolation of MIDI controller data. Don't interpolateCarl Hetherington
when writing these data back to a source, otherwise surprising new interpolated points appear in MIDI automation. Similarly don't interpolate when reading the model during MIDI stretch. Fix handling of interpolation state; controllers that have been set by the user to use a different interpolation style are noted in the <Source> tag of the session file and this state is sprayed around to MidiModel and the GUI as necessary. git-svn-id: svn://localhost/ardour2/branches/3.0@7409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-25Make MIDI region `automation' respect the automation mode so that it isCarl Hetherington
only played back if the automation mode is set to "Play". Munge AutoState for AutomationRegionViews so that they reflect their AutomationTimeAxisView's setting. Fixes #3135. git-svn-id: svn://localhost/ardour2/branches/3.0@7304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-27Fix crash on clear option for automation tracks (#3195). Also fix state ↵Carl Hetherington
change signalling so that lines reappear on undoing a clear. git-svn-id: svn://localhost/ardour2/branches/3.0@7178 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-25Make discrete mode work for MIDI automation views. Fixes #3178.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7159 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-25Allow region-based automation axes to report whether theyCarl Hetherington
have automation data or not. Should fix #3177. git-svn-id: svn://localhost/ardour2/branches/3.0@7158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-22Handle automation modes better with region-based (MIDI) automation. Should ↵Carl Hetherington
fix #3135. git-svn-id: svn://localhost/ardour2/branches/3.0@7138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-11Fix track height menu.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-10Remove some dead code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
with the UI event loop and the execution of the callback (intrusive, big) git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf