1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 14:52:34 +02:00

5173 Commits

Author SHA1 Message Date
Paul Licameli
ac05b190be Ruler indicators redone to avoid flashing on Mac and lag behind track play head
* overlays:
  Fix the flashing problems on Mac involving the quick play line...
  Reimplement the play/record indicator in the ruler as an overlay...
  Reimplement the cursor mark in the ruler as an overlay
  Insert calls to DrawOverlays() on the ruler, though they do nothing yet
  AdornedRulerPanel inherits from OverlayPanel, doesn't need to manage the backing
  New base classes of TrackPanel just for the bitmap backing and overlay system...
2016-05-09 17:20:33 -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
3466e91ed1 Insert calls to DrawOverlays() on the ruler, though they do nothing yet 2016-05-09 11:37:32 -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
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
3569851609 Merge branch 'master' into overlays 2016-05-09 11:36:57 -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
Paul Licameli
ac7159ce8f Merge pull request #132 from henricj/trackpanel_uninitialized_ptr
Fix uninitialized pointer warning in TrackPanel.cpp
2016-05-07 11:21:36 -04: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
185fd34d13 Merge branch 'master' into scrubbing2 2016-05-06 21:05:05 -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
e59617f176 Show correct context menu for scrubbing phase 2x 2016-05-06 20:46:42 -04:00
Paul Licameli
2d925317b0 Show correct context menu for scrubbing phase 2x 2016-05-06 20:46:12 -04:00
Paul Licameli
38eab236b6 Merge branch 'master' into scrubbing2 2016-05-06 20:44:24 -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
4425620f4a Merge branch 'scrubbing2'
* scrubbing2:
  Keyboard navigability for ruler pushbuttons...
2016-05-06 16:57:34 -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
cbb8d3c968 Merge branch 'master' into scrubbing2 2016-05-06 16:52:45 -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
db35301a00 Various drawing and event handling improvements for the time ruler...
Ruler pusbutton text font a bit bigger for MSW
  Pushbuttons work in scrub; click in numbers, QP disabled, does not stop scrub
  Fix drawing of bevels and outlines for ruler pushbuttons
  Draw the menu triangles in the ruler pushbuttons filled always.
2016-05-06 13:13:36 -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
ae68f16af6 Merge branch 'master' into scrubbing2 2016-05-06 12:43:44 -04:00
Paul Licameli
c97b4b1289 Scrub during play stops play, repositions play head 2016-05-06 12:39:16 -04:00
Paul Licameli
c5d42377b7 Scrub during play stops play, repositions play head 2016-05-06 12:38:41 -04:00
Paul Licameli
3531073251 Fix status bar messages and disabling of pause button for scrubbing...
Reverts "Disable scrubbing when pause button is down."
2016-05-06 12:18:06 -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
509f7291cd Disable scrubbing when pause button is down. 2016-05-05 22:48:59 -04:00
Paul Licameli
97fdce5f85 Disable scrubbing when pause button is down. 2016-05-05 22:48:23 -04:00
Paul Licameli
f7765a5068 Merge branch 'master' into scrubbing 2016-05-05 22:28:56 -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
a0a6f26b9c Ruler: better button appearance and behavior, fix minor cursor problem 2016-05-05 14:41:47 -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
Paul Licameli
7fbae2a1aa Merge branch 'master' into scrubbing2 2016-05-05 14:40:44 -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
343f9d82e7 Draw playhead at its old size; draw scrub head near bottom when no scrub bar 2016-05-03 23:59:39 -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
3347f2af70 Merge branch 'master' into scrubbing2 2016-05-03 23:45:14 -04:00
Paul Licameli
ac5e6a021d Fix some display problems in scrolling play: mitigate scrollbar flashing, and... 2016-05-03 23:38:59 -04:00