1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

5147 Commits

Author SHA1 Message Date
Paul Licameli
f93dd21302 Allow pausing and unpausing of scrub. Just treat it differently internally. 2016-05-11 20:00:20 -04:00
Paul Licameli
737e24e24e Allow pausing and unpausing of scrub. Just treat it differently internally. 2016-05-11 19:59:11 -04:00
Paul Licameli
6d44d4e390 Merge branch 'master' into scrubbing 2016-05-11 19:06:53 -04:00
Paul Licameli
861ba06f2a Right click on the scrub handle pops up the menu, during scrubbing too 2016-05-11 19:05:27 -04:00
Paul Licameli
9055681f11 Right click on the scrub handle pops up the menu, during scrubbing too 2016-05-11 18:58:37 -04:00
Paul Licameli
9d88e8d8fc Merge branch 'master' into scrubbing2 2016-05-11 18:57:10 -04:00
Paul Licameli
03ec020085 Revert "Help for debugging of some event handling"
This reverts commit 9bfd66b06ca908efe9bd3adfd7f78cf143d18688.
2016-05-11 13:46:32 -04:00
Paul Licameli
9bfd66b06c Help for debugging of some event handling 2016-05-11 13:25:00 -04:00
Steve Daulton
2cd3a5d751 Display Audio Position when stopped
When play is stopped, display the start of play region as the 'Audio Position' in Selection Toolbar.
2016-05-11 17:46:39 +01:00
Paul Licameli
0cca33ad58 Fix assertion violations about double capture; while still making sure... 2016-05-10 15:36:40 -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
5d533b59c7 Merge branch 'master' into scrubbing2 2016-05-10 15:34:32 -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
Steve Daulton
7d7865c1a6 Update generated autotool files 2016-05-10 18:29:28 +01:00
Paul Licameli
4394ad1b70 Add a check item to Tracks menu for the scrolling beyond zero preference 2016-05-10 12:47:34 -04:00
Paul Licameli
9f8e34ad0f Implement drag-scrub, compatibly with the existing move-scrub...
Also fix scroll-scrub and remove obsolete mouse preferences messages
2016-05-10 09:40:06 -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
5944391e24 Let's commit to EXPERIMENTAL_SCRUBBING_SMOOTH_SCROLL 2016-05-09 23:21:56 -04:00
Paul Licameli
a3b7305386 Remove obsolete instructions in Mouse Preferences for scrubbing 2016-05-09 23:16:07 -04:00
Paul Licameli
cc0190054c Fix regression in scroll scrub 2016-05-09 21:53:32 -04:00
Paul Licameli
1135ca5a3a Revert "Accessibility for time ruler"
This reverts commit 5b2b6df9361205e38ad8daf5ba9ad477709a8641.
2016-05-09 19:41:02 -04:00
Paul Licameli
8a5e6f47f4 Better updating of the white guideline for scrub, and hiding it when scrub stops
Accessibility for time ruler
2016-05-09 19:38:17 -04:00
Paul Licameli
34d0a52011 Better updating of the white guideline for scrub, and hiding it when scrub stops 2016-05-09 19:35:23 -04:00
Paul Licameli
e8a244343e Merge branch 'master' into scrubbing2 2016-05-09 17:49:29 -04:00
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