Ben Loftis
3332633d19
Editing from a control surface must have the ability to ignore mouse location.
...
Add mark_in and mark_out actions that explicitly use the playhead as the edit location.
2016-01-28 13:46:33 -06:00
Tim Mayberry
6ba6cce799
Refactor code into Editor::temporal_zoom_step_mouse_focus method
2016-01-21 11:25:56 +10:00
Tim Mayberry
08cbe0532c
Refactor scrolling in Editor ruler canvas area into two utility methods
2016-01-21 11:25:56 +10:00
Tim Mayberry
c6805c1454
Refactor scrolling track canvas in Editor class into two utility methods
2016-01-21 11:25:55 +10:00
André Nusser
6ccffbaf09
Improve behavior of overwrite_file_dialog.
...
- Make overwrite file dialogs transient.
- Cancelling the overwrite dialog doesn't close initial dialog.
2015-11-04 17:52:00 -05:00
André Nusser
e8a832f03f
no-op; reordering of class forward declarations in editor.h.
2015-11-04 17:52:00 -05:00
André Nusser
e807fe2b28
Introduce "Transpose..." also in the context menu of selected notes.
2015-10-17 22:12:55 -04:00
André Nusser
4c26225ddc
Fix "Select All * Edit Point" when used as shortcut. -fixes #6626
2015-10-08 13:46:22 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
95df99e6d4
remove unused function
2015-10-04 17:53:02 +02:00
Paul Davis
621fd845e6
Revert "add new action and loop marker menu item for setting up loop record"
...
This reverts commit ebb43508f1 .
2015-09-28 17:44:04 -04:00
Paul Davis
ebb43508f1
add new action and loop marker menu item for setting up loop record
2015-09-28 17:42:11 -04:00
Ben Loftis
84845833c1
Add missing actions from MB2 for Mike:
...
Set-Loop-Start/End-From-Edit-Point
Set-Punch-Start/End-From-Edit-Point
2015-08-19 14:53:35 -05:00
Damien Zammit
d686cb213f
Added PT .ptf session audio import functionality
...
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 00:28:35 +02:00
Robin Gareus
e1f168de11
rename Marker class
...
Classes are in the global namespace.
OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-07-23 17:58:40 +02:00
Paul Davis
a81bfbfc41
use Tracks' MainMenuDisabler during session lock (could be improved with more RAII)
2015-06-29 14:18:09 -04:00
Paul Davis
ee791f251a
make the quantize dialog persistent so that settings are retained
2015-06-26 12:47:11 -04:00
Colin Fletcher
b56bb944f6
Rename 'Cut time' to 'Remove time'
...
'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-17 17:15:21 +01:00
Colin Fletcher
721608aef3
Update 'Cut time' to match 'Insert time', and fix cut-time moving range markers
...
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-06-17 17:15:21 +01:00
nick_m
88477ace25
Fix inverted logic of SnapOff with snap modifiers pressed.
...
- also clean up, rename and comment some previous hanges.
2015-05-23 03:09:48 +10:00
nick_m
65e06fa350
More cleanup
...
- remove "no_magnets" ugh.
2015-05-22 04:26:16 +10:00
nick_m
c359f881a1
Relative Snap -make it activated by the tertiary modifier during drag.
...
Disabled/enabled with the shift key. no config stuff at all now.
Move existing (strange) trim feature to primary + tertiary modifiers.
2015-05-17 23:47:01 +10:00
nick_m
91a34c596d
Relative snap - support magnetic mode (hackishly for now)
2015-05-17 04:26:05 +10:00
nick_m
68a8330afc
Relative snap
2015-05-16 04:15:52 +10:00
Ben Loftis
4aace9be68
new actions: allow user to set session start and end to playhead location
2015-04-27 15:59:03 -05:00
ben
e2afdb21c3
minor tweaks to Cut Time dialog. Use an enum to tell preferred_edit_location what to ignore, so cut and insert dialogs will never use mouse location.
2015-04-21 10:22:28 -05:00
Colin Fletcher
84f0dceefb
Port 'Cut time' code from Mixbus
...
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-21 10:22:27 -05:00
Ben Loftis
91fac4c96d
merge fix for tempo branch
2015-04-21 08:35:20 -05:00
Paul Davis
803853b4a4
rationalize incorrect design for removing tracks.
...
Still requires a way to make this work correctly from the mixer window
2015-04-06 17:56:23 -04:00
Robin Gareus
6874bca886
vertical scroll stop on automation lanes
2015-03-19 20:32:59 +01:00
Ben Loftis
ffd32ae5e1
Right-clicking on the Loop/Punch ruler should "Do Something".
2015-03-13 16:25:59 -05:00
Robin Gareus
c90400364a
prepare saving video-export settings.
...
* migrate dialog from Editor to UI.
* make it a WM proxied window
* prepare applying state after construction..
2015-02-28 02:36:58 +01:00
Colin Fletcher
1973243a98
Separate out creation of xrun markers from Editor::mouse_add_new_marker()
...
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-12 18:06:16 +00:00
Colin Fletcher
7de6128169
Add tempo and meter editing functions to main clock context menu
...
Add 'Edit Tempo/Meter' and 'Insert Tempo/Meter Change' to the main clock's
context menu.
2015-02-12 18:06:16 +00:00
Colin Fletcher
ee6ecf9034
A few whitespace fixes
...
A few trivial whitesapce fixes, including replacing leading spaces with tabs in
editor.h.
2015-02-12 18:06:16 +00:00
Paul Davis
baf10dc4e3
Editor::sample_to_pixel() always returns an integer value, but it should use explicit rounding
2015-02-11 21:59:38 -05:00
nick_m
ff13ac8b4f
Clean up Session's _current_trans when aborting a drag.
2015-02-05 23:32:57 +11:00
David Robillard
b759fd5879
Put playhead on top of everything.
...
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-16 19:13:56 -05:00
David Robillard
1df6931e77
Fix broken whitespace (noop).
2015-01-12 01:05:01 -05:00
David Robillard
43e58911a4
Remove unused vertical scroll group.
2015-01-12 01:05:01 -05:00
Ben Loftis
c7affd79c2
remove track-selection requirement so fit_selected_tracks works as coded. 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-11 11:46:36 -06:00
nick_m
44203ce955
Fix AutomationTrackItem rubberband click thinking it was unhandled.
...
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-11 04:07:31 +11:00
David Robillard
2eef0612b9
Start step entry at playhead.
2015-01-07 20:46:21 -05:00
David Robillard
3a47d99f5f
Fix internal/external snap type restoration.
2015-01-07 19:51:18 -05:00
David Robillard
04bbe402b0
Factor out grid beat divisions.
2015-01-07 19:05:41 -05:00
Ben Loftis
a4f7c21ec3
now that regions and range selections are exclusive, the separate actions to 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-07 15:31:30 -06:00
David Robillard
2a251b4570
MusicalTime => Beats.
2015-01-07 00:12:07 -05:00
nick_m
884cc6f90c
Add automation track control points to undo history (and selection_op history).
2015-01-02 08:01:12 -05:00
nick_m
61315c314d
Make editor undo/redo actions sensitive at appropriate times.
2015-01-02 08:01:12 -05:00