James Crook
b60fae4470
Fix some warnings on mac
...
These are mostly missing 'overrides'
2018-04-07 20:28:27 +01:00
James Crook
8ce8e7bcce
Bug 521 - Lower half of Waveform (dB) vertical scale does not show dB level.
...
Added a DbMirrorValue for two sided dB scale on Waveform VRuler when in dB view mode.
2018-03-24 20:35:08 +00:00
Paul Licameli
ab5ff9060b
More constructor arguments for RulerPanel
2018-02-21 19:21:03 -05:00
James Crook
a49f14ad02
doxygen. Class list completed for letter 'A'.
2017-11-09 18:32:29 +00:00
Paul Licameli
f4c3f19dd1
Bug1520: Correct TQP when snap-to-nearest second & region selection
2017-07-22 19:44:09 -04:00
James Crook
2a043c0b35
Add settable ruler colouring.
2017-04-26 22:32:09 +01:00
Paul Licameli
0113e6f44f
Remove naked new[] in: ondemand, toolbars, widgets
2017-03-17 17:52:45 -04:00
Steve Daulton
e239efe486
Fix bug 1531
2016-10-23 22:10:38 +01:00
James Crook
f9d269bcee
Change ScrubBar to ScrubRuler
...
This also makes it clearer in the code when we are dealing with a Toolbar ID (for the scrubbing toolbar) and when we are dealing with a button ID (for enabling/disabling the scrub ruler).
2016-08-22 12:25:36 +01:00
James Crook
59988357fb
Change default state of scrub bar. Make Togglable via QP.
...
1) Enable scrub bar by default, to increase visibility of the new feature.
2) Add 'Enable/Disable Scrub Bar' to QP right click menu.
Did not remove Scrubbing from transport menu, as to do so disables scrubbing.
2016-08-20 16:02:06 +01:00
James Crook
28f078dcf7
Bug 1486 - Show/Hide scrub-bar does not persist.
2016-08-20 14:59:36 +01:00
James Crook
eebe4a961e
Bug 1419 - Confusing and unnecessary widget change when clicking in Scrub Bar
...
Behaviour now is still (in my view) confusing, but the widget does update when you click and release and haven't moved yet, which it didn't do before.
2016-08-11 17:59:41 +01:00
Paul Licameli
71efb13161
Remove some naked new amd delete in: widgets
2016-08-08 07:51:26 -04:00
Paul Licameli
4375010983
Once again permit TAB navigation to pinned head button on Mac...
...
... But still don't let the ruler accept focus from a click on any platform
2016-07-06 15:54:19 -04:00
Paul Licameli
a0bb210dbe
Removing remaining code for focusable time ruler
2016-06-29 12:33:21 -04:00
Paul Licameli
4739f3e27b
Compensate for wxW 3 tab navigation deficiencies on Mac...
...
... using char hook event handlers. We don't need to go the extreme length
of patching wxWidgets source.
2016-06-25 19:14:05 -04:00
Paul Licameli
ae14cb0dbc
Allow tabbing to the button on the time ruler...
...
... by making the ruler and the upper tool dock part of one panel
2016-06-25 16:08:38 -04:00
Paul Licameli
b1ca48c23e
Scrub bar show/hide button on Scrubbing toolbar
2016-06-15 01:11:42 -04:00
Paul Licameli
f5c4c85653
New scrubbing toolbar; remove ruler pushbuttons.
2016-06-05 01:03:24 -04:00
Paul Licameli
364794fd68
Scrub handle changes appearance for seeking
2016-06-02 16:05:56 -04:00
Paul Licameli
6a3613e8e9
Implement scrub and seek buttons on ruler; redo scrub menu items
2016-06-02 15:55:16 -04:00
Paul Licameli
0dfee2106e
fix Windows build
2016-06-01 14:35:20 -04:00
Paul Licameli
d424be9a78
Add pin/unpin button to the time ruler
2016-06-01 13:25:02 -04:00
Paul Licameli
ff95bf1490
Remove double-click handling for scrolling play/record
2016-06-01 13:25:01 -04:00
Paul Licameli
525146268f
Remove the code for pushbuttons and keyboard navigation...
...
... It was too much reinvention of wheels!
2016-06-01 13:08:25 -04:00
Paul Licameli
8d8c7b7f00
Calls to time ruler button creation/update, but it does nothing yet
2016-05-29 12:14:17 -04:00
Paul Licameli
31557defa7
Correct the focusing of buttons as mouse moves. Unify the context menu code.
2016-05-12 15:06:54 -04:00
Paul Licameli
928e96c6cc
Fix assertion violations about double capture; while still making sure...
...
... that if you drag-scrub and ESC, you don't get a leftover white guide line.
2016-05-10 15:35:46 -04:00
Paul Licameli
80e19f2130
Ruler is in the ctrl+f6 cycle instead of reachable by arrows; experimental...
...
... flag for turning off navigability of the ruler.
2016-05-10 15:16:12 -04:00
Paul Licameli
19ef2f6681
Implement drag-scrub, compatibly with the existing move-scrub...
...
... Start scrub by click or double click on the scrub head; release button or
not; then move.
If you release before moving, you get scrubbing as before, controlled by
motion. Click or drag to switch in and out of seeking. Stop with ESC,
spacebar, etc. No change of selection.
But now if you drag, then scrubbing contines until you release the mouse or
otherwise stop with a key.
If by release of the mouse, then the selection changes as if by a click at
the last play position. If you hold shift, then, as if by shift-click.
If drag begins with a double-click, then the play head remains centered and
the track moves.
2016-05-10 09:37:10 -04:00
Paul Licameli
9ad9ea2ec3
Fix the flashing problems on Mac involving the quick play line...
...
... The main rule seems to be, during the repainting of one window, don't draw
onto any other DC for that or any other window. Don't refresh any other window.
2016-05-09 17:19:56 -04:00
Paul Licameli
f9dd6b4066
Reimplement the play/record indicator in the ruler as an overlay...
...
... fixing the lag between the green line and the triangle for scrolling play
2016-05-09 15:58:51 -04:00
Paul Licameli
d8e42b0af4
Reimplement the cursor mark in the ruler as an overlay
2016-05-09 15:28:33 -04:00
Paul Licameli
468026f9b4
AdornedRulerPanel inherits from OverlayPanel, doesn't need to manage the backing
2016-05-09 11:37:32 -04:00
Paul Licameli
5c3548528f
Make the Windows menu key work for the ruler
2016-05-06 18:21:15 -04:00
Paul Licameli
c616d433c2
Make key navigation to ruler work on Windows
2016-05-06 18:13:24 -04:00
Paul Licameli
52e7046b76
Keyboard navigability for ruler pushbuttons...
...
... Using left, right, (shift-)tab, ret, and also the numpad arrows and enter
2016-05-06 16:56:11 -04:00
Paul Licameli
519a2020ff
Navigation to and from the ruler using up and down arrow keys...
...
... This affects those keys (and NUMPAD arrows), also (shift-)ctrl-f6,
ctrl-home, ctrl-end (which are command-left and right on mac)
Those should be tested to ensure correct restoration of the yellow rectangle,
appropriately in the tracks or the ruler.
This should also be tested with and without the Tracks preference for cyclic
movement of the focus.
2016-05-06 16:50:24 -04:00
Paul Licameli
aa4e19e9f9
Split ruler pushbuttons; right click on either part always makes menu
2016-05-05 14:41:08 -04:00
Paul Licameli
67d3bb89cb
Define a place to insert a double-click action for the time ruler...
...
... also split out a function just for starting play.
2016-05-03 20:36:28 -04:00
Paul Licameli
143a5b84bc
Triangle always, above numbers, for play position, even if scrubbing; ...
...
scrub head in scrub bar when that shows, not above the numbers.
2016-05-03 11:05:53 -04:00
Paul Licameli
da4fa1d965
Put the scrub bar below
2016-05-02 15:19:08 -04:00
Paul Licameli
f346d40d79
Menu triangle appears in bushbutton when pointer is near bottom; ...
...
... and, again, use either mouse button on the push button.
2016-05-02 11:49:26 -04:00
Paul Licameli
cfe3142ffd
Highlight around pushbuttons for mouse-over
2016-05-02 11:41:45 -04:00
Paul Licameli
9a8c053e04
Improve the logic for tool tips
2016-05-02 10:51:11 -04:00
Paul Licameli
378634a189
Put the scrub bar enabling item back in the menu, topmost, before a separator
2016-05-02 10:40:08 -04:00
Paul Licameli
cac54a3b57
Right click on a ruler pushbutton pops up the appropriate menu, regardless...
...
... of the button's enabled state.
2016-05-02 02:01:02 -04:00
Paul Licameli
31eda6641b
If mouse moves into ruler pushbuttons, do not show the quick play indicator.
2016-05-02 01:41:33 -04:00
Paul Licameli
8cfa9e217f
Improve status bar messages and tooltips for pushbuttons
2016-05-02 01:41:33 -04:00
Paul Licameli
d3c0c94e17
Better choice of font size for time ruler pushbuttons
2016-05-01 17:28:08 -04:00