1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-09 08:12:40 +02:00

7175 Commits

Author SHA1 Message Date
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
Paul Licameli
bca09f4320 null check 2017-07-10 11:53:23 -04:00
Paul Licameli
16645f6b95 Back-pointer from Track to TrackList is weak (fixes crashes) 2017-07-10 11:48:11 -04:00
Paul Licameli
9489fed04e build fix 2017-07-10 10:26:10 -04:00
Paul Licameli
cb9d37f362 build fix 2017-07-09 14:09:33 -04:00
Paul Licameli
0fa0d480e4 build fix 2017-07-09 13:37:20 -04:00
Paul Licameli
fb75f1d00b build fix 2017-07-09 13:33:15 -04:00
Paul Licameli
1c281faf52 build fixes 2017-07-09 13:27:03 -04:00
Paul Licameli
65c098f85e Revert "More fixes for Windows build"
This reverts commit ef9745b93e025283796fbe312bf5ada410fa8fe1.
2017-07-09 13:11:26 -04:00
Paul Licameli
ef9745b93e More fixes for Windows build 2017-07-09 13:06:11 -04:00
Paul Licameli
2bdbea44e6 Mouseover highlight 1) MIDI buttons 2) other buttons 3) sliders...
... in Track Contol Panel.

Each of these three can be separately referted if we don't like it.

The first is independent of theme and does not use image files.

The second uses HiliteButtonExpand.png, which looks wrong in Classic theme, as
if that file was intended for Dark instead.

The third uses files SliderThumbHilited.png and SilderThumbRotatedHilited.png
as are also used to highlight other sliders in the toolbars.  The appearance
is distinguished only in Classic theme now.

Some cleanup of button drawing code is also done, removing a global variable,
and some change of arguments of other drawing functions is also done, to
make it easier to implement highlighting of other things in TrackPanel in a
way analogous to these.
2017-07-09 12:42:28 -04:00
Paul Licameli
51e25cdfa0 Highlighting of Track Control Panel sliders 2017-07-09 12:34:46 -04:00
Paul Licameli
44d6d5f427 Highlight MIDI channel buttons 2017-07-09 12:34:46 -04:00
Paul Licameli
25641ae568 Highlight TCP buttons 2017-07-09 12:34:46 -04:00
Paul Licameli
2475b1554b Support for TCP button highlighting 2017-07-09 12:34:28 -04:00
Paul Licameli
ada4b6307d Pass more context information into drawing routines 2017-07-09 12:34:27 -04:00
Paul Licameli
f09a7be3dc TCP draw use hit target for button, slider state; remove hacky global 2017-07-09 12:34:27 -04:00
Paul Licameli
3d7471a612 new file 2017-07-09 12:34:26 -04:00
Paul Licameli
dc864f3782 Fix windows build, and simplify a little 2017-07-09 12:31:19 -04:00