James Crook
c17a7f535e
Improve repainting after a theme change.
...
Now most things repaint properly after a theme change. The sliders on the tracks don't yet.
2017-04-04 14:43:47 +01:00
James Crook
028ed19d90
Sync with DarkAudacity
2017-04-02 23:07:13 +01:00
Paul Licameli
e1473dfe76
void return, not boolean success, from some Track virtual functions...
...
... The return codes were mostly ignored anyway, and exceptions will be thrown
instead.
It seems there was also confusion whether the return values of Track::Paste
and Track::SyncLockAdjust were to indicate success or indicate whether there
was any change. No matter now.
2017-03-31 18:26:52 -04:00
Paul Licameli
f1bec85675
use AudioTrack
2017-03-29 13:27:22 -04:00
James Crook
1dce83006f
Record on same track is now the default.
...
Record new track is now accessed by SHIFT+R and is so named in the menu and tool tip.
2017-03-22 16:42:40 +00:00
Paul Licameli
2cbdd1cc43
Exception safety in: ControlToolBar & Ruler functions...
...
... because SetupCutPreviewTracks has a small chance of throwing for want
of disk space.
StopStream however is considered nonthrowing.
2017-03-21 14:11:23 -04:00
Paul Licameli
aee45d9cce
Fix bogus error dialog when append-recording with no waves...
...
But with at least one track of other type, such as Time
2017-03-17 17:52:37 -04:00
Paul Licameli
81285ee0c1
More const and override
2017-03-17 17:52:20 -04:00
Steve Daulton
3a9983795f
Bug 1547
...
Fix some 'on pause' inconsistencies.
2016-11-14 10:32:55 +00:00
Paul Licameli
0eb2f85bfb
Use DBL_MAX, not arbitrary 1000000000.0, as "infinite" time interval
2016-09-19 10:38:42 -04:00
Paul Licameli
39d514b183
Some more const, some stl idioms, remove unused declaration
2016-09-13 22:03:58 -04:00
James Crook
65c7e8051a
ThomasFeher - Unused parameters clean up.
2016-09-11 20:31:49 +01:00
James Crook
923eefaf90
Add code from merging.
...
This brings more of the code from DarkAudacity into Audacity, though not yet enabled. This will make cherry picking later easier.
- Changing colour of html displays now possible, as colour links are visible for substitution. (Can't use css as wxHTML is very limited).
- Export can now be preset to a particular format independent of preferences.
- SnapTo reversion on zoom now a DA controlled option.
- Caching of pinning preference for faster repaint because preferences are slow.
- Record Append now has sensible limit on number of tracks, rather than giving an error, and flipping the meaning of shift is now DA controlled.
2016-09-10 21:34:14 +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
Paul Licameli
52d12c6913
Remove some naked new amd delete in: toolbars
2016-08-08 07:51:25 -04:00
Gale Andrews
e05d8aedd5
Corrected missing closing period
2016-07-27 18:21:59 +01:00
windinthew
e24d6d825f
Bug 858: Update recording error message too
...
Also remove redundant 'while' in the messages
2016-07-27 16:48:30 +01:00
Steve Daulton
6629733d35
Bug 858 - Update error message
...
Trying Gale's suggestion from
http://bugzilla.audacityteam.org/show_bug.cgi?id=858#c2
2016-07-24 16:35:17 +01:00
Paul Licameli
fe509ed412
Fix drawing of focus rectangles in buttons, meters, sliders on Mac
2016-06-25 16:08:37 -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
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
f21ad1ce49
Pinned playhead for recording is once again always center, not right
2016-06-08 18:08:51 -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
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
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
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
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
b28ec2957a
Make EXPERIMENTAL_MIDI_OUT compilable, but it doesn't link
2016-04-09 15:10:05 -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