Paul Licameli
7c2a531486
New base classes of TrackPanel just for the bitmap backing and overlay system...
...
... to make it reusable by other classes.
Also, don't create a second DC when repainting TrackPanel.
2016-05-09 11:37:32 -04:00
Paul Licameli
5c0da4a3af
Fix returning reference to a temporary. Thanks to Henric Jungheim.
2016-05-09 10:38:40 -04:00
Steve Daulton
15fe07638e
Fix bug 1316
...
Improve effect descriptions for tone and chirp generator.
2016-05-09 09:20:06 +01:00
Henric Jungheim
3c83eab4d7
Fix uninitialized pointer in TrackPanel.cpp
2016-05-06 22:17:16 -07:00
Paul Licameli
5b2b6df936
Accessibility for time ruler
2016-05-06 21:39:19 -04:00
Paul Licameli
db137ddf76
wxWindow takes ownership of its wxAccessible, so we can use safenew.
2016-05-06 21:03:37 -04:00
Paul Licameli
2d925317b0
Show correct context menu for scrubbing phase 2x
2016-05-06 20:46:12 -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
e96b161d07
Ruler pusbutton text font a bit bigger for MSW
2016-05-06 13:12:42 -04:00
Paul Licameli
cfdd05db69
Pushbuttons work in scrub; click in numbers, QP disabled, does not stop scrub
2016-05-06 13:07:31 -04:00
Paul Licameli
5863a475a0
Fix drawing of bevels and outlines for ruler pushbuttons
2016-05-06 12:57:51 -04:00
Paul Licameli
ef7f3939be
Draw the menu triangles in the ruler pushbuttons filled always.
2016-05-06 12:47:08 -04:00
Paul Licameli
c5d42377b7
Scrub during play stops play, repositions play head
2016-05-06 12:38:41 -04:00
Paul Licameli
66454b7e4c
Fix status bar messages and disabling of pause button for scrubbing.
2016-05-06 12:17:33 -04:00
Paul Licameli
0d9d8a057d
Revert "Disable scrubbing when pause button is down."
...
This reverts commit 97fdce5f85e884cbe6f161963789694015cdf328.
2016-05-06 11:32:56 -04:00
Paul Licameli
97fdce5f85
Disable scrubbing when pause button is down.
2016-05-05 22:48:23 -04:00
Paul Licameli
014d5ab93c
Type safety in the use of command flags, and make enum wide, allowing more bits
2016-05-05 20:02:13 -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
4b2cc463be
Fix the unwanted hand cursor near bottom edge when scrub bar is on
2016-05-05 14:41:08 -04:00
Steve Daulton
f729975934
Update credit
...
as requested by Peter for no 'title' other than team member.
2016-05-05 10:37:59 +01:00
Paul Licameli
ba0b5a70a3
Bug1387: enable autoscrolling even when the track extends beyond the screen
2016-05-04 21:03:44 -04:00
Paul Licameli
0a0cbbba20
Mousing over the menu button of device meters (combined or separate) highlights
2016-05-04 10:59:18 -04:00
Paul Licameli
e1ee3185b5
Draw playhead at its old size; draw scrub head near bottom when no scrub bar
2016-05-03 23:58:48 -04:00
Paul Licameli
c9b5f6bc37
Fix some display problems in scrolling play: mitigate scrollbar flashing, and...
...
... modified click on the transcription toolbar button leaves the button with
the correct appearance.
2016-05-03 23:37:59 -04:00
Paul Licameli
ad2b4c3446
Enable scrolling play by double-click on either play button or QP area of ruler
2016-05-03 22:46:10 -04:00
Paul Licameli
f48694ef47
Move the code that scrolls during scrub out of Scrubbing.cpp
2016-05-03 22:43:19 -04:00
Paul Licameli
039aaa13a0
Play buttons can detect double clicks (but don't do anything special yet)
2016-05-03 21:28:39 -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
b4763d2608
Bug1325: A better fix that avoids platform dependent code and still ...
...
... distinguishes button state as we wanted to.
2016-05-03 14:49:08 -04:00
Paul Licameli
1910c9eda1
Bug1325: Drag-scrolling now works again on Mac. ...
...
... The explanation was not, as I had thought, that mouse capture is simply
broken in wxWidgets 3.0.2 for Mac.
Instead, it now appears that Leaving mouse events always falsely report no
buttons are down, which confused our code.
2016-05-03 14:18:00 -04:00
Paul Licameli
e67725f00f
Hide the quick play indicator and guideline when recording starts
2016-05-03 11:20:22 -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
2cbd1a6a2b
Revert "Triangle always, above numbers, for play position, even if scrubbing; ..."
...
This reverts commit 3d70be6cd632aa22521ed2108e07bd5ca02cada7, reversing
changes made to ebd9820b50c07d0eef98567b9fda4f629e4a5be4.
2016-05-03 11:01:22 -04:00
Paul Licameli
5135619373
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 10:55:34 -04:00
Paul Licameli
ebd9820b50
Highlight toolbar buttons for mouseover on Mac
2016-05-03 10:32:01 -04:00
Paul Licameli
b8e3d7bb5e
Fix build
2016-05-03 10:30:48 -04:00
Paul Licameli
9649e0bfe2
The ruler cursor (short vertical stroke at selection) should not change color...
...
... during play or record.
That bug was introduced at b19ed258e963c9342f0a573a3f054d9a8336f7fa
2016-05-03 09:58:31 -04:00
Paul Licameli
a332d3cba0
Left click in quick play area during scrubbing stops scrub, starts quick play.
2016-05-02 21:33:41 -04:00
Paul Licameli
939050018b
Remove "Right-Click for options"
2016-05-02 20:11:09 -04:00
Paul Licameli
da4fa1d965
Put the scrub bar below
2016-05-02 15:19:08 -04:00
Paul Licameli
4b6e48a26c
Scrubbing toolbar defaults off.
2016-05-02 13:00:27 -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
c55d1e7799
Fit both height and width when choosing the font size
2016-05-02 10:58:23 -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
0d30e51220
When starting a scrub, limit the x coordinate to track control area.
2016-05-02 10:08:24 -04:00