summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
AgeCommit message (Collapse)Author
2013-12-23fix redrawing of canvas with an optimized buildPaul Davis
Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number, which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events would be delivered to the canvas in an optimized build during drags (and maybe more).
2013-12-23vtl: do not lock audio [to video] when extracting audio-only.Robin Gareus
2013-10-16merge with master and fix 2 conflictsPaul Davis
2013-10-12export video-range: add to context menuRobin Gareus
2013-06-18switch samples_per_pixel to integer typePaul Davis
2013-06-14Merge branch 'master' into cairocanvasRobin Gareus
Conflicts: gtk2_ardour/editor_canvas.cc gtk2_ardour/imageframe_time_axis.cc gtk2_ardour/imageframe_time_axis.h gtk2_ardour/imageframe_time_axis_group.cc gtk2_ardour/imageframe_time_axis_group.h gtk2_ardour/imageframe_time_axis_view.cc gtk2_ardour/imageframe_time_axis_view.h gtk2_ardour/imageframe_view.cc gtk2_ardour/imageframe_view.h gtk2_ardour/marker_time_axis.cc gtk2_ardour/marker_time_axis.h gtk2_ardour/marker_time_axis_view.cc gtk2_ardour/marker_time_axis_view.h gtk2_ardour/marker_view.cc gtk2_ardour/marker_view.h gtk2_ardour/video_image_frame.cc gtk2_ardour/visual_time_axis.cc gtk2_ardour/visual_time_axis.h libs/canvas/canvas/circle.h
2013-06-14remove cruft - old CMT imageframe*Robin Gareus
2013-06-13merge with masterPaul Davis
2013-06-13vtl: make "Remove Video" insensitive if N/ARobin Gareus
2013-05-08merge with masterPaul Davis
2013-05-07various changes to window visibility mgmt, including use of the mixbus2 code ↵Paul Davis
for toggling editor + mixer windows. no longer attempt to track changes made outside of ardour, which is a lost cause
2013-05-02merge resolution with masterPaul Davis
2013-05-02fix operation of right-click on selected MIDI note to bring up the note ↵Paul Davis
editor. this is still not really right long term, but it is better than displaying the channel selector
2013-05-02remove CMT code - has not been used for years, and will become irrelevant ↵Paul Davis
with VTL and cairocanvas
2013-04-20remove Editor::redraw_measures to improve efficiency of tempo measure line ↵Paul Davis
redraws
2013-04-15remove all XML related API from canvas. it may have been useful during ↵Paul Davis
development, but it is just a distraction - we will NEVER be saving or restoring canvas state via XML or any kind of serialized state
2013-04-15fix markers so that the blue line spans both canvasesPaul Davis
2013-04-15Fix dragging objects on the canvas and remove redundant canvas groupsPaul Davis
Delivery of fake motion events to the editor needed the event coordinates to be in canvas space, as they are with "real" events. Editor and other objects had many redundant groups from timbyr's work on gnomecanvas to scroll by moving groups. We don't need this anymore with cairo-canvas (though possibly a stationay background group for the canvas might be useful again one day as in the SAE logo. Its implementation would be fairly different though, since we would have to explicitly move the group on every scroll, since nothing else ever moves on scroll). Also tweaks to text item placement, and switch TimeAxisViewItem from name_pixbuf to name_text, since ArdourCanvas::Text is already "pixbuf optimized".
2013-04-15a few changes to fix region dragging, all related to coordinate system ↵Paul Davis
handling, which is now much simpler with the new canvas; more debugging output when asked for
2013-04-12leftmost_position => leftmost_sample, current_page_frames => ↵Paul Davis
current_page_samples
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-11Merge branch 'master' into cairocanvasRobin Gareus
Conflicts: gtk2_ardour/editor.h gtk2_ardour/editor_canvas.cc gtk2_ardour/wscript
2013-04-11enable videotimeline by defaultRobin Gareus
2013-04-05master merge; new files not added after initial cairocanvas patch applicationPaul Davis
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-04-03vtl: video-monitor interactionRobin Gareus
* Menu > View > Video Monitor -- bi-directional communication with xjadeo for window-state and OSD. * fix saving state on session close (wait for xjadeo to terminate)
2013-03-28vtl: prepare audio offset on A/V importRobin Gareus
2013-03-13videotimlineRobin Gareus
squashed 694 commits from http://gareus.org/gitweb/?p=ardour3.git
2012-12-23make import dialog non-modalPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-26tweak Smart Mode to be more like Mixbus. Smart mode is just a modifier on ↵Ben Loftis
Object mode which provides Range selection in the top half of the waveform. probably lots of corner cases to clear up before its all over, but at least we can use Mixbus as a consistent target rather than making it all up again. git-svn-id: svn://localhost/ardour2/branches/3.0@13551 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-06-13Much simplier implementation of: "Show Toolbar" act immediately, i.e., even ↵Rodrigo Severo
when already maximized, changing this toggle changes whenever toolbar is shown or not. git-svn-id: svn://localhost/ardour2/branches/3.0@12695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12maximise-editor patch from Rodrigo:Paul Davis
* makes "View >> Toolbar When Maximized" act immediately, i.e., even when already maximized changing this toggle changes whenever toolbar is shown or not; * renames "Toolbar When Maximized" to "Show Toolbar" as it acts whenever editor has maximized space or not. git-svn-id: svn://localhost/ardour2/branches/3.0@12668 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-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Compile cleanly with clang.David Robillard
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC environment variables, e.g.: CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build git-svn-id: svn://localhost/ardour2/branches/3.0@12418 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-04-16Fairly major change to the way in which crossfades are handled;Carl Hetherington
they are now done with region fades, rather than separate objects. After this commit, Ardour will try to convert your session files to the new crossfade format, but will make a backup in your session folder first. If you have works in progress using Ardour 3 it is ***STRONGLY RECOMMENDED*** that you back up session files before updating to this commit. git-svn-id: svn://localhost/ardour2/branches/3.0@11986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-12remove menu items from the keybindings dialogBen Loftis
git-svn-id: svn://localhost/ardour2/branches/3.0@11654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30Don't autoscroll right if we are moving left, and vice versa; should fix #4676.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24Tidy up RegionLayeringOrderEditor a bit. Add GPL boilerplate. Make it ↵Carl Hetherington
respect edit groups (#3432). git-svn-id: svn://localhost/ardour2/branches/3.0@11324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-19new mouse mode (Draw (notes)); switch into internal mode when draw is ↵Paul Davis
selected; notably improve use of dbl-click to enter and exist internal/note edit mode git-svn-id: svn://localhost/ardour2/branches/3.0@11269 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-30centralize use of "from-context-menu" in ↵Paul Davis
Editor::get_preferred_edit_position(), and use it when pasting as well git-svn-id: svn://localhost/ardour2/branches/3.0@11118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07remove visible "sound notes" button,add Config parameter to control this ↵Paul Davis
(which then saves the state the user selected), add control to the prefs dialog git-svn-id: svn://localhost/ardour2/branches/3.0@10934 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-16Use a Drag class for midi note selection, so that itCarl Hetherington
gets autoscroll (#4474). git-svn-id: svn://localhost/ardour2/branches/3.0@10650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-15provide link-editor-and-mixer-selection option. gui implementation is ↵Paul Davis
slightly hacky because of the implicit endless loop that the link creates git-svn-id: svn://localhost/ardour2/branches/3.0@10624 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-10-20Save marker selection state in instant.xml (#4203).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10245 d708f5d6-7413-0410-9779-e7cbd77b26cf