nick_m
715b178130
Improve bbt ruler drawing performance for large time ranges.
...
- when the timeline displays many bars, zoom/autoscroll
speed is improved by calculating the bbt ruler scale first
then requesting a suitably scaled grid.
2016-10-19 03:56:43 +11:00
nick_m
9698f16aee
Note selection state uses note event_id_t.
2016-10-15 23:50:02 +11:00
78d02eb620
Revert "Editor does not need to reset track/stripable selection, since Selection already maintains that itself"
...
This reverts commit 57652d7d50f706e2f0e525c6f48c1fc7830cf222.
2016-09-27 14:59:32 -05:00
238ca58c93
Editor does not need to reset track/stripable selection, since Selection already maintains that itself
2016-09-27 14:59:32 -05:00
c9ece0d6c6
use moved version of reset_focus()
2016-09-06 16:17:39 -04:00
nick_m
e689182a6a
Editor::get_grid_type_as_beats() returns the quarter note equivalent of BBT beat and bar.
2016-09-02 05:11:54 +10:00
nick_m
086096b465
Use quarter-note based 'beat' when snapping.
2016-08-31 23:12:11 +10:00
822810b88f
the endless quest to plug memory leaks -- episode 379
2016-07-25 17:38:59 +02:00
ac8f4baa00
add some flush_pending timeouts
2016-07-25 14:51:23 +02:00
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
da7d7f9502
many changes associated with rationalizing selection flow
2016-07-06 13:39:10 -04:00
2f71967be2
fix crash when loading a saved visual state
2016-07-05 23:49:50 +02:00
906f7e1edd
GUI doesn't need to listen to old ControlProtocol signals for stripable selection
2016-07-04 12:45:53 -04:00
8b142a2fd6
make Selection catch up with session/libardour-side selection status at session load
2016-07-02 16:09:19 -04:00
36d7e3c61b
fix use of removed Session::get_nth_stripable()
2016-07-02 16:08:58 -04:00
9f5d0930fc
use pane position mgmt on appropriate panes
2016-06-13 09:53:10 -04:00
nick_m
24f64b3ea7
Make exact beat calculation of tempi a bit less cumbersome. Move tempi on an audio basis for non-musical snap.
2016-06-12 02:46:13 +10:00
3eaa6c0389
remove certain ControlProtocol signals related to stripable selection
...
includes change to Mackie support so that strips listen for PropertyChange
on the stripables they represent, no global selection change used anymore.
2016-06-10 13:57:18 -04:00
5833576d5b
ensure that dropdowns in editor toolbar are populated at first use (with no existing config file to set them)
2016-06-06 14:29:58 -04:00
a0f0bdc063
try to keep editor+mixer treemodels in sync
2016-06-06 12:58:48 -04:00
ea05a66736
when adding a list of Stripables, sort them into PresentationInfo order first
2016-06-05 16:33:01 -04:00
c7d6262e9f
there is no PresentationInfo::global_order_t any more
2016-06-05 16:33:01 -04:00
2161c5d507
use new RouteGroup property names
2016-06-05 16:33:01 -04:00
260058a4a9
move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
...
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
3835b782b3
part three of using LocaleGuard with pane sizes
2016-06-02 08:17:20 -04:00
bac7a13d0f
the second half of using LocaleGuard with pane sizes
2016-06-02 08:09:34 -04:00
79a9be434c
add LocaleGuards to 2 places where we save pane sizes (which are floating point values now)
2016-06-02 08:04:08 -04:00
2562b4a2f0
handle old-version pane positions by ignoring them
2016-05-31 15:30:45 -04:00
76620819e0
use new pane API
2016-05-31 15:30:45 -04:00
cc88501d97
set minimum size for editor list
2016-05-31 15:30:45 -04:00
a26a85de14
set editor pane cursors
2016-05-31 15:30:45 -04:00
91a95b086a
initial sort-of-mostly-working integration of new Pane
2016-05-31 15:30:45 -04:00
482873760c
initial implementation of VCA time axis views
2016-05-31 15:30:44 -04:00
4cd6d52013
make Escape (cancel drag or selection) work in mixer as well as editor
2016-05-31 15:30:44 -04:00
8b48aff077
fix GUI handling of surface select requests to include possibility of selecting non-Routes
2016-05-31 15:30:43 -04:00
08f01085de
remove now-redundant control protocol route-selection signals
2016-05-31 15:30:43 -04:00
3eae4b0974
tweak Editor to use Stripable methods for control-surface-driven selection
2016-05-31 15:30:42 -04:00
e0ff70cf86
first vaguely working version using PresentationInfo
...
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
a598b4a708
use new paned-sizing strategy in editor
2016-05-31 15:30:41 -04:00
4d87503863
fix restoration of editor pane positions
2016-05-31 15:30:39 -04:00
nick_m
baf8f37967
Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker slightly more efficient.
2016-05-27 23:38:17 +10:00
nick_m
ccf6ce76d9
Tempo ramps - clean up tempo curve a bit.
2016-05-27 23:38:16 +10:00
nick_m
85c3284adc
Tempo ramps - add some right-click options to meter and tempo markers.
2016-05-27 23:38:15 +10:00
nick_m
354567e5a7
Tempo ramps - switch MusicLocked tempos to beat-based dragging. fix various bugs wrt future-snapped tempo drags
2016-05-27 23:38:12 +10:00
nick_m
a2797f4d38
Tempo ramps - use correct meter when snapping to the future.
2016-05-27 23:38:12 +10:00
nick_m
daa07ce6e0
Tempo ramps - tempos now musically snap to their future.
2016-05-27 23:38:12 +10:00
nick_m
340bd42c62
Tempo ramps - allow live updating of tempo markers.
...
- all a bit slow, but should be ok once we can lock
markers to frames.
2016-05-27 23:38:09 +10:00
nick_m
7fc3b0c34c
Initial stab at tempo ramps.
...
Replaces the list of points in TempoMap with TempoSection functions, which
compute tempo-at or tick-at time relative to tempo section start.
TempoMap consults them additively to determine things like bbt_time(),
frame_time() get_grid() etc.
This has a marked effect on scrolling speed along with the code simplification
in the places it has been attempted.
Several things are broken here.
Currently every ramp except the last one is an exponential ramp. this may
be simple to fix :).
Mouse-over midi grid doesn't match mouse click grid. should also be simple.
Many things seem to work, but their accuracy should be in question until
each area has been addressed.
2016-05-27 23:38:09 +10:00
a7d03731a2
initialize snap-mode dropdown text
...
"SnapOff" is the default, so no change is triggered when calling
set_active() and initially the dropdown/ardour-button remains blank.
2016-05-18 20:07:11 +02:00
098e8e551a
Don't save instant while loading instant.xml
...
opening a recent session from a session can result in: Editor::constructed
and session_loaded() being true. A partial instant_save can occur (not
to mention: invalid XMLnode iterators)
2016-05-18 20:06:20 +02:00