1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-10 22:21:08 +02:00

7394 Commits

Author SHA1 Message Date
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
Paul Licameli
f8d9c4217c Fix click without drag and double-click on Pan, Gain, Velocity sliders 2017-07-11 12:41:48 -04:00
Paul Licameli
2231d2d152 Fix flashing toolbars when moving mouse in empty TrackPanel 2017-07-11 11:50:57 -04:00
David Bailes
71ac4bb2f5 Fixes for commands to move cursor to or select to clip boundaries
The messages sent to screen readers for these commands were incorrect when stereo tracks were present. This has been fixed, including the case where the two channels of a stereo track have different clip boundaries.
2017-07-11 15:27:33 +01:00
James Crook
88b4be080b Wording: Auto-select, if selection required. 2017-07-11 15:07:12 +01:00
James Crook
7d968586af Back to a dark colour for cursor on Light and Classic.
This could also have been achieved by tweaking the colours in each of the themes.
2017-07-11 15:07:11 +01:00
James Crook
e3a822c34d Always Record on a new Track Pref.
Changed pref name, now unticked by default.
2017-07-11 15:07:10 +01:00
David Bailes
71a75fc28d Fixes for commands to select next/previous clip
The messages sent to screen readers for these commands were incorrect when stereo tracks were present. This has been fixed, including the case where the two channels of a stereo track have different clip boundaries.
2017-07-11 11:30:18 +01:00
Paul Licameli
a5fffbd461 Correct the handler for modifier key-down...
...So that, for instance, when you hold the mouse over a TCP button, the
highlight does not disappear and reappear if you press Ctrl and releaes it.
2017-07-11 00:30:35 -04:00
Paul Licameli
e3ea42ff7e Force error on Mac when return value is missing...
... What commit 776e4dfdaba198b0bd5a4eec3df56d67065e824b was supposed to do,
but the setting was changed in the expat library only, not Audacity.

This should prevent foolish mistakes like that fixed in the previous commit!
2017-07-11 00:00:42 -04:00
Paul Licameli
4dcd10584f Fix crashes mousing over TCP 2017-07-10 23:18:33 -04:00