Ben Loftis
36f70d2bc2
Main Menu: some re-organization of session- and global-centric windows.
2017-07-21 14:44:37 -05:00
Robin Gareus
addcca9ff3
Fix recursion in FloatinTextEntry (amend f62c8c664d)
2017-07-21 18:58:51 +02:00
nick_m
2925fd52e5
Rework tempo marker editing menu functions
...
Setting a tempo to 'Continue' via right click puts it in a permanent state
of continuing the previous section's end tempo (basically what
'Lock Continue' should have been). This can be disabled (unlocked) by
selecting 'Don't Continue'.
Remove the previous temporary 'Continue' function.
Reorganise menu to separate position lock style from more commonly
used functions.
2017-07-22 02:15:20 +10:00
nick_m
1c51435fa3
Calculate clamped tempo stretch ratios using the correct (musical) domain
2017-07-22 02:15:20 +10:00
nick_m
1399ef391d
Remove redundant beat arg from TempoMap::add_meter
...
BBT time should be enough to determine the beat.
2017-07-22 02:15:20 +10:00
nick_m
515cdb6b32
Rework region selection XML
...
Ensures that selection is restored in the same object type order
it was created in, which may some day make a difference.
2017-07-22 02:15:20 +10:00
nick_m
1d8548306b
Cropping a single region to time selection works for multiple ranges
...
Should fix 7285.
2017-07-22 02:15:20 +10:00
nick_m
6e5c046f90
Fix time selection undo for multiple time selections
...
This is in mantis somewhere but i can't find it. timbyr?
2017-07-22 02:15:20 +10:00
nick_m
cadb5c481c
Disable tempo end/twist drag for meter-locked tempi
...
It was assumed that the drag takes place within an area of musical time.
This is not true for the space before any non-initial
meter-locked tempo.
In the case of the initial tempo, there is no previous section
to perform an end-drag on.
2017-07-22 02:15:20 +10:00
nick_m
0d9c4986e9
Only add a new tempo or meter on click if the primary modifier is pressed
...
Being able to add with any modifier can confuse a user who expected
a tempo-altering drag.
2017-07-22 02:15:20 +10:00
nick_m
2bec17ca1a
Remove duplicated tempo curve colour change when dragging
2017-07-22 02:15:20 +10:00
nick_m
d94c630134
Fix various issues wrt BBTRulerDrag
...
If we've clicked on a tempo bar before the initial tempo,
don't allow anything to happen.
If it was just a click, ensure the tempo curve colour is restored.
2017-07-22 02:15:20 +10:00
nick_m
33c06fd3ca
Indicate musical position lock style of regions and locations using BEAMED EIGHTH NOTES in name
...
Also attempt to indicate lock type with symbols CROSS OF JERUSALEM and
LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR
2017-07-22 02:15:20 +10:00
nick_m
29e580a249
Time info box updates its length display correctly over a tempo change
2017-07-22 02:15:20 +10:00
nick_m
fb761a6fa7
Rework time info box updates on region selection change
...
Should provide better performance as we now only listen for changes in the
selected regions. Testing every changed region to see if its in
the selection was not working very well under some circumstances.
2017-07-22 02:15:20 +10:00
nick_m
d1932b23b3
Call Editor::abort_reversible_command() in MidiRegionView::abort_command()
...
Fixes broken undo stack if no changes occurred.
Edit note dialog is currently the only user.
2017-07-22 02:15:20 +10:00
nick_m
e82e30992d
Remove double-nested reversible command when note editing
2017-07-22 02:15:20 +10:00
nick_m
964100e911
Fix both note length setting and display in EditNoteDialog
...
Length clock uses region relative time converter with offset to display
correct value over tempo changes.
Fix note length setting by using source time converter on a sample duration
based on a session-relative offset.
2017-07-22 02:15:20 +10:00
nick_m
c54978bd5c
Add missing braces to Editor::cut_copy conditional
2017-07-22 02:15:20 +10:00
nick_m
c9617b4b16
Editor::playhead_forward/backward_to_grid snaps even in magnetic mode
2017-07-22 02:15:20 +10:00
Robin Gareus
3d50563620
Properly propagate TAV TimeSelection
2017-07-21 15:49:28 +02:00
Robin Gareus
8400ebd175
Amend c242cbc318 (VCA automation button)
2017-07-21 13:01:43 +02:00
Robin Gareus
c242cbc318
Add automation button to VCA strip
2017-07-21 02:10:29 +02:00
Robin Gareus
f62c8c664d
Fix crash when renaming track to an invalid name
...
If the "Sorry I cannot do that" dialog is displayed from
FloatingTextEntry::use_text(), the entry is still visible and accepts
[focus] events. Also the dialog returns focus and multiple
idle_delete_self() will be called for an Entry that's already being
deleted.
2017-07-20 23:41:39 +02:00
Johannes Mueller
2f66899222
Equivalent fix for #7429 for the mixer
...
The previous commit addressed only the behavior of clicking a route in the
editor window. Now we handle the same issue in the mixer window.
2017-07-20 15:05:07 -04:00
Johannes Mueller
741c7229c7
Select the clicked route in the current mixer strip ( fixes #7429 )
...
Issue #7429 reports that that clicking a route of an already selected group
does not update the editor mixer strip selection. To fix this we call
Editor::set_selected_mixer_strip() at the end of
RouteTimeAxisView::selection_click();
The overhead of maybe calling it twice should be toleratable, as
::set_selected_mixer_strip() checks, if the route is already the current mixer
strip route before setting it.
2017-07-20 15:05:07 -04:00
Ben Loftis
611a150dfb
Editor Summary: Don't require user to re-click to scroll + zoom.
...
* Use conventions similar to those used in CursorDrag.
2017-07-20 14:15:40 -05:00
Johannes Mueller
0a462d1964
Rename the route in a route template when renaming the template
2017-07-20 20:10:23 +02:00
Johannes Mueller
b03ee727e9
Don't try to rename the route template state dir if it doesn't exist
2017-07-20 20:08:09 +02:00
Ben Loftis
40e2f9a68a
CursorZoomDrag rework:
...
* If the use-time-rulers-to-zoom option is enabled, -all- cursor drags can zoom.
* Behavior has been tweaked so it is easy to scroll without zooming, if you want to.
2017-07-20 09:51:26 -05:00
Ben Loftis
3b47a42127
Editor Summary: thinko in initial value
2017-07-19 15:44:14 -05:00
Ben Loftis
6666ea593d
Editor Summary: likely fix for crash-on-quit
2017-07-19 15:41:19 -05:00
Ben Loftis
394b30fe42
Editor Summary: Tweaks
...
* Only draw track bg lines if they will actually be recognizable.
* limit zoom-in capability of the summary box until it works correctly.
2017-07-19 15:37:59 -05:00
Ben Loftis
53fba8326c
Rationalize Editor Zooming: make it harder for user to step into ridiculous zoom-out scales.
2017-07-19 15:37:59 -05:00
Robin Gareus
1438086c6c
tweak "visible track count", take automation lanes into account.
2017-07-19 22:15:22 +02:00
Robin Gareus
92a1d3619b
Const'ness where const'ness is due
2017-07-19 22:15:22 +02:00
Robin Gareus
9a70e72f3d
Expose editor-vertical zoom lua bindings
2017-07-19 22:15:22 +02:00
Ben Loftis
1decc225c9
Editor Summary: fix yet another thinko in zoom direction.
2017-07-19 14:13:18 -05:00
Ben Loftis
29002b9ac9
Editor Summary: The view rectangle should never exceed the bounds of the scroll area.
2017-07-19 13:58:56 -05:00
Ben Loftis
0cb44f9d56
Editor Summary: fix thinko in mouse cursors (trim cursor).
2017-07-19 08:20:25 -05:00
Ben Loftis
255d633edd
Editor Summary: implement summary_zoom_step() to lessen redundant code.
2017-07-19 08:12:25 -05:00
Ben Loftis
1955ff3ad2
Editor Summary: fix direction of scroll zoom to match other conventions
2017-07-19 06:58:16 -05:00
Robin Gareus
5f485f964e
Fix OSX builds in the wake of the source-tree layout changes
2017-07-18 18:29:22 +02:00
Ben Loftis
ea05241771
Editor Summary: Changes to behavior
...
* Remove up/down buttons.
* Allow the summary to shrink smaller.
* Vertical drag results in zoom.
* Scroll-wheel results in zoom.
* Tweak mouse cursor to better indicate behaviors.
* ToDo: refactor the zooming code.
2017-07-18 10:37:35 -05:00
Robin Gareus
beb73edf55
Purify libcanvas, remove libardour dependency
...
A canvas is just a canvas. Move WaveView into its own library.
2017-07-17 21:06:04 +02:00
Robin Gareus
601c317d70
Clean up library inheritance (colors.h, utils.h)
...
make libwidget independent of libcanvas.
Confine basics to pbd and gtkmm2ext.
2017-07-17 21:06:04 +02:00
Robin Gareus
1f5ebc5485
Remove ArdourPrompter wrapper
2017-07-17 21:06:04 +02:00
Robin Gareus
eb1e423b75
Remove <gtkmm.h> include from header files.
2017-07-17 21:06:04 +02:00
Robin Gareus
f9e5e4360e
Move more Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
Robin Gareus
b5e9451bc7
Remove unused sources & includes
2017-07-17 21:06:04 +02:00