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
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
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 3e7f82cf5e .
2017-07-11 14:16:58 -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
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 ef9745b93e .
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
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
Paul Licameli
8e44827980
TrackPanelCell hit tests can return multiple results...
...
.. though only the first is used yet
2017-07-09 08:17:40 -04:00
Paul Licameli
b3d62e2ab6
Simplify by removing class HitTestResult...
...
... Because all hit tests returned all fields blank, or else, returned a
UIHandle object whose Preview method gives the rest of the information; so
the other fields were redundant.
2017-07-09 07:57:34 -04:00
Paul Licameli
c079544667
Defaulting TrackPanel cursor, status message; simplifies other code
2017-07-09 07:57:33 -04:00
Paul Licameli
f5b0afc2fc
Rename TrackPanel::HandleCursor as HandleMotion...
...
Call HitTest in just one place
Can now preserve repeatedly hit UIHandle objects during pre-click motion
Fields of HitTestResult besides the handle pointer are now unused
The need to repaint a track during mouse movement can be indicated when
constructing a UIHandle or when updating it for move; HitPreview no longer
does this
And the last allows simplifications of LabelTrack glyph highlighting
Also move the temporary state for label glyph dragging out of LabelTrack
2017-07-09 07:56:47 -04:00