Paul Licameli
f21ad1ce49
Pinned playhead for recording is once again always center, not right
2016-06-08 18:08:51 -04:00
Steve Daulton
fca6285315
Add #include <algorithm> for Windows
2016-06-07 11:23:11 +01:00
David Bailes
78d7ce8aa7
Fix toolbar grabbers being in tab traversal
...
In commit 89e33da , the override of AcceptsFocus() was removed from the Grabber class so that ESC could cancel the dragging of a toolbar. However this meant that the toolbar grabbers were included in the tab traversal of the toolbars.
The fix is to override AcceptsFocusFromKeyboard, rather than AcceptsFocus().
2016-06-07 09:27:02 +01:00
Paul Licameli
d0d28143f7
Do not change selection when stopping non-scrub play
2016-06-06 14:18:47 -04:00
Steve Daulton
685300457c
Bass and Treble update residual changes
...
Just a bit that got left out of the last update commit
2016-06-06 18:40:47 +01:00
Steve Daulton
e9dcf3e5e2
Add real time preview to Bass and Treble
2016-06-06 18:29:10 +01:00
Paul Licameli
d1fe0a89b5
Scrub play button becomes a stop button when pressed...
...
... also the corresponding menu command can stop as well as start the scrub
or seek
2016-06-06 02:12:31 -04:00
Paul Licameli
fd9d6a8fcf
Set selection whenever scrub/seek stops by any means besides ESC key
2016-06-06 01:45:54 -04:00
Paul Licameli
8dab37de01
Scrub menu check items change pushed state of scrub toolbar buttons
2016-06-06 00:48:50 -04:00
Paul Licameli
fe335f3a2b
Status is "Scrubbing" or "Seeking" not "Playing" at button down
2016-06-05 10:51:55 -04:00
Paul Licameli
f5c4c85653
New scrubbing toolbar; remove ruler pushbuttons.
2016-06-05 01:03:24 -04:00
Paul Licameli
0e09f2ce04
Seek, scrub images have wider gap between the triangles
2016-06-04 20:04:09 -04:00
Paul Licameli
bbfc730399
No more left-click to seek
2016-06-04 20:04:09 -04:00
Paul Licameli
39d03424d0
Better tooltip messages for scrub bar...
...
"Click or drag to begin scrubbing"
or
"Click or drag to begin seeking"
before the button down,
"Move to scrub"
or
"Move to seek"
after the button down,
which also appear in the status bar
2016-06-04 20:04:09 -04:00
Paul Licameli
7d0517a9c9
Don't busy-wait (excess CPU usage) after stopping scrub
2016-06-03 08:34:39 -04:00
Paul Licameli
7efb1c7303
Fix crash at startup in Mac release build
2016-06-03 08:16:42 -04:00
Paul Licameli
ef62bc4e2a
Fix checkmarks and Start item in scrub handle context menu
2016-06-02 16:20:15 -04:00
Paul Licameli
364794fd68
Scrub handle changes appearance for seeking
2016-06-02 16:05:56 -04:00
Paul Licameli
bbb93a7400
One more alternate play button image, for seeking
2016-06-02 15:55:16 -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
ed7e52da44
Images for seek button (distinct from scrub)
2016-06-02 15:55:16 -04:00
Paul Licameli
63c7d47378
A certain string does not need translation
2016-06-02 11:26:05 -04:00
Paul Licameli
0dfee2106e
fix Windows build
2016-06-01 14:35:20 -04:00
Paul Licameli
eafc416d55
Remove double-click and scrolling menu items for scrub/seek...
...
... Use the toggle button on the ruler instead
2016-06-01 13:30:01 -04:00
Paul Licameli
d424be9a78
Add pin/unpin button to the time ruler
2016-06-01 13:25:02 -04:00
Paul Licameli
2d14867aa8
Images for pin/unpin of play/record head
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
e39da0c42b
New preference for pinned play head, also in Transport menu
2016-06-01 13:25:01 -04:00
Paul Licameli
fecc6f53e4
Consolidate the code that starts and stops play/rec head scrolling
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
123499cbb1
Don't use scrubbing poller thread on Linux, it's not safe yet
2016-06-01 13:06:01 -04:00
Paul Licameli
0ee65c0918
Remove superfluous code for changing transport button images
2016-06-01 12:00:56 -04:00
Paul Licameli
fbf09d2130
Make ToolBar button setup functions public and static
2016-06-01 11:50:34 -04:00
Paul Licameli
e6189aa851
Restore the highlighting of toolbar buttons for mouseover on Mac...
...
... which was lost at commit f1909cb88e
2016-05-30 16:32:49 -04:00
Paul Licameli
efc0e67934
Theme Preferences, Save Files overwrites all components after asking
2016-05-30 16:30:39 -04:00
Paul Licameli
8da61cdbb1
Revert "Restore the highlighting of toolbar buttons for mouseover on Mac..."
...
This reverts commit 6f62c032b1 .
2016-05-30 13:58:32 -04:00
Paul Licameli
6f62c032b1
Restore the highlighting of toolbar buttons for mouseover on Mac...
...
... which was lost at commit f1909cb88e
2016-05-29 16:20:51 -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
7d265dc3d4
Oops, revert unready work
...
Revert "new button images for time ruler"
This reverts commit 26ec0100a2 .
Revert "add button"
This reverts commit af5163025a .
Revert "ToolBar::MakeButton is public and static"
This reverts commit 668714942b .
2016-05-29 12:13:24 -04:00
Paul Licameli
26ec0100a2
new button images for time ruler
2016-05-29 11:59:38 -04:00
Paul Licameli
af5163025a
add button
2016-05-28 23:00:47 -04:00
Paul Licameli
668714942b
ToolBar::MakeButton is public and static
2016-05-28 22:55:15 -04:00
Paul Licameli
fbcdc6b28f
Scrolling drag scrub tracks the mouse much better
2016-05-28 12:15:32 -04:00
Paul Licameli
35b0502ce1
Don't let seek make a stutter at less than unit speed
2016-05-28 12:11:26 -04:00
Paul Licameli
a9a404c7cf
Further simplified argument passing
2016-05-28 12:02:16 -04:00
Paul Licameli
e4fadf4aaf
Improve scrubbing speed control (2 finger swipe) on Mac
2016-05-28 11:59:22 -04:00
Paul Licameli
af7a92c2ab
Improve scrub responsiveness: a secondary thread polls the mouse
2016-05-28 11:59:22 -04:00
Paul Licameli
9a256d3790
Don't let the consumers discard too much from the scrub queue...
...
Producer adds silences when needed, so that the accounting in Transformer()
is correct
2016-05-28 11:59:22 -04:00
Paul Licameli
b6764d1bf7
Reduce scrub lag yet more, at expense of possible skips in play...
...
by discarding work from the queue sometimes on the consumer side.
Also more careful mixed long - double arithmetic.
2016-05-28 11:59:14 -04:00
Paul Licameli
57fb3cd12c
Scrub lag: lock mutex not more than once per call to FillBuffers
2016-05-28 08:44:25 -04:00