1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39:27 +02:00

471 Commits

Author SHA1 Message Date
Paul Licameli
dd327cd304 More abstract toolbar positioning types, to be generalized later 2016-06-12 10:27:51 -04:00
Paul Licameli
036c13149b The two toolbar positioning functions are simpler and more similar 2016-06-12 08:25:45 -04:00
Paul Licameli
0e0df1f2ff Edit toolbar tooltips mention shortcut keys 2016-06-12 00:00:04 -04:00
Paul Licameli
c1a22816f8 Tooltip for Transcription play button mentions the shortcut...
... but only for the version without shift or ctrl modifier key.

Should it mention those others too?  It might get too long.
2016-06-12 00:00:04 -04:00
Paul Licameli
1f72f8db18 Tools toolbar buttons mention shortcuts in status messages 2016-06-12 00:00:04 -04:00
Paul Licameli
e844b07a46 All Toolbars define RegenerateTooltips; invoke during project init...
... and UpdatePrefs
2016-06-12 00:00:04 -04:00
Paul Licameli
5f8fad4a48 Transport button tooltips with shortcuts use Mac special chars 2016-06-12 00:00:03 -04:00
Paul Licameli
203ddfd1a1 Center toolbar dock indicator triangles on edge of rectangle 2016-06-11 16:32:24 -04:00
Paul Licameli
64ad732aee Removed some unused members, made some members const 2016-06-11 16:31:38 -04:00
Paul Licameli
82cf9b3ab6 Don't increase width when a toolbar is repeatedly docked and undocked 2016-06-11 16:29:25 -04:00
Paul Licameli
f21ad1ce49 Pinned playhead for recording is once again always center, not right 2016-06-08 18:08:51 -04:00
Paul Licameli
d1fe0a89b5 Scrub play button becomes a stop button when pressed...
... also the corresponding menu command can stop as well as start the scrub
or seek
2016-06-06 02:12:31 -04:00
Paul Licameli
f5c4c85653 New scrubbing toolbar; remove ruler pushbuttons. 2016-06-05 01:03:24 -04:00
Paul Licameli
bbb93a7400 One more alternate play button image, for seeking 2016-06-02 15:55:16 -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
ff95bf1490 Remove double-click handling for scrolling play/record 2016-06-01 13:25:01 -04:00
Paul Licameli
e39da0c42b New preference for pinned play head, also in Transport menu 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
fbf09d2130 Make ToolBar button setup functions public and static 2016-06-01 11:50:34 -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
668714942b ToolBar::MakeButton is public and static 2016-05-28 22:55:15 -04:00
Paul Licameli
36e5b4fbbc AudioIOStartStreamOptions includes the sample rate 2016-05-22 15:27:35 -04:00
Paul Licameli
de13e27cdd Correction: commit 465b743fd32bd431f2f69fc13a060d4e73f34fa9 fixes bug 1391 2016-05-18 11:11:23 -04:00
Paul Licameli
da8973570b Don't pop record up if you click it twice; also may fix moonphase...
... reported by Peter:  sometimes stop button gets disabled during record
2016-05-18 10:59:38 -04:00
Paul Licameli
e1f4ab6af6 Double-click record with overdub pins record head center not right 2016-05-17 13:21:39 -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
95ccc417d8 Scrolling display for (append-) record, if you double click 2016-05-17 01:47:52 -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
c9b5f6bc37 Fix some display problems in scrolling play: mitigate scrollbar flashing, and...
... modified click on the transcription toolbar button leaves the button with
the correct appearance.
2016-05-03 23:37:59 -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
9ab0e42f29 Control scrub with motion, click, drag, wheel almost anywhere in main window...
... if the event is not handled and skipped by sub-windows first, such as for
toolbar button clicks.

(But track panel clicks are skipped even after doing something, so they may
also cause seeking besides other responses.  So click can seek AND set cursor.)

This is meant to make drag to seek and wheel for change of speed easier,
without needing to keep the mouse in the narrow time ruler.

Also lets you click in the ruler, then move in any direction, and not miss the
motion event that should start the scrub playback.

The event handling is a bit of a hack, using propagation.  It does not use
capture.
2016-04-26 12:12:06 -04:00
Paul Licameli
cd57e0a26c Scrubbing phase 2. Scrub starts with click on the indicator in the ruler...
... and works in any of the six tools.

Click and drag in select tool during scrub works just as when not scrubbing.

Seeks now only if you left-click or drag in the ruler, but this may change.

Mouse motion anywhere on the screen controls scrub as before.

No mouse clicks in TrackPanel are used by scrubbing.

The Ctrl-Click in TrackPanel is now unused.  Should 2.1.0 behavior be restored?
That was click to quick play, redundant with click in the (lower part of) the
ruler.
2016-04-26 12:12:06 -04:00
Paul Licameli
0071db6f53 Hide quick play indicator when other playback starts...
... but it can reappear when mouse moves.  You may still select a quick play
region during play, to jump playback.
2016-04-25 12:00:58 -04:00
Paul Licameli
d34715d6ad Various other drags could crash Mac debug build if you option-W. Fixed too...
... And I think this fix is now exhaustive.
2016-04-25 01:49:54 -04:00
Paul Licameli
6147705199 Vary status string (leftmost in the status bar) for the four kinds of scrub. 2016-04-24 16:13:07 -04:00
Paul Licameli
1fe0bbf7dc Uncheck scrubbing menu items whenever scrub stops (ESC key, Stop button, other) 2016-04-24 11:59:01 -04:00
Paul Licameli
42bdc274dd Resizing of meter toolbars (docked or undocked) responds to ESC key 2016-04-24 01:01:44 -04:00
Paul Licameli
fad249a603 ESC key can abort the rearranging of toolbars. 2016-04-23 22:10:02 -04:00
Paul Licameli
01001fdea9 New alternative appearance for the transport toolbar play button, for scrubbing 2016-04-19 17:34:38 -04:00
Paul Licameli
ce95bce85a Bug991: Pause button and command should be disabled during scrubbing...
... and they will be as soon as ctrl-mouse down.
2016-04-18 21:49:27 -04:00
Paul Licameli
4fc4f529a0 Bug1053: Meaningful status bar messages for scrubbing 2016-04-18 19:28:56 -04:00
Paul Licameli
d5915491b3 Bug1342: Loop-play (and other things) before scrub (and other things)...
... should not disable auto-scrolling of the window during playback.
2016-04-18 17:50:17 -04:00
Paul Licameli
8b7ae748a3 Scrub speed as overlay; scrub event handling details out of TrackPanel.cpp 2016-04-18 14:31:36 -04:00
Paul Licameli
b0c55e4386 Bug1358: On Mac, undocked toolbars and screenshot window should not vanish...
... when switching from Audacity to another application.
2016-04-11 06:44:38 -04:00
Paul Licameli
b28ec2957a Make EXPERIMENTAL_MIDI_OUT compilable, but it doesn't link 2016-04-09 15:10:05 -04:00
Paul Licameli
c78e91f6c1 Image manipulation functions return smart pointers 2016-04-06 16:06:34 -04:00
Steve Daulton
484f23dcc7 Fix for bug 814 2016-03-28 21:07:25 +01:00
Paul Licameli
a6ca36cdab TrackList holds smart pointers to tracks, Add() only takes rvalue refs to such 2016-03-26 15:41:31 -04:00
Paul Licameli
c5a70126eb TrackList always deletes tracks on destruction or when cleared 2016-03-26 15:41:29 -04:00