summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
AgeCommit message (Collapse)Author
2015-02-12Separate out creation of xrun markers from Editor::mouse_add_new_marker()Colin Fletcher
Remove the is_xrun parameter from Editor::mouse_add_new_marker(), and just create the marker directly in ARDOUR_UI::create_xrun_marker(), so that xrun markers don't become automatically selected when they appear.
2015-02-12Add tempo and meter editing functions to main clock context menuColin Fletcher
Add 'Edit Tempo/Meter' and 'Insert Tempo/Meter Change' to the main clock's context menu.
2015-02-05Clean up Session's _current_trans when aborting a drag.nick_m
2015-01-16Put playhead on top of everything.David Robillard
Achieve this by adding a new hscroll group just for cursors. That requires a slightly smarter window_to_canvas() to deal with overlapping sensitive scroll groups. New rule is that scroll groups can overlap, but the most sensitive one found from the top down will be chosen to translate coordinates. This basically means don't overlap scroll groups with different sensitivities. In the presence of scroll groups, having a canvas-wide window_to_canvas() and/or canvas_to_window() fundamentally makes no sense. At some point in the glorious future we should kill those and use only item-relative coordinate translation.
2015-01-12Remove unused vertical scroll group.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.
2015-01-07Start step entry at playhead.David Robillard
2015-01-07Factor out grid beat divisions.David Robillard
2015-01-07MusicalTime => Beats.David Robillard
2014-12-25Context menu for applying edits to note selection.David Robillard
2014-12-24Add instrument selector to import dialog.David Robillard
Idea here is for importing large multi-track MIDI files to be immediately listenable upon play without tediously adding a ton of instrument plugins manually.
2014-12-18Enforce internal/external selection exclusivity.Ben Loftis
2014-12-18Remove internal edit mode and add "content" tool.David Robillard
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-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