1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-14 08:36:27 +01:00
Commit Graph

185 Commits

Author SHA1 Message Date
Paul Licameli
d91f825424 Restore correct resizing of the time ruler for the scrub bar button
This was broken at ae14cb0dbc
2016-07-12 15:26:40 -04:00
windinthew
e97568db1b More access key fixes. Better Pinned tooltip. 2016-07-12 15:05:48 +01:00
Paul Licameli
4375010983 Once again permit TAB navigation to pinned head button on Mac...
... But still don't let the ruler accept focus from a click on any platform
2016-07-06 15:54:19 -04:00
Paul Licameli
a0bb210dbe Removing remaining code for focusable time ruler 2016-06-29 12:33:21 -04:00
Paul Licameli
10f77bc763 Bug1416, again: Time ruler should not steal focus when clicked 2016-06-28 16:50:29 -04:00
Paul Licameli
4739f3e27b Compensate for wxW 3 tab navigation deficiencies on Mac...
... using char hook event handlers.  We don't need to go the extreme length
of patching wxWidgets source.
2016-06-25 19:14:05 -04:00
Paul Licameli
ae14cb0dbc Allow tabbing to the button on the time ruler...
... by making the ruler and the upper tool dock part of one panel
2016-06-25 16:08:38 -04:00
Paul Licameli
de9579dbe9 Bug1193: Mac font sizes as in 2.1.1 for ruler, sel toolbars 2016-06-22 14:21:04 -04:00
Paul Licameli
e2fe709928 Fix assertion on Windows opening ruler menu during scrub 2016-06-21 09:10:27 -04:00
Paul Licameli
f94612e655 Bug1395: restore the white quick-play guideline 2016-06-19 17:38:42 -04:00
Paul Licameli
4fb51cad07 Click to switch to seek works again, but only in ruler or track panel 2016-06-17 15:21:03 -04:00
Paul Licameli
8a0c34e96b Eliminate the special case of dragging scrub/seek 2016-06-17 15:14:51 -04:00
Paul Licameli
b1ca48c23e Scrub bar show/hide button on Scrubbing toolbar 2016-06-15 01:11:42 -04:00
Paul Licameli
16933363fe Update ruler button status messages if changed by keystroke and...
... pointer is in it
2016-06-12 00:00:04 -04:00
Paul Licameli
9d33d12423 Ruler button tooltip can use Mac special chars 2016-06-12 00:00:03 -04:00
Paul Licameli
f5c4c85653 New scrubbing toolbar; remove ruler pushbuttons. 2016-06-05 01:03:24 -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
7efb1c7303 Fix crash at startup in Mac release build 2016-06-03 08:16:42 -04:00
Paul Licameli
364794fd68 Scrub handle changes appearance for seeking 2016-06-02 16:05:56 -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
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
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
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
af5163025a add button 2016-05-28 23:00:47 -04: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 5b2b6df936.
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
5b2b6df936 Accessibility for time ruler 2016-05-06 21:39:19 -04:00