summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
AgeCommit message (Collapse)Author
2015-11-04Improve behavior of overwrite_file_dialog.André Nusser
- Make overwrite file dialogs transient. - Cancelling the overwrite dialog doesn't close initial dialog.
2015-11-04no-op; reordering of class forward declarations in editor.h.André Nusser
2015-10-17Introduce "Transpose..." also in the context menu of selected notes.André Nusser
2015-10-08Fix "Select All * Edit Point" when used as shortcut. -fixes #6626André Nusser
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-10-04remove unused functionRobin Gareus
2015-09-28Revert "add new action and loop marker menu item for setting up loop record"Paul Davis
This reverts commit ebb43508f1ab75b7d7467e0e95cdd1c816cf3183.
2015-09-28add new action and loop marker menu item for setting up loop recordPaul Davis
2015-08-19Add missing actions from MB2 for Mike:Ben Loftis
Set-Loop-Start/End-From-Edit-Point Set-Punch-Start/End-From-Edit-Point
2015-08-06Added PT .ptf session audio import functionalityDamien Zammit
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-07-23rename Marker classRobin Gareus
Classes are in the global namespace. OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-06-29use Tracks' MainMenuDisabler during session lock (could be improved with ↵Paul Davis
more RAII)
2015-06-26make the quantize dialog persistent so that settings are retainedPaul Davis
2015-06-17Rename 'Cut time' to 'Remove time'Colin Fletcher
'Cut time' implies that the cut timeline items might end up on the clipboard to be pasted somewhere: this isn't the case at present, so rename the functions, class, &c. to say 'remove' rather than 'cut'. Rename insert_time_dialog.{cc|h} to insert_remove_time_dialog while we're at it.
2015-06-17Update 'Cut time' to match 'Insert time', and fix cut-time moving range markersColin Fletcher
Add options to move glued & locked markers to Editor::cut_time(), in line with the insert_time() implementation. Fix up the order in which operations apply to range marker start & end points, to avoid problems when a range which lies after the cut point is shorter than the length of the cut.
2015-05-23Fix inverted logic of SnapOff with snap modifiers pressed.nick_m
- also clean up, rename and comment some previous hanges.
2015-05-22More cleanupnick_m
- remove "no_magnets" ugh.
2015-05-17Relative Snap -make it activated by the tertiary modifier during drag.nick_m
Disabled/enabled with the shift key. no config stuff at all now. Move existing (strange) trim feature to primary + tertiary modifiers.
2015-05-17Relative snap - support magnetic mode (hackishly for now)nick_m
2015-05-16Relative snapnick_m
2015-04-27new actions: allow user to set session start and end to playhead locationBen Loftis
2015-04-21minor tweaks to Cut Time dialog. Use an enum to tell ↵ben
preferred_edit_location what to ignore, so cut and insert dialogs will never use mouse location.
2015-04-21Port 'Cut time' code from MixbusColin Fletcher
Copy the 'Cut time' code from Mixbus, making a few obvious fixes to work in A3 (e.g. nframes_t => framepos_t / framecnt_t). Seems to work to move & remove markers, tempo & meter markers, and regions on selected tracks. Still TODO: - use existing A3 'Insert time' dialogue - make it respect 'No selection = all tracks' - rename the command to something like 'Remove time' or 'Delete time': 'Cut' sounds to me as if the removed range should end up on the clipboard ready to be pasted somewhere, which of course it doesn't.
2015-04-21merge fix for tempo branchBen Loftis
2015-04-06rationalize incorrect design for removing tracks.Paul Davis
Still requires a way to make this work correctly from the mixer window
2015-03-19vertical scroll stop on automation lanesRobin Gareus
2015-03-13Right-clicking on the Loop/Punch ruler should "Do Something".Ben Loftis
2015-02-28prepare saving video-export settings.Robin Gareus
* migrate dialog from Editor to UI. * make it a WM proxied window * prepare applying state after construction..
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-12A few whitespace fixesColin Fletcher
A few trivial whitesapce fixes, including replacing leading spaces with tabs in editor.h.
2015-02-11Editor::sample_to_pixel() always returns an integer value, but it should use ↵Paul Davis
explicit rounding
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-12Fix broken whitespace (noop).David Robillard
2015-01-12Remove unused vertical scroll group.David Robillard
2015-01-11remove track-selection requirement so fit_selected_tracks works as coded. ↵Ben Loftis
change name to fit-selection. remove action to zoom (both axes) because this can trivially be accomplished by clicking (f)it and (z)oom sequentially, and it frees a keybinding. remaining bug: Fitting a selection of MIDI regions doesnt work right
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-07Fix internal/external snap type restoration.David Robillard
2015-01-07Factor out grid beat divisions.David Robillard
2015-01-07now that regions and range selections are exclusive, the separate actions to ↵Ben Loftis
set ranges or zoom to selections are redundant. save some menu entries and keybindings by consolidating them. also consolidate some code with new function get_selection_extents(). as a side-effect, this checkin fixes the assert failure in play_with_preroll
2015-01-07MusicalTime => Beats.David Robillard
2015-01-02Add automation track control points to undo history (and selection_op history).nick_m
2015-01-02Make editor undo/redo actions sensitive at appropriate times.nick_m
2015-01-02Separate selection operations into their own temporary history mechanism.nick_m
The user can now replay *all* earlier selection operations until the next session undo/redo command, or the completion of a new operation. Nothing relating to selection ops is stored, and selection operation history is begun on first idle. Selection operation history is fundamentally different from the history of operations which act on a selection in terms of both their viewport and the amount of information required to replay them. WRT undo, the user of a selection op doesn't care about the viewport state at the beginning of an op, but rather that at the end of the previous one.
2014-12-29Fix internal select all.David Robillard
2014-12-28MIDI transform dialog.David Robillard
2014-12-28apply font-scale to overall layout (rulers, track-header) - fixes #6088Robin Gareus