summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_line.cc
AgeCommit message (Collapse)Author
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
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2013-01-07fix drags of a single control point in a line where that is the only control ↵Paul Davis
point git-svn-id: svn://localhost/ardour2/branches/3.0@13802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-19fix push-drags of automation data - previously we did not resync the model ↵Paul Davis
with the view for the points that were pushed (i.e. not selected, but moved anyway) git-svn-id: svn://localhost/ardour2/branches/3.0@13681 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-19minor tweaksPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-17substantive change to automation line dragging code to avoid O(N^4) ↵Paul Davis
behaviour. performance fixes are still required for realistically data-rich automation lines git-svn-id: svn://localhost/ardour2/branches/3.0@13515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-17Revert shade on playhead cursor (SVN 13048).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@13192 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-17add translucent "shade" to playhead cursor (may remove this in the future)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-13dramatic overhaul of automation. too long to explain here. this work is not ↵Paul Davis
finished - write/touch passes do not correctly overwrite existing data because the semantics of ControlList::insert_iterator need clarification. more to follow git-svn-id: svn://localhost/ardour2/branches/3.0@13038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-10provide some numerical data during automation trim (range) drags, and ↵Paul Davis
correct computation of y-fraction for such drags git-svn-id: svn://localhost/ardour2/branches/3.0@13011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-09remove extra unused argument to ::sync_model_with_view_point(s)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10Fix incorrect display of automation lines after points areCarl Hetherington
removed. git-svn-id: svn://localhost/ardour2/branches/3.0@12645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Fix incorrect automation point drags when a drag is started with push held ↵Carl Hetherington
and finished without it. git-svn-id: svn://localhost/ardour2/branches/3.0@12509 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Push of automation points is done on the GUI side, so no need to do it on ↵Carl Hetherington
sync as well. git-svn-id: svn://localhost/ardour2/branches/3.0@12508 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Remove some more unwanted roundings from control point frame to pixel ↵Carl Hetherington
conversions. git-svn-id: svn://localhost/ardour2/branches/3.0@12507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Allow movement of several vertically-colinear points at the same time.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12506 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Handle discontiguous control point selections properly when dragging.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12505 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31Remove suspect pixel-based control point x position clamping; this may cause ↵Carl Hetherington
issues in libart, so may need reverting. git-svn-id: svn://localhost/ardour2/branches/3.0@12504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29substantive change to try to provide some rationality for region gain line ↵Paul Davis
visibility (and automation line visibility in general git-svn-id: svn://localhost/ardour2/branches/3.0@12478 d708f5d6-7413-0410-9779-e7cbd77b26cf