summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_line.cc
AgeCommit message (Collapse)Author
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
2014-01-11fix merge with masterPaul Davis
2014-01-10Fix whitespace (no functional changes).David Robillard
2014-01-10finished merge of cairocanvas with windows and windows+cc branchesPaul Davis
2014-01-10Merge windows+cc branch into cairocanvas branch. Not finished, need to now ↵Paul Davis
merge windows branch to get changes from there
2013-12-31fix up visibility control for automation linesPaul Davis
2013-12-31just use show() and hide() to manage control point visibility in automation ↵Paul Davis
lines No need for the wierd old set_visible()/property_draw() stuff that was a hangover from gnomecanvas.
2013-12-28convert automation line from Canvas::Curve to Canvas::PolyLine (note: this ↵Paul Davis
means there is no actual use of Canvas::Curve now)
2013-10-30notable changes to try to improve most of enter/leave handling for canvas itemsPaul Davis
2013-10-03'gtk2_ardour' - 'std::isinf' + 'std::isnan' are not available in MSVC (at ↵John Emmas
least, not VC8)
2013-07-10Revert "replace "-inf" with UTF8 infinity symbol"Robin Gareus
This reverts commit 7f2000ec8b0d6e0d3a6e22db44a8859301d35791.
2013-07-10replace "-inf" with UTF8 infinity symbolRobin Gareus
2013-04-18reset xfade colors after theme changePaul Davis
2013-04-17remove all calls to Outline::set_outline_width (1) because this is "wrong" ↵Paul Davis
when using Cairo - the default is 0.5 and it can remain that way
2013-04-16change UIConfig to use accessor/setter methods like RCConfig so that ↵Paul Davis
ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
2013-04-12change all frame_to_pixel and pixel_to_frame to sample_to_pixel and ↵Paul Davis
pixel_to_sample
2013-04-12remove all unit-based methods from (Public)Editor; rationalize ↵Paul Davis
Editor::event_frame() to clearly identify whether the passed-in GdkEvent has window units or canvas units (the latter will be true for all events that are handled by the canvas and then passed to Editor
2013-04-11add (bezier) curves to canvas, use for automation lines; fix issue with ↵Paul Davis
rectangles missing their upper line segment; more cairo canvas fixes
2013-04-04commit immediately post linkingPaul Davis