1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 08:59:28 +02:00

627 Commits

Author SHA1 Message Date
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
ff95bf1490 Remove double-click handling for scrolling play/record 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
0ee65c0918 Remove superfluous code for changing transport button images 2016-06-01 12:00:56 -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 26ec0100a29f5b90656f77a48d18dd7987bef395.

Revert "add button"

This reverts commit af5163025a19c334e2f8151f16c75acaa705e913.

Revert "ToolBar::MakeButton is public and static"

This reverts commit 668714942ba61a652e335973c416c4cba8f6234f.
2016-05-29 12:13:24 -04:00
Paul Licameli
af5163025a add button 2016-05-28 23:00:47 -04:00
Gale Andrews
8dba1ca2f9 Update hostname and directories - fixes Bug 1394
So this fixes the Help button in Contrast also. 

It does not fix hardcoded links which will still go to the "wrong" (released)
Manual in alpha builds.
2016-05-23 03:19:10 +01:00
Paul Licameli
9e2916a80b Better implementation of switch from scrub to quick play; ...
... also, don't ever draw the scrub handle while dragging the quick play
region.
2016-05-18 11:58:57 -04:00
Paul Licameli
465b743fd3 Bug1365: Do not confuse Linux key event handling...
... So click on QP during scrub had to be implemented without relying on
SafeYield() when stopping play.
2016-05-18 10:08:46 -04:00
Paul Licameli
c66262d790 Double click on Record button pins record head right, not center 2016-05-17 12:25:39 -04:00
Paul Licameli
0602343a2d Make drag scrub less sluggish (do less redrawing) 2016-05-15 16:41:24 -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
9055681f11 Right click on the scrub handle pops up the menu, during scrubbing too 2016-05-11 18:58:37 -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
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
1135ca5a3a Revert "Accessibility for time ruler"
This reverts commit 5b2b6df9361205e38ad8daf5ba9ad477709a8641.
2016-05-09 19:41:02 -04:00
Paul Licameli
e8a244343e Merge branch 'master' into scrubbing2 2016-05-09 17:49:29 -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
5c0da4a3af Fix returning reference to a temporary. Thanks to Henric Jungheim. 2016-05-09 10:38:40 -04: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
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
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
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
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
e67725f00f Hide the quick play indicator and guideline when recording starts 2016-05-03 11:20:22 -04:00