summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_line.cc
AgeCommit message (Collapse)Author
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-05highlight area below automation lanesRobin Gareus
2016-06-05tweak API of SelectablePaul Davis
2016-05-27Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker ↵nick_m
slightly more efficient.
2016-05-27Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the ↵nick_m
audioclock tempo display.
2015-10-27another log-scale automation fixRobin Gareus
2015-10-28AutomationLine::drag_motion () returns any clamped fractions correctly.nick_m
2015-10-28Fix incorrectly placed control points (y-axis). fixes #6647.nick_m
- also use the return from AutomationLine::drag_motion () in anticipation of it correctly reporting its clamping to AutomationRangeDrag.
2015-10-20Select the control point about to be deleted when using shift + right click.nick_m
- fixes incorrect selection changes when doing this.
2015-10-05remove unused fstream includesRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-05fix log-scale for automation lanes.Robin Gareus
2015-09-05don't use gain-mapping (verbose-cursor) for plugin params.Robin Gareus
2015-06-21Automation selection fixes.nick_m
- display selected comtrol points in region gain lines - display selected points in internal edit mode - allow dragging of region gain lines in MouseContent mode
2015-06-19Don't begin command on start_grab for AutomationRangeDrag and NoteResizeDragnick_m
- fixes a crash when clicking to resize without movement. - minor readability fix for _drag_had_movement
2015-06-17More _reversible_command() auditing in the gui.nick_m
- try to keep begin/commit pairs in the same file where possible.
2015-04-26fix verbose cursor for db automation.Robin Gareus
2015-04-25fix automation lane for dB ranges other than fader.Robin Gareus
2015-04-25Trim Automation UIRobin Gareus
2015-03-26Clam points to valid values on drag end.David Robillard
Fixes bug #6214. It would be better to do this while dragging, but this would require rewriting much of the drag code to keep track of a cumulative y delta since the current position of points would be "sticky" and prevent any movement at all, so this will have to do for now.
2015-03-26Keep automation lines within their parent (#6215).David Robillard
2015-01-11Fix AutomationTrackItem rubberband click thinking it was unhandled.nick_m
Fix several other cases where a single mouse click could cause several (not nested) selection ops. Fix missing selection memento for midi notes and midi commands. Rename some variables. Fix random style issues.
2014-12-18Add editor selection state to session history via a SelectionMemento, whichnick_m
combines selection related editor properties with the current editor selection. The related editor properties are: mouse mode, zoom setting, left frame of the canvas, y origin of the canvas. Selection state now includes region views (storing the underlying region id) and time. This patch also fixes a region mute undo bug.
2014-12-14fixed merge conflictPaul Davis
2014-12-01Remove unused method.David Robillard
2014-12-01Make it compile with C++11 support.Julien de Kozak
Reference : https://bugs.webkit.org/show_bug.cgi?id=59249
2014-11-29Somewhat working gain automation.David Robillard
This probably isn't correct in several ways, but it works more than it did, so I figure it's push worthy. Still not working: * Saving mute automation list * Dragged control points are not snapped to model restrictions (boolean, in this case, but general problem) * Line goes funny if you record mute automation (as opposed to drawing it which works)
2014-11-28Show discrete/toggled automation as stepped line.David Robillard
2014-11-22Fix invisible discrete control points.David Robillard
2014-11-16Don't hide selected control points.David Robillard
There was already code for this, but actually setting the corresponding visibility flags seems to have been lost at some point.
2014-11-15Fix entering/editing MIDI region "automation" (controllers).David Robillard
Two issues: 1) AutomationRegionView not receiving events (CC breakage). 2) Entered values must be rounded to integer for MIDI controllers. This should be done more generically with ParameterDescriptor for all controls (also supporting boolean toggles and such), once ParameterDescriptor becomes more pervasive and takes over Evoral::Parameter, but this will do for now.
2014-11-02Display gain and midiNote plugin parameters/properties nicely.David Robillard
Show fancy values on generic GUI controls, automation lane controls, and automation lane verbose cursor. Fix text display of midiNote values. Make bigstep of midiNote parameters 12 (one octave). Add ARDOUR::value_as_string() as a stateless one-stop-shop for value printing.
2014-11-02Automation of LV2 plugin properties.David Robillard
Work towards ParameterDescriptor being used more universally to describe control characteristics.
2014-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-09-11fix a bunch of memory leaksRobin Gareus
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-22more canvas refactoring.Paul Davis
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it could theoretically be used by any derived type.
2014-06-21use newly factored canvas in gtk2_ardourPaul Davis
2014-06-07remove some 1920 tick constants and leave notes for some others.Robin Gareus
2014-06-07limit automation event density - fixes #5928Robin Gareus
Constrain control points to one per tick (1/1920 beats). Prior to this it was possible to set two values to the same time (interpolation and iteration failed).
2014-03-05when an automation/region gain line is hidden, so are its pointsPaul Davis
2014-03-05alter name of AutomationLine::show() to much more sensibly named ↵Paul Davis
::update_visibility()
2014-03-05remove debugging outputPaul Davis
2014-03-04fix/adjust logic used to display automation linesPaul Davis
2014-02-25fiddle with single pixel adjustments to time axis view item heights; fix ↵Paul Davis
region gain envelope visibility
2014-02-20use new "covers" threshold to make automation lines more grabbablePaul Davis
2014-01-15merge with masterPaul Davis
2014-01-15fix pan-width automationRobin Gareus