13
0
Commit Graph

7974 Commits

Author SHA1 Message Date
99e15d9402 Make left-click on tempo/meter in main clock edit current tempo/meter 2015-03-09 19:17:52 +00:00
760e00b028 Remove useless parameters from MainClock constructor
Remove (always false) duration & is_transient and (always true) editable,
with_info & follows_playhead parameters from MainClock constructor, and just
pass the requisite true & false values along to the AudioClock constructor
instead.
2015-03-09 19:17:52 +00:00
ecd265222a Add/edit tempo/meter change at right position with 'delta to edit cursor'
Find the absolute position of the main clock when 'display delta to edit
cursor' is set when adding/editing tempo/meter changes from the context
menu.
2015-02-12 18:06:16 +00:00
24e8e865a6 Ignore playhead when finding delta from edit position for main clocks
Pass 'ignore_playhead == true' to Editor::get_preferred_edit_position()
when calculating offset of the primary and secondary main clocks if 'delta
to edit cursor' is selected, so that if the edit point is playhead, the
selected marker (if any) or mouse position will be used as the delta origin
instead.
2015-02-12 18:06:16 +00:00
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
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
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
16346296d3 windows: deploy suil modules 2015-02-12 17:37:24 +01:00
11cfdd4c6d remove use of TimeRectangle 2015-02-11 21:59:38 -05:00
9090057f6e When setting the duration of a TimeAxisViewItem, do not round before computing pixel width 2015-02-11 21:59:38 -05:00
baf10dc4e3 Editor::sample_to_pixel() always returns an integer value, but it should use explicit rounding 2015-02-11 21:59:38 -05:00
d92608b05f use magic strings instead of magic numbers (allow profiles to leave out some track type options) 2015-02-11 14:29:50 -06:00
b1f9b644fc desensitize redirect-menu Send and Control items when they are not applicable 2015-02-11 11:13:24 -06:00
b2d4c731e8 properly activating MIDI parsing for traced ports 2015-02-10 19:48:47 -05:00
266ac60941 skip drawing the first pixel of waves in an audio region view.
This means that they do no overwrite the frame border of the time axis item
2015-02-10 19:48:47 -05:00
99054ea415 fix previous commit 2015-02-10 14:54:43 -06:00
d273bb3de8 Track Mode is too vague; rename to Record Mode 2015-02-10 14:43:17 -06:00
e9e29bf2b0 flip the priority of input and output buttons and menus
left-click should show the simple input picker menu.
right-click shows the routing grid.
also reordered the menu to give lower precedence to {add/remove}-port
2015-02-10 14:43:17 -06:00
f131e15545 fixed collision with <SECONDARY>n binding 2015-02-10 14:43:16 -06:00
ef79d1c4d4 fix last cherry-pick 2015-02-09 14:46:20 -05:00
b2e93b8fba fix color and alpha of timestretch rect 2015-02-09 14:46:20 -05:00
abcd70c1d2 After dragging from multiple tracks to the dropzone, create the right number of new tracks.
This does not address the visual flattening that occurs before the drop
is complete. Doing that is complex and there is no immediate solution
visible. The result after the drop is complete is correct, however.

Conflicts:
	gtk2_ardour/editor_drag.cc
2015-02-09 11:03:03 -05:00
nick_m
b1dafe9a31 Properly deallocate memory when clearing selection_op_history and
before XMLNode*s.
Improve some comments.
2015-02-07 23:33:09 +11:00
af174c0519 when the user changes devices, notify the backend 2015-02-06 13:55:00 -06:00
ec37c83507 fixup cherry-picked changes from Waves Tracks, and fix for Ardour 2015-02-05 20:26:02 -05:00
7644533103 implement RangeMarkerBarDrag::abort
Conflicts:
	gtk2_ardour/editor_drag.cc
2015-02-05 19:34:31 -05:00
e6752fb729 implement MarkerDrag::abort() 2015-02-05 19:33:31 -05:00
7ffc06b08d fix issue with region dragging while mouse pointer is in rulers/marker lanes 2015-02-05 17:42:46 -05:00
927f5521ce ContentEdit drag on empty MIDI track should not create new midi regions 2015-02-05 12:24:11 -06:00
nick_m
ff13ac8b4f Clean up Session's _current_trans when aborting a drag. 2015-02-05 23:32:57 +11:00
nick_m
f9b2587458 Make redo action insensitive after new command.
Don't erroneously send first_move more than once after autoscroll drag.
2015-02-05 19:57:56 +11:00
40c8c26b79 remove duplicate callback
mcontrol->Changed is [also] subscribed to further below (input & output).
2015-02-04 18:04:33 +01:00
3e6eaa0656 Remove remaining LEVEL4 bindings 2015-02-01 17:21:02 -06:00
39b1b6d6dc Fix Session Export keybinding to call correct action (ExportAudio).
Still broken though, due to ongoing Mod4><Super binding confusion.
2015-02-01 16:59:01 -06:00
871904b648 fix cursor color for text entries 2015-01-30 10:26:27 -06:00
45f874cfab remove locate before loop, which was causing intermittent loop behavior 2015-01-30 10:26:27 -06:00
d79980d571 use Gtkmm2ext::possibly_translate_mod_to_make_legal_accelerator() in all cases where we use gtk_accel_groups_activate()
Because that function needs it, whereas the old gtk_window_activate_key() did not.
2015-01-30 11:08:56 -05:00
fe0254344f clarify sync-lock and disable it by default. 2015-01-30 10:43:56 +01:00
17b8d9836d don't wipe out SHIFT from event state when processing keyboard events, as done in a recent commit 2015-01-29 12:16:18 -05:00
f603ca174e in mixbus, treat the canvas rulers just like the canvas wrt mouse-wheel-zoom 2015-01-29 11:23:49 -06:00
59bbb8500b consolidate using SECONDARY+number bindings for region properties, such as gain, mute, etc 2015-01-29 11:03:54 -06:00
ff2ebf17b8 switch WINDOW bindings to use SECONDARY instead and displace any bindings that conflicted 2015-01-29 11:03:54 -06:00
dab3346623 use gtk_accel_groups_active() in preference to gtk_window_activate_key() since the latter behaves incorrectly
The window version will not activate bindings like <Mod4><Super>-space, whereas the former one works correctly. We already used
the former one just above, when handling "fakekeys".

Also add a utility function to show modifier state.
2015-01-28 21:03:03 -05:00
6b360950ce guess what?! 2015-01-28 23:50:07 +01:00
de85bfd857 fix #6117 - fader prelight 2015-01-28 02:22:52 +01:00
bc7b5844a9 fix printf format-security warning.
warning: format string is not a string literal (potentially insecure) [-Wformat-security]
2015-01-27 14:04:19 +01:00
0f46d7b107 ignore context menu click events, notably during drag but also for a couple of other purposes
Conflicts:
	gtk2_ardour/editor_canvas_events.cc
2015-01-26 16:39:22 -05:00
b9464fc4db remove unnecessary commented-out line.
Session is marked as in-deletion during deletion itself
2015-01-26 11:58:43 -05:00
47f8125b35 amend e3da18fd 2015-01-26 17:14:24 +01:00
208a2a1926 rename ARDOUR_UI::idle_load() to ARDOUR_UI::load_from_application_api() to correctly indicate function 2015-01-26 10:39:14 -05:00