Paul Licameli
2496b0d7bc
TrackPanel no longer implements the envelope tool...
...
... also implement ESC key for it
2017-06-15 08:21:02 -04:00
Paul Licameli
ef38af71dd
Move more time-shifting functions out of TrackPanel.cpp
2017-06-15 08:21:01 -04:00
Paul Licameli
251976d93d
TrackPanel no longer implements the time shift tool...
...
... also implement ESC key for it
2017-06-15 08:21:01 -04:00
Paul Licameli
f1f254f974
TrackPanel no longer implements the draw tool...
...
... also implement ESC key for it
2017-06-15 08:21:00 -04:00
Paul Licameli
85c03bb3b3
TrackPanel no longer implements the zoom tool...
...
... Also changed the behavior of drawing of dashed lines: make them
disappear when they approach close enough that right-up will zoom out,
not in.
2017-06-15 08:20:59 -04:00
Paul Licameli
14d45eda33
Define and use the UIHandle and TrackPanelCell protocols, but...
...
...no actions reimplemented to them yet.
Later commits will move special cases one at a time from TrackPanel, preserving
all click and drag capabilities at each step. With a few exceptions, but those
lost abilities are restored in yet later commits. (Ctrl+Click on the Label
track being one.)
2017-06-15 08:20:56 -04:00
Paul Licameli
5395f253bf
Reviewed use of Track::GetY; don't use in NoteTrack; fix off-by-1's
2017-06-04 00:15:29 -04:00
James Crook
bc55087968
Bug 1492 - Using Scrub Ruler to start Scrub or then change to Seek removes the selection
2017-05-15 17:55:49 +01:00
windinthew
db3ec50236
Fix missing or conflicted access keys
...
Also reinstate 'Store' and 'Retrieve' for save and recall of
selection and cursor point.
2017-04-21 04:24:08 +01:00
James Crook
47fb879157
Don't translate the empty string.
2017-03-18 18:04:56 +00:00
Paul Licameli
5036583549
Fewer inclusions of AudacityApp.h
2017-03-17 17:52:24 -04:00
Paul Licameli
64d163ebcd
Make EXPERIMENTAL_OUTPUT_DISPLAY compile
2017-03-17 17:52:18 -04:00
Paul Licameli
53936ac970
Fix some warnings for unused variables and labels...
...
... But not in cases where a return status is ignored.
2016-09-19 11:47:47 -04:00
James Crook
65c7e8051a
ThomasFeher - Unused parameters clean up.
2016-09-11 20:31:49 +01:00
James Crook
315679dad5
Bug 1508 - Scrubbing: Release mouse to exit Scrub Mode started by click & drag in Scrub Ruler 'no longer working'
...
It WAS working, just not the way QA wanted, because releasing mouse click when in the ruler and on the first seek continued the seek/scrub cycle. Introduced a 'mInOneShotMode' variable to complete the baroque behaviour in the way that was requested. Also updated tool tip code to reflect the one-shot and non one-shot difference in tooltip and status.
2016-09-08 19:02:55 +01:00
Paul Licameli
837a96d18a
Scrub queue records positions as sampleCount not long
2016-09-04 16:28:40 -04:00
James Crook
8886d1ba41
Bug 1487 - Scrub and Seek are enabled when there is no audio to operate on
...
I added a new flag, HasWaveDataFlag that checks not only for the presence of a WaveTrack but also for audio actually in it. This is now applied to the Scrub and Seek menu items, with the result that they grey out in the menu, and their buttons are dulled on the toolbar, if there is no audio.
2016-08-22 13:25:05 +01:00
James Crook
f9d269bcee
Change ScrubBar to ScrubRuler
...
This also makes it clearer in the code when we are dealing with a Toolbar ID (for the scrubbing toolbar) and when we are dealing with a button ID (for enabling/disabling the scrub ruler).
2016-08-22 12:25:36 +01:00
James Crook
53bb478600
Bug 1457 - Transport Menu "Scrub" and "Seek" do not correctly indicate when either Scrubbing mode is active
2016-08-11 22:30:51 +01:00
James Crook
5939fe66e8
Bug 1053 - [Scrub Phase I] Status Bar messages incomplete for scrub started with menu or shortcut.
2016-08-10 21:57:29 +01:00
James Crook
48ad701e57
Bug 1421 - When Scrubbing the Play button in the Transport Toolbar should not change its icon
2016-08-10 21:04:46 +01:00
James Crook
e96edb8f26
Bug 1457 - Transport Menu "Scrub" and "Seek" do not correctly indicate when either Scrubbing mode is active
2016-08-10 19:17:40 +01:00
James Crook
8dd93ef2a8
Bug 1467 - New pref for pinned head should move to the Prefs>Tracks
...
Also updated the wording as per comment #2 in Bug 1467.
2016-08-10 18:38:37 +01:00
Steve Daulton
6089c94971
Fix bug 1473
...
Disallow scrub / seek during record.
2016-08-09 14:10:04 +01:00
Paul Licameli
6a4d6ceeda
Separate source files for ScrubbingToolBar
2016-06-25 15:05:17 -04:00
Paul Licameli
a18dce3e0a
Correct the display when switching to seek with left click
2016-06-17 17:41:00 -04:00
Paul Licameli
db02cdb89e
Click to switch to seeking, in scrub bar only. Not track panel.
2016-06-17 15:33:54 -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
8fe93ae8bc
Correct switching between scrub and seek in progress
2016-06-15 23:50:13 -04:00
Paul Licameli
8cba525b6c
No more separate start/stop button on Scrubbing toolbar...
...
... This finalizes (I hope) the set of buttons, but maybe not their left to
right order.
Behavior of the scrub bar is still not settled.
2016-06-15 21:20:40 -04:00
Paul Licameli
b1ca48c23e
Scrub bar show/hide button on Scrubbing toolbar
2016-06-15 01:11:42 -04:00
Paul Licameli
d0d28143f7
Do not change selection when stopping non-scrub play
2016-06-06 14:18:47 -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
fd9d6a8fcf
Set selection whenever scrub/seek stops by any means besides ESC key
2016-06-06 01:45:54 -04:00
Paul Licameli
8dab37de01
Scrub menu check items change pushed state of scrub toolbar buttons
2016-06-06 00:48:50 -04:00
Paul Licameli
fe335f3a2b
Status is "Scrubbing" or "Seeking" not "Playing" at button down
2016-06-05 10:51:55 -04:00
Paul Licameli
f5c4c85653
New scrubbing toolbar; remove ruler pushbuttons.
2016-06-05 01:03:24 -04:00
Paul Licameli
bbfc730399
No more left-click to seek
2016-06-04 20:04:09 -04:00
Paul Licameli
ef62bc4e2a
Fix checkmarks and Start item in scrub handle context menu
2016-06-02 16:20:15 -04:00
Paul Licameli
364794fd68
Scrub handle changes appearance for seeking
2016-06-02 16:05:56 -04:00
Paul Licameli
bbb93a7400
One more alternate play button image, for seeking
2016-06-02 15:55:16 -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
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
fecc6f53e4
Consolidate the code that starts and stops play/rec head scrolling
2016-06-01 13:25:01 -04:00
Paul Licameli
123499cbb1
Don't use scrubbing poller thread on Linux, it's not safe yet
2016-06-01 13:06:01 -04:00
Paul Licameli
fbcdc6b28f
Scrolling drag scrub tracks the mouse much better
2016-05-28 12:15:32 -04:00
Paul Licameli
35b0502ce1
Don't let seek make a stutter at less than unit speed
2016-05-28 12:11:26 -04:00
Paul Licameli
a9a404c7cf
Further simplified argument passing
2016-05-28 12:02:16 -04:00
Paul Licameli
e4fadf4aaf
Improve scrubbing speed control (2 finger swipe) on Mac
2016-05-28 11:59:22 -04:00