summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
AgeCommit message (Collapse)Author
2014-11-16Use an enum for RoundMode instead of magic numbers.David Robillard
No functional changes in this one (for easier auditing), but towards having round up/down only if necessary modes, rather than kludging around that situation with a double round as we do currently.
2014-11-14Implement "multi-paste" for notes, regions, and automation.David Robillard
The idea here is that pasting several times to the same location doesn't make sense. Instead, the paste is appended past the last paste, snapped to the grid. This make it simple to replicate a given section a number of times, simply by copying once and pasting several times. This behaviour only appears when successive pastes are done to the same location (whatever the edit point is). When the paste point changes, the "multi-paste" state is reset. Boots 'n cats 'n boots 'n cats.
2014-10-21remove mouse zoom mode; bind z to zoom-to-rangePaul Davis
2014-10-16add tearoff reattach for the editorPaul Davis
2014-07-28alternate layout with a full-height editor-mixer, for mixbusBen Loftis
2014-07-14scroll up/down by tracks uses top edge as "focal point"; fix some other ↵Paul Davis
nasty code details
2014-07-07fix build after copy-n-paste/code change collisionPaul Davis
2014-07-07some code shuffling to make sure that cut mode always operates at the mouse ↵Paul Davis
location, with (maybe) the right regions
2014-07-07add functionality for cut toolPaul Davis
2014-07-03lots of keybinding changes. added a new action to allow removing markers at ↵Ben Loftis
the playhead location. numpad now allows you to access marks higher than 9. to locate to a marker, use the numpad decimal to start and end the operation - for example press .19. to locate to marker 19. also added alternate bindings for redo, delete, and several other alternates that will be needed in subsequent commits. tab is not working, using either Tab or nabla in the binding.in file
2014-06-28add RAII DisplaySuspenderRobin Gareus
2014-06-27add commentary on why PublicEditor::{_,}ensure_time_axis_view_is_visible() ↵Paul Davis
both exist
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-18a whole slew of changes related to centralizing and rationalizing cursor ↵Paul Davis
management. Debugging output left in place to help address the reports that will come in as people test this more
2014-06-13fix scrolling behaviour in track headers (event was stolen by rulers because ↵Paul Davis
event coordinates made it look as if the event happened there)
2014-06-09forward scroll events from track control headers to the canvas, to get ↵Paul Davis
consistent scroll behaviour (whatever that behaviour is)
2014-06-03remove useless groups from timebar area, clarify scroll group naming in editorPaul Davis
2014-06-03remove timebar canvas and just use a single canvas instead. This is just ↵Paul Davis
part one - lots of minor fixes to be done
2014-05-31towards region-trims preserving fade durationRobin Gareus
2014-04-10remove final reference to jack headersPaul Davis
2014-03-25most of the support for save/restore of visible track countPaul Davis
2014-03-24add optional arg to Editor::ensure_time_axis_view_is_visible() to "force" ↵Paul Davis
"make it visible as the top track" behaviour
2014-03-21first pass at quantizing vertical scroll to whole tracks.Paul Davis
Dragging regions vertically does the quantization BUT speed control is lacking and the region ends up on a track that is still invisible ... to be fixed as the sun rises.
2014-03-20big rework of scrolling, horizontal part considered almost 100% done.Paul Davis
Many more changes than I would typically like in a single commit, but this was all very intertwined. Vertical scrolling using track-stepping still to follow.
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