Paul Licameli
bd5d2bf114
Accessor for shared pointer to track, given only a bare pointer
2017-06-25 13:35:15 -04:00
Paul Licameli
1fce8b54f2
Remove oudated comment
2017-06-25 13:35:14 -04:00
Paul Licameli
30317efa03
fix Windows build
2017-06-25 13:34:29 -04:00
Paul Licameli
3f670118c7
Rollback preview in Spectrogram settings or preferences if cancelled
...
* commit '5b229847d5205597e2eaf447bf9bdaba03e5dde7':
Do rollback of cancelled Preview for Spectrogram settings/prefs
Change virtual function interface of PrefsPanel
Rename Apply in spectrum settings & prefs dialogs, reposition it too
2017-06-25 11:48:40 -04:00
Paul Licameli
5b229847d5
Do rollback of cancelled Preview for Spectrogram settings/prefs
2017-06-25 11:43:38 -04:00
Paul Licameli
48202284b2
Change virtual function interface of PrefsPanel
2017-06-25 11:42:20 -04:00
Paul Licameli
aa924b54a9
Rename Apply in spectrum settings & prefs dialogs, reposition it too
2017-06-25 11:39:30 -04:00
James Crook
6cea9822c3
Bug 383 - Residual: Don't reset toolbars on a resize either.
2017-06-25 11:22:42 +01:00
Paul Licameli
750fc34fac
Clarify what the TrackList events are for...
...
Also fixes this bug:
Vertical rulers did not narrow as needed after deletion of the lowest track.
2017-06-25 03:00:28 -04:00
Paul Licameli
c48bf4f37d
Fix old unreported minor bug with vertical rulers of Label tracks...
...
New project; create a label track; undo; redo. Used to see no vertical ruler.
2017-06-25 01:46:20 -04:00
Paul Licameli
a0a6d33b4b
Bug1655: Sequence inconsistency in cut or copy...
...
... I didn't figure out why reproducibility seemed to vary after startup
or on Linux or in Release build, but I am satisfied a real mistake is fixed
here.
2017-06-24 12:34:36 -04:00
Paul Licameli
21b429e2b5
Update Mixer Board moving Note Track with TCP menu item, if MIDI_OUT
2017-06-24 11:52:12 -04:00
Paul Licameli
e771d6d9b5
Restore a NULL check in OnSplitNew, don't crash if non-wave selected
2017-06-24 11:36:19 -04:00
Paul Licameli
4fab7365e5
Fix errors in post build step on Mac
...
Was, Xcode ended the build, or even a clean, of either Debug or Release,
building the target 'Create Info Header'
This were introduced at commit 0361169839bca65d67ae2aca08bcc973c7faf4b7
2017-06-23 22:53:53 -04:00
Paul Licameli
68dfdab843
Store tracks in TrackList with shared_ptr ...
...
... but still use unique_ptr from track factories and importers.
2017-06-23 15:05:50 -04:00
James Crook
d52d8de296
Use 32x32 cursors on Mac.
2017-06-23 13:16:19 +01:00
James Crook
de7072709f
Fix backgrounds to L and R on Mac.
2017-06-22 19:57:54 +01:00
James Crook
af79294b8f
Add borders round Mac Cursors, for better contrast.
...
Needed on dark themes.
2017-06-22 19:37:59 +01:00
James Crook
00495937f2
Style MixerBoard Mute/Solo as on TCP.
2017-06-22 19:08:44 +01:00
Paul Licameli
d37de4a96c
Bug1665: Pan, Gain, Velocity were unresponsive except on last track
2017-06-22 13:42:59 -04:00
James Crook
88cafa7a89
Bug 383 - Screenshot Tools doesn't checkmark re-opened Toolbars bars in View Menu
...
The underlying problem was related to resetting the toolbars when Screenshot tools were opened. That's now no longer done.
2017-06-22 16:41:22 +01:00
Paul Licameli
e37c337af8
Don't duplicate stereo track in mixer board
2017-06-22 11:40:05 -04:00
Paul Licameli
24dbf989ad
Bug1667: fix right-click on vertical ruler, waveform views
2017-06-22 11:26:28 -04:00
James Crook
389e286c78
Set font colour later.
...
Set font colour for MemDC AFTER having selected the bitmap object into it. Not needed on Windows, but is needed on Mac and Linux.
2017-06-22 15:59:44 +01:00
James Crook
d7218938ed
Set colours in AColour on all platforms.
...
Also drop AQUA_THEME on meters.
These changes are important on MixerBoard.
2017-06-22 15:41:12 +01:00
James Crook
86901a00a1
Fix MixerBoard Theming
...
Fixed so that updates to theme are applied immediately. Previously theming only worked properly after a restart with the new theme. Paul found that you could create a Chimera MixerBoard with a track in each of the four different themes.
I chose to completely recreate the MixerBoard on a prefs update, rather than the more fiddly detail of retheming each component of it.
2017-06-22 11:53:49 +01:00
Steve Daulton
a0eba9fb95
Set Nyquist default latency to 100 ms
...
The default for Standalone Nyquist is a very conservative
300 ms, but that's too long when using ALSA (see bug 570),
so use 100 ms default (same as Audacity).
2017-06-22 11:11:17 +01:00
Steve Daulton
92335ce463
Enable Nyquist audio device selection
2017-06-22 10:24:59 +01:00
James Crook
1c03eee052
Bug 1218 - "Other uncompressed files": AIFF defaults to 8-bit export.
2017-06-21 22:54:48 +01:00
James Crook
911a57d451
Bug 1660 - (Windows) Default track name appears as "Audio Trac ".
2017-06-18 12:42:12 +01:00
James Crook
aee04aba23
Bug 1663 - Cut does not remove Quick-Play region.
...
A perhaps unwanted side effect of this change is that cut also cancels a pause, if there was one. Does not seem a problem to me.
2017-06-18 12:20:46 +01:00
Paul Licameli
9b06f76f6f
Small TrackPanel fixes, including bug 1662, popup menu crashes
2017-06-17 20:04:33 -04:00
Paul Licameli
293abceb52
comment
2017-06-17 20:02:35 -04:00
Paul Licameli
4264406795
Correct the left edge of sizer between channels
2017-06-17 20:02:35 -04:00
Paul Licameli
f9865f39ef
Fix crashes in TCP popup menu items on Windows
2017-06-17 20:02:16 -04:00
Paul Licameli
d7a9c1554e
Smarter iterators for all track panel cells, not just track areas
2017-06-17 03:01:58 -04:00
Paul Licameli
91c86fd937
TrackPanelCellIterator visits all cells, and FindCell simply uses it
2017-06-17 03:01:40 -04:00
Paul Licameli
ffbc4d5f90
Simplify iterations over TrackPanelCells with range-for
2017-06-17 03:01:40 -04:00
Paul Licameli
f94ac4dc43
comments
2017-06-17 03:01:40 -04:00
Paul Licameli
fe06ab2dbb
Merge branch 'master' into HEAD
2017-06-17 03:01:07 -04:00
Paul Licameli
a6c583e596
fix #include path
2017-06-17 02:12:06 -04:00
Paul Licameli
43d1c774bf
Improve focus rectangle on Mac Transport toolbar buttons, all themes
2017-06-16 18:07:43 -04:00
Paul Licameli
8875702c17
Simplifications after the big refactor; improvements in cursor change
2017-06-16 18:05:30 -04:00
Paul Licameli
a94eb75b4e
Further regularize the odd case of hit-test on the resizer region
2017-06-16 18:05:09 -04:00
Paul Licameli
34026d19fd
Still better cursor handling: change cursor at once...
...
... on start or stop of transport, in cases as described in the previous
commit comment, even if the pointer does not move.
2017-06-16 18:05:08 -04:00
Paul Licameli
d9a91c1431
TrackPanel simplifications; improved cursor handling...
...
... in cases such as: dragging an envelope point, then hitting space to play,
which forces the drag to finish early. If you move the mouse, cursor will
remain "ban", even while the mouse button remains down but no drag is really
happening.
2017-06-16 18:05:08 -04:00
Paul Licameli
114f5a4a63
Simplify ToolsToolBar::SetCurrentTool
2017-06-16 18:05:08 -04:00
Paul Licameli
41a56441dc
Remove unnecessary "virtual"
2017-06-16 18:05:08 -04:00
Paul Licameli
ef9e6465d0
Use override
2017-06-16 18:05:08 -04:00
Paul Licameli
d6b430c262
Remove unused function
2017-06-16 18:05:07 -04:00