1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-14 16:46:28 +01:00
Commit Graph

185 Commits

Author SHA1 Message Date
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
Paul Licameli
8a97468e5c Split up big event handling function 2016-04-30 19:08:35 -04:00
Paul Licameli
c87bc48de3 Avoid assertions if you hit R while dragging in the ruler, then left click again 2016-04-30 12:49:34 -04:00
Paul Licameli
b30093a606 Fix the bounce in play indicator when drag selection snaps to zero width...
... This problem was introduced at 3dec7153a3.

Also fix the mistake of painting to the wrong dc in some new code.
2016-04-30 09:47:09 -04:00
Paul Licameli
009884575c Revert "Show the hand cursor in the ruler only if quick play is enabled."
This reverts commit 3532bc227c.
2016-04-29 14:47:59 -04:00
Paul Licameli
3532bc227c Show the hand cursor in the ruler only if quick play is enabled. 2016-04-29 10:58:46 -04:00
Paul Licameli
adbe221920 Small improvement to drawing of the play region in the time ruler...
... that's the gray double headed arrow (or red, when locked).
When the arrowheads overlap, don't draw any shaft.
2016-04-28 17:48:34 -04:00
Paul Licameli
7c8398fafd Fix play button appearance during timeline quick play 2016-04-28 06:25:20 -04:00
Paul Licameli
042d6801df Context menu for scrub head shows checkmarks, and is available during scrub 2016-04-27 20:56:38 -04:00
Paul Licameli
adf4649f03 Enable scrubbing only when the scrub bar shows 2016-04-27 19:06:55 -04:00