summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_region_view.cc
AgeCommit message (Collapse)Author
2013-05-02remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything ↵Paul Davis
deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works
2013-03-21fix nasty crash when using double-nested compound (consolidated) regions ↵Paul Davis
caused by not (re)allocating enough mixdown buffers; fix up various warnings from valgrind about mismatching operator delete[] by using shared_array<T> rather than shared_ptr<T>, as should have been the case all along
2012-12-14keep region trim handle layered on top of crossfade areaBen Loftis
git-svn-id: svn://localhost/ardour2/branches/3.0@13670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-14code cleanup; crossfade shape drawing is now more closely associated with ↵Ben Loftis
the fade-in shape rather than a separate thing. could probably be consolidated into fewer functions, but this is an interim step for testing. Also remove the use-current-fade-shape option which is not meaningful in new model git-svn-id: svn://localhost/ardour2/branches/3.0@13669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-13crossfade hack and slash. removed overlap checks, overlap mode, default ↵Ben Loftis
length, fade_is_xfade, fade_is_short, and other leftovers from previous crossfade models. Draw crossfade drags in realtime so fade_line is no longer needed. remove code for hiding crossfades during a drag. moved crossfade rect to top layer so crossfade lines dont grab mouse focus. drag-trim-with-fixed-fade-anchor is partially implemented and needs discussion git-svn-id: svn://localhost/ardour2/branches/3.0@13659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-20Always Play Range is now Follow Edits, and is based on Mixbus ↵Ben Loftis
implementation. Added menu item. Follow Edits button replaces Auto Play; removed the connector between play and play-range. Some Smart Mode changes came along for the ride but will be cleaned up shortly git-svn-id: svn://localhost/ardour2/branches/3.0@13537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13remove a bunch of cerr output and/or convert to use error<<Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-27fix erroneous use of scoped_ptr where scoped_array should be usedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13353 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-29trying to track down why undo doesn't remove xfade rendering on OS XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-10outline fade in/out handles in black (#3828)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-04Don't show previously hidden xfades when finishing a regionCarl Hetherington
drag; should fix #4982. git-svn-id: svn://localhost/ardour2/branches/3.0@12987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-17Simplify management of waveform visibility / shape / scale;Carl Hetherington
fixes #4727, I think. git-svn-id: svn://localhost/ardour2/branches/3.0@12743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-15Re-show all xfades that we hide during drags (#4933).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-02Fix non-updated ordinary fade-outs during trim dragsCarl Hetherington
(#4903). git-svn-id: svn://localhost/ardour2/branches/3.0@12537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-29arguably cleaner tweak to previous commitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12479 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
2012-05-22merge new symmetric curve from mixbus, fix errors in fade out slow curve, ↵Paul Davis
tweak display of xfades so that the non-upper-fade is slightly less dominant (alpha) git-svn-id: svn://localhost/ardour2/branches/3.0@12384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-11remove some debug noise from previous commitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-11switch to 5 new fade curves, taken from mixbus2 branch. make xfade context ↵Paul Davis
menus functional even though the images are not accurate git-svn-id: svn://localhost/ardour2/branches/3.0@12253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10don't trim regions in conjunction with xfade trimming unless auto-xfade and ↵Paul Davis
full-overlap-xfades are selected git-svn-id: svn://localhost/ardour2/branches/3.0@12245 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10a number of tweaks to make xfade GUI stuff better in several different ways, ↵Paul Davis
notable during region trims and region drags git-svn-id: svn://localhost/ardour2/branches/3.0@12240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10fix height of xfade renderingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12239 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10fix dragging of end xfadesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12237 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-10basic xfade draggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09correctly save & restore xfade statePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-08framework for handling events on the xfade rectsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-07return of the visible xfade rect - doesn't do anything yet, howeverPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12203 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-07hide xfades while dragging region(s)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12202 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-01mostly backup-oriented commit to preserve very initial pass at rendering ↵Paul Davis
fades-as-xfades in a more useful way. quite a bit of work to do here git-svn-id: svn://localhost/ardour2/branches/3.0@12129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09Use shared_ptr for a region view's gain line.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-15make region gain line visibility global, not per-regionPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11492 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-16Copy local state in AudioRegionView copy constructor. Fixes #4047.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-16Remove unused constructor.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-16restore zero line visibility; change selected region colors back to 2.X versionPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9157 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-03deframe audio regions as well as MIDI when entering internal edit modePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20No-op; coding style.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-14patches from lincoln to speed up the regionlist and provide region removal ↵Paul Davis
(causes dangling shared ptrs to regions, fix to come git-svn-id: svn://localhost/ardour2/branches/3.0@8845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08Tidy up region view colouring code slightly.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08Remove always-true should_show_selection code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8769 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18Hopefully fix visual glitches on dragging fade ins/outs.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18Further fade handle twaeks.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-18Tweak positioning of fade handles.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8296 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-11-25Fix some messed up code (spacey tabs).David Robillard
(There is faar more of this... FIX YOUR EDITORS!) git-svn-id: svn://localhost/ardour2/branches/3.0@8086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16Small cleanups.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8047 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-09Move some methods out of Editor into RegionView.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7981 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-22much craziness with canvas cursors; fix 0 beat cursor text when shortening ↵Paul Davis
notes; fix crash when trimming locked regions; don't show trim cursors when region is locked; partial version of enumwriter validation fix from 2.X (less necessary with 3.0; probably more ... git-svn-id: svn://localhost/ardour2/branches/3.0@7831 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-14remove Glib::ustring from gtk2_ardourPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7774 d708f5d6-7413-0410-9779-e7cbd77b26cf