1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 17:11:20 +01:00
Commit Graph

294 Commits

Author SHA1 Message Date
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
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
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
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
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 3d70be6cd6, reversing
changes made to ebd9820b50.
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
9649e0bfe2 The ruler cursor (short vertical stroke at selection) should not change color...
... during play or record.

That bug was introduced at b19ed258e9
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
60e3791a22 Ruler tooltips no longer appear outside of the ruler 2016-05-02 05:22:55 -04:00
Paul Licameli
cac54a3b57 Right click on a ruler pushbutton pops up the appropriate menu, regardless...
... of the button's enabled state.
2016-05-02 02:01:02 -04:00
Paul Licameli
31eda6641b If mouse moves into ruler pushbuttons, do not show the quick play indicator. 2016-05-02 01:41:33 -04:00
Paul Licameli
8cfa9e217f Improve status bar messages and tooltips for pushbuttons 2016-05-02 01:41:33 -04:00
Paul Licameli
a914c92935 Don't forget to translate 2016-05-01 17:33:17 -04:00
Paul Licameli
d3c0c94e17 Better choice of font size for time ruler pushbuttons 2016-05-01 17:28:08 -04:00
Paul Licameli
24bb190e21 Various appearance changes for scrubbing: ...
Hyphenate "Quick-Play" in pushbutton
Outline pushbuttons
Different tooltip text for the scrub bar
Right click on pushbuttons as for left click, don't open context menu
2016-05-01 15:09:32 -04:00
Paul Licameli
f014e0400c Event handling for the new pushbuttons, and remove the interim pop-up menu 2016-04-30 22:51:02 -04:00
Paul Licameli
49693fa6b6 Improve the logic for status messages 2016-04-30 22:48:54 -04:00
Paul Licameli
055c33459c Draw the Quick Pay and Scub Bar pushbuttons 2016-04-30 22:48:54 -04:00
Paul Licameli
e1352d599f Avoid assertions if you drag in time ruler, and then...
... either hit a shortcut key for scrubbing or release mouse over the hidden
menu area; and the left click in the ruler again.
2016-04-30 22:48:54 -04:00
Paul Licameli
2a257fc9bf Move a few steps in the construction of TrackPanel and AdornedRulerPanel 2016-04-30 22:48:54 -04:00
Paul Licameli
5c4fe3ca99 Fix bug in previous, so that quick play starts from the correct position again 2016-04-30 22:46:51 -04:00