1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 23:02:42 +02:00

7354 Commits

Author SHA1 Message Date
Paul Licameli
54af4f1ff7 More precautions about the back-pointers of tracks to their lists 2017-07-14 10:03:11 -04:00
Paul Licameli
e9cb5056f1 More guards against recursive event dispatches causing surprises...
...like the problem fixed at commit f9865f39efe46224a1a77c742a789b2cc70f0c54
2017-07-14 09:59:47 -04:00
Paul Licameli
9ad15dabe1 Bug1683: crashes applying Nyquist effects to stereo tracks 2017-07-14 09:22:22 -04:00
David Bailes
a4f1c2cb9f Keyboard commands for clip boundaries: change to screen reader message
Change to message when clips are next to each other.
2017-07-14 11:19:42 +01:00
Paul Licameli
aaed921fd3 Track panel tooltips, including TAB key hint...
... and distinguish snapping or not in Select tool.
2017-07-13 22:46:28 -04:00
Paul Licameli
9072628b4c Preview selection snap lines before click; toggle them with TAB...
... also stop making the finger cursor at merge lines, because this prevew
supersedes that visual aid.

Toggling of snap lines can apply both to start and end of selection.
2017-07-13 12:30:34 -04:00
Paul Licameli
0ba91ea9a5 Don't make the finger cursor when hovering over the split line...
... which was implemented at commit aa8be0c413d107e3fd03e0b85bdf097b2ed37de9

Preview snap lines should make that unnecessary.
2017-07-13 12:29:54 -04:00
Paul Licameli
2150bde578 Implement selection snap lines before click, and TAB to cancel them 2017-07-13 12:29:51 -04:00
Paul Licameli
b7ae012ece A single UIHandle can define multiple rotation states 2017-07-13 12:11:25 -04:00
Paul Licameli
4eece4b0b1 Extras like snap guidelines can be drawn for targets not yet clicked 2017-07-13 12:11:13 -04:00
Paul Licameli
33c6a77f8c SelectHandle gets snap information in hit test 2017-07-13 12:11:13 -04:00
Paul Licameli
49b04208b3 ChooseBoundary takes separate x and y arguments 2017-07-13 12:11:13 -04:00
Paul Licameli
7903e20143 Rewrite SelectHandle snapping; selection really matches snapped start 2017-07-13 12:11:13 -04:00
Paul Licameli
67282cbb61 SnapManager::Snap returns its results in a struct 2017-07-13 12:11:13 -04:00
Paul Licameli
ac10dc13d5 Construct SnapManager with const TrackList 2017-07-13 12:11:12 -04:00
David Bailes
5f49892d61 Keyboard commands for moving clips: minor fix
Problem: the commands did not take into account that for a stereo track, the clip boundaries in the two channels can be different.

Fixed.
2017-07-13 16:32:55 +01:00
Paul Licameli
f24a704a5b Fix TAB key cycle with cutline in Select tool 2017-07-13 10:52:37 -04:00
Paul Licameli
4d1ce201e4 Make TAB key act as before, when a Label track has focus. 2017-07-13 08:09:39 -04:00
Paul Licameli
5e4f453a81 Fix crashes when ESCaping a drag 2017-07-13 07:03:30 -04:00
Paul Licameli
6c0b3bb1bf Shift+TAB cycles hit test targets backwards 2017-07-12 16:39:14 -04:00
Henric Jungheim
8d13bf1d83 Update _MSC_VER #if block for VS2015+ 2017-07-12 21:06:30 +01:00
Henric Jungheim
f1213e453e Use the _DEBUG flag instead of __wxDEBUG__ for selecting the link libraries.
The include directories are determined by the configuration, which
is indicated by _DEBUG.  Using __wxDEBUG__ means that the
debug libraries might get used with the release includes (or the
reverse).
2017-07-12 21:04:41 +01:00
Henric Jungheim
3b39bdeca5 EffectDialog can't have a default constructor.
The base class does not have one.
2017-07-12 21:03:43 +01:00
Henric Jungheim
b3c0cbce29 wxToString() doesn't support "unsigned long long", so size_t doesn't work on Windows x64 builds. 2017-07-12 21:02:45 +01:00
Henric Jungheim
32522c9381 Include compiler version in build information. 2017-07-12 21:01:45 +01:00
Henric Jungheim
88dfb5d7a2 Avoid false warning about uninitialized pointer. 2017-07-12 21:01:15 +01:00
Henric Jungheim
48edd2298a Put the theme data in .rdata/.rodata 2017-07-12 20:47:12 +01:00
Paul Licameli
14d0d8a051 fix build 2017-07-12 14:21:07 -04:00
Paul Licameli
050824f467 Remove some unnecessary #includes 2017-07-12 14:15:16 -04:00
Paul Licameli
a618ec8967 Fix priority of multiple hits 2017-07-12 13:37:42 -04:00
Paul Licameli
c1cd324848 Implement TAB key rotation among hit targets...
... The old effect of TAB -- to rotate the selected label, when a Label track
has focus -- is still available, but only when the pointer is not on a text
box or a label glyph.

Some of the cases where this might make a difference:

Alternate the note track stretch cursor, or label glyph, or text box, with
selection.

Rotate among envelope, draw, and selection in WaveTrack and multi tool.
2017-07-12 13:22:28 -04:00
Paul Licameli
2cce171fe0 Implement TAB key rotation among hit test targets 2017-07-12 13:03:14 -04:00
Paul Licameli
d7738c403f Handles mark need for highlight in new Enter() method not ctor...
... So this can be called more than once in its lifetime, in response to
TAB key rotation.
2017-07-12 13:03:14 -04:00
Paul Licameli
4ec6baf059 Cursor handling always relies on current mouse state, not remembered 2017-07-12 13:03:13 -04:00
Paul Licameli
308d89b0e6 Reuse SelectHandle object during movement, as with other handle types 2017-07-12 13:03:09 -04:00
Paul Licameli
d148c39c2d More use of override 2017-07-12 11:38:44 -04:00
Paul Licameli
4108b5abe0 XCode build: Remove ~1500 noisy warnings (unknown compiler options) 2017-07-11 14:54:12 -04:00
Paul Licameli
f1d0d884aa Fix some errors in recent highlighting changes 2017-07-11 14:17:38 -04:00
Paul Licameli
fa010f643b Fix #include paths, and unnecessary redrawing 2017-07-11 14:17:06 -04:00
Paul Licameli
cddeb94c4b Revert "Highlighting of resizers"
This reverts commit 3e7f82cf5e4f4ce064a8bf5fcb136f12df933f9a.
2017-07-11 14:16:58 -04:00
Paul Licameli
cfb67e2f18 Disabled experimental mouse-over highlights of more TrackPanel things 2017-07-11 13:58:37 -04:00
Paul Licameli
3e7f82cf5e Highlighting of resizers 2017-07-11 13:57:59 -04:00
Paul Licameli
b11c3c8ccf Highlighting of Wave and Note track vertical rulers 2017-07-11 13:57:59 -04:00
Paul Licameli
ed4057ae1b Highlighting of cutlines and clip boundaries 2017-07-11 13:57:58 -04:00
Paul Licameli
a4d53b43da Highlighting of label text boxes 2017-07-11 13:57:58 -04:00
Paul Licameli
ecebf7656e Highlighting of samples 2017-07-11 13:57:50 -04:00
Paul Licameli
2d65cdc46a Highlighting of time-shift grips 2017-07-11 13:57:43 -04:00
Paul Licameli
7fb107e143 Highlighting of envelopes 2017-07-11 13:56:41 -04:00
Paul Licameli
b5696ca9db Add EXPERIMENTAL flag 2017-07-11 13:56:38 -04:00
Paul Licameli
c4fe4993b3 Utilities for TrackPanel highlighting 2017-07-11 13:22:19 -04:00