Pokechu22
b7d6077af5
Implement Shift+Right-click for full extent on the note track VRuler
2017-07-03 18:25:13 -04:00
Pokechu22
0e21143cee
Implement scrolling for the note track vertical ruler
...
Command zooms in/out, and shift moves up and down.
2017-07-03 14:23:13 -04:00
James Crook
aa8be0c413
Make it easier to start a new selection at a split line.
...
If you hover exactly above the split line, you now get a pointing hand icon and status message, allowing you to start a selection at the split line more easily.
2017-06-30 13:17:21 +01:00
Paul Licameli
8f50940b91
Restore turning-off highlighting label glyph when mouse leaves it...
...
But inelegantly!
It was broken at commit 828d9c3ccd
Nicer solutions in progres...
2017-06-30 00:14:41 -04:00
James Crook
dc1193a0af
Split lines now only show over middle third of track height.
...
This allows selection and clicking on split lines to merge clips to act independently. It also means we don't need a portmanteau explanation in the status line, and the action to select up to a split line is simpler and easier to explain.
2017-06-29 17:04:59 +01:00
Paul Licameli
f3e31eca8b
Simplify SelectHandle ctor; make frequency snapping functions static
2017-06-28 21:44:19 -04:00
Gale Andrews
138c188fb4
Message now says merge to match with Undo History
2017-06-29 01:31:29 +01:00
James Crook
2f3530e1f8
Fix verbosity in status message.
2017-06-29 00:00:50 +01:00
Gale Andrews
17b705f2d8
Status bar help for selecting from a split line
...
Any ideas for shortening the new message welcome. Sometime, status bar messages want transforming to sentence case as intended.
2017-06-28 17:50:20 +01:00
David Bailes
d8930f00b5
Fix Windows build - simple fix
2017-06-28 09:57:00 +01:00
Paul Licameli
6684c7b9b0
More careful use of weak pointers to tracks in UIHandles
2017-06-28 01:46:59 -04:00
Paul Licameli
e2f0a16839
TrackButtonHandle keeps weak_ptr to the cell
2017-06-28 01:46:58 -04:00
Paul Licameli
b0c6a67c33
TrackPanelMouseEvent stores shared_ptr to cell; some handles too...
...
... those handles that force a simulated button-up when play interrupts drag,
and can assume that pointers to tracks remain nonNULL and part of the current
project state (not the undo history).
Also pass shared_ptr to Track into more hit test routines.
2017-06-28 01:46:56 -04:00
Paul Licameli
708d84ac22
CommonTrackPanelCell::FindTrack returns shared_ptr
2017-06-27 23:09:35 -04:00
Paul Licameli
b3208ab12d
Restore status message "Click and drag to select audio"
2017-06-27 22:35:19 -04:00
Paul Licameli
bce3571372
Redo hit test priorities in TrackPanel...
...
Zoom tool takes precedence;
Otherwise do special hits appropriate to the track subclass -- and only
WaveTrack here uses Tools toolbar state, and now disallows clicks on things
when they are not drawn because the view is spectrogram;
Finally, default to right button zooming in Multi tool, or to time shift in
that tool, or to selection adjustment in Multi or in Select tool.
2017-06-27 08:26:07 -04:00
Paul Licameli
9e0010ec5f
Time track editing requires click on the curve in multi tool...
...
... and it will also work so, later, in all tools besides Zoom.
2017-06-27 08:26:07 -04:00
Paul Licameli
24ebf27bb6
Cursor change and status message for mouse over label text boxes
2017-06-27 08:16:09 -04:00
Paul Licameli
828d9c3ccd
Simplify label track hit tests
2017-06-27 08:16:09 -04:00
James Crook
6dc52c3d7a
Fix Windows build.
2017-06-26 22:47:38 +01:00
Paul Licameli
f8b74db76e
Iterators over TrackPanelCell give shared_ptr
2017-06-26 17:14:33 -04:00
Paul Licameli
58fea6d520
null check uses of CommonTrackPanelCell::FindTrack
2017-06-26 16:39:14 -04:00
Paul Licameli
28b40e02fb
Manage TrackPanelResizerCell by shared_ptr, no singleton
2017-06-26 16:39:07 -04:00
Paul Licameli
35ce499ce1
Manage TrackControls and TrackVRulerControls by shared_ptr; ...
...
... they are not singletons; and the back-pointers to their Tracks are weak.
2017-06-26 16:34:10 -04:00
Paul Licameli
fa5a742e22
weak_ptr not events to avoid dangling track pointers in UIHandles
2017-06-25 13:35:15 -04:00
Paul Licameli
d37de4a96c
Bug1665: Pan, Gain, Velocity were unresponsive except on last track
2017-06-22 13:42:59 -04:00
Paul Licameli
24dbf989ad
Bug1667: fix right-click on vertical ruler, waveform views
2017-06-22 11:26:28 -04:00
Paul Licameli
ffbc4d5f90
Simplify iterations over TrackPanelCells with range-for
2017-06-17 03:01:40 -04:00
Paul Licameli
c1612d6842
Fix WaveTrack menu (ID collision, item names, enabling)
2017-06-15 11:02:28 -04:00
Paul Licameli
770b3b52ef
TrackPanel no longer implements the selection tool or MIDI stretch...
...
This one's big!
Also restores the effect of ctrl-click on label track.
Also adds ESC key handling for the Stretch.
2017-06-15 08:54:59 -04:00
Paul Licameli
efdb9889b1
TrackPanel no longer implements label keystrokes, drags, text selection...
...
... also implemented ESC key for those drags
... temporarily loses the special CTRL click handling
2017-06-15 08:54:58 -04:00
Paul Licameli
703abe87bc
TrackPanel no longer implements track selection click or rearrange drag...
...
... also implement ESC key for the drag
2017-06-15 08:54:57 -04:00
Paul Licameli
46b97084eb
Move note track control panel click handling out of TrackPanel.cpp
2017-06-15 08:54:55 -04:00
Paul Licameli
e4627b1668
TrackPanel no longer implements other mouse wheel actions
2017-06-15 08:21:42 -04:00
Paul Licameli
8ef5f696d8
Define BackgoundCell, move some things into it
2017-06-15 08:21:41 -04:00
Paul Licameli
91e6239eeb
Move code for vertical ruler clicks, drags, popup menus, scroll wheel
2017-06-15 08:21:40 -04:00
Paul Licameli
a313bcdb11
Move code for Wave track menu items
2017-06-15 08:21:40 -04:00
Paul Licameli
ba5f6ce411
Move code for Note track menu items
2017-06-15 08:21:39 -04:00
Paul Licameli
01d5d30b7e
Move code for Label track menu items
2017-06-15 08:21:38 -04:00
Paul Licameli
516d812f3a
Move code for Time track menu items
2017-06-15 08:21:38 -04:00
Paul Licameli
0e5e7b1c05
Move code for common track menu items
2017-06-15 08:21:37 -04:00
Paul Licameli
1a317af2f5
Move code for handling the menu button out of TrackPanel, but...
...
... Still to do, move out the code for menu items. They remain accessible
from Shift-M but not from the menu button.
And ESC key is now implemented.
2017-06-15 08:21:36 -04:00
Paul Licameli
c3f5fea5fc
TrackPanel still draws Miminize and Close, but no longer handles...
...
clicks on them...
... also implemented ESC key for those drags
2017-06-15 08:21:36 -04:00
Paul Licameli
7cab380192
TrackPanel still draws Velocity, but no longer handles clicks on it...
...
... also implemented ESC key for that drag
2017-06-15 08:21:35 -04:00
Paul Licameli
a569476e79
TrackPanel still draws Gain and Pan, but no longer handles clicks on them...
...
... also implemented ESC key for those drags
2017-06-15 08:21:35 -04:00
Paul Licameli
5ee73f944d
TrackPanel still draws Mute and Solo, but no longer handles clicks on them...
...
... also implemented ESC key for those drags
2017-06-15 08:21:34 -04:00
Paul Licameli
c6e7e5d99b
Define a base class that will be useful for several track control sliders
2017-06-15 08:21:34 -04:00
Paul Licameli
d28b8f072b
Define a base class that will be useful for several track control buttons
2017-06-15 08:21:33 -04:00
Paul Licameli
f89cbefc7b
Temporary hack lets us defer encapsulation of track control panel drawing...
...
... while we can work on encapsulating the click-drag actions.
2017-06-15 08:21:33 -04:00
Paul Licameli
43968c4ac9
TrackPanel no longer implements clip joining or cutline expansion/deletion...
...
... also implement ESC key for these and added status bar message for
mouse-over
2017-06-15 08:21:30 -04:00