Leland Lucius
5bdfcff97d
Menu shortcut hiding has been removed
...
It had been causing problems in Unity for a while now and they
were missing on OSX as well in wx3. So, the old menu Open/Close
method of hiding has been removed and replaced with an event
filter/monitor which looks for wxEVT_CHAR_HOOK events to pass
key events to the handler that has the keyboard captured.
2015-07-28 14:35:09 -05:00
yam
b5f9dd3d80
Regenerate makefiles to include new source files
2015-07-28 12:14:01 -05:00
Paul Licameli
0fcfbdd599
Bug1059 (rest of): disallow rearrange-drag during play
2015-07-28 12:14:42 -04:00
Paul Licameli
fdf0759301
Bug1075, and define and use new event type for TrackPanel timer ticks...
...
... Thus allowing TrackPanel.cpp to work without including Lyrics headers.
Also eliminates some of its direct notification of MixerBoard.
2015-07-28 11:56:00 -04:00
Paul Licameli
4f0a2ee804
Bugs 1059, 1077: don't edit cut lines during play; show correct cursor...
...
... Don't show the arrow when in fact the click at the bottom of the track
will resize.
2015-07-28 11:55:59 -04:00
Paul Licameli
912cdb6c53
(most of) Bug 1077: Resizing cursor correctly appears, except...
...
... we still see an incorrect arrow cursor where the cutline meets the bottom
of the track.
2015-07-28 11:55:57 -04:00
Paul Licameli
e553837832
Bug1078: click and drag at the bottom of a stereo track control can resize it...
...
... just as it does for unlinked tracks.
2015-07-28 11:55:56 -04:00
Paul Licameli
0b711e1594
Capture mouse for button-down only after deciding on the drag mode.
2015-07-28 11:55:55 -04:00
Paul Licameli
525b22d63d
Let MakeCursor be called elsewhere than from TrackPanel.cpp
2015-07-28 11:55:54 -04:00
Paul Licameli
e0621819ed
Move ENV_DB_RANGE out of Envelope.h; that file can be included in fewer places.
2015-07-28 11:55:52 -04:00
Paul Licameli
7bba4500c4
Move mdBr from TrackPanel to ViewInfo, no more lookup of prefs in Envelope.cpp
2015-07-28 11:53:01 -04:00
Paul Licameli
edba89d704
Pass tooltips by wxString, not const wxChar*
2015-07-28 11:49:56 -04:00
Paul Licameli
4a4918a3f8
More uses if IsUnsafe() or IsAudioActive()
2015-07-28 11:49:53 -04:00
Paul Licameli
f35d519c21
Define AudacityProject::RollbackState() for reuse elsewhere
2015-07-28 11:49:52 -04:00
Paul Licameli
d8ce9f0d7d
Move an array definition to Snap.h, use std::vector
2015-07-28 11:49:51 -04:00
Paul Licameli
54740c348b
Remove an unreachable piece of scrubbing code
2015-07-28 11:49:50 -04:00
Paul Licameli
08790d2243
Remove unnecessary member variable assignments
2015-07-28 11:49:49 -04:00
Paul Licameli
87965cf164
Bug1076: Don't obliterate the point selection display during playback
2015-07-28 11:49:48 -04:00
Paul Licameli
b65d18044d
Add file to Makefile.am
2015-07-28 11:14:40 -04:00
Paul Licameli
f55e9f39b3
travis
2015-07-28 10:48:21 -04:00
Paul Licameli
d703a5b054
travis
2015-07-28 10:21:41 -04:00
Paul Licameli
4decbe80d3
Remove Meter.h from other headers
2015-07-28 10:02:10 -04:00
Paul Licameli
cab89f6fb4
Remove Envelope.h from other headers
2015-07-28 10:02:09 -04:00
Paul Licameli
f81231efae
Remove Sequence.h from other headers
2015-07-28 10:02:08 -04:00
Paul Licameli
51d7b3670c
Remove LabelTrack.h from other headers
2015-07-28 10:02:07 -04:00
Paul Licameli
eaaab766db
Remove WaveClip.h from other headers
2015-07-28 10:02:06 -04:00
Paul Licameli
d39eaa4e65
Remove WaveTrack.h from other headers
2015-07-28 10:02:05 -04:00
Paul Licameli
b89c2a130c
Remove Track.h from other headers
2015-07-28 10:02:03 -04:00
Paul Licameli
991ba8cc6e
Remove TimeTrack.h from other headers
2015-07-28 10:02:02 -04:00
Paul Licameli
11f794d3fb
Menu items for zooming in vertical ruler popup for wave tracks...
...
May be good for discoverability of the click actions.
2015-07-28 09:37:00 -04:00
Paul Licameli
197700967f
pop-up menus for vertical ruler
2015-07-28 09:36:58 -04:00
Paul Licameli
d2f55fff68
travis
2015-07-28 08:27:03 -04:00
Paul Licameli
1fda7eb5c3
Waveform and Spectrum menu items are a radio group, neither ever disabled.
2015-07-28 08:08:15 -04:00
Paul Licameli
5abbd463b2
Waveform dB is not a track type. Logarithmic is a Wavetrack scale type...
...
... Also removed one line from the track control drop-down, and changed
accelerators to more mnemonic choices.
Also the open page of View Settings... determines track view type after OK
2015-07-28 08:08:13 -04:00
Paul Licameli
5b72b1f23b
Open the appropriate initial page in View Settings dialog
2015-07-28 08:08:11 -04:00
Paul Licameli
0c4418af22
Boilerplate for empty waveform preferences, analogous to Spectra
2015-07-28 08:08:10 -04:00
Steve Daulton
0792eb0cb3
Fix for bug 958
...
Bug 958 is due to rounding that is not visible to the user.
By providing one extra decimal place to the New Peak Amplitude (dB)
the user can see if they have exceeded 0 dB by a small amount.
2015-07-28 09:01:03 +01:00
Paul Licameli
7bf2d9b92c
travis
2015-07-27 23:11:43 -04:00
Paul Licameli
adb4a534e8
Pitch is no longer a special view type... && bug fixes 1040, 1041
...
... It is a choice of algorithm in spectrogram settings, and any frequency
scale may be chosen with it. Spectral selection works in it.
2015-07-27 23:01:20 -04:00
Paul Licameli
846c5d454e
Other spectrogram scales, easily defined!! -- and include bug fixes 1038, 1039
2015-07-27 23:01:16 -04:00
Paul Licameli
9b9ceab6ab
Ruler uses generalized number scale when plotting "log"
2015-07-27 23:01:14 -04:00
Paul Licameli
66e939275f
Vertical ruler zooming uses NumberScale in a generalized way
2015-07-27 23:01:13 -04:00
Paul Licameli
43b7df701b
Use class NumberScale in TrackArtist and spectral selection, abstracting...
...
... the details of mapping to and from pixel height
2015-07-27 23:01:11 -04:00
Paul Licameli
045828d744
Define class NumberScale and enum NumberScaleType
2015-07-27 23:01:10 -04:00
Paul Licameli
7d379cde13
Conditional compilation (disabled) to make Spectral selection choice global...
...
... not per track,
and the preferences or View Settings page has a separate static box for
global settings as opposed to track settings. This is the only global setting
for now.
2015-07-27 23:01:06 -04:00
Paul Licameli
f74713f020
WaveTrack::WaveTrackDisplay does not encode scale or spectral selection...
...
... SpectrogramSettings does that instead, and Preferences or View Settings
are the user interface for changing it.
Handle invalidation of spectrogram pixel cache for scale type changes,
just as for other changes of settings. No more
TrackArtist::InvalidateSpectrumCache().
View type of track now switches to Spectrum when applying or OKing the
View Settings... dialog and the Spectrogram page is open (and for now
it is still the only page)
2015-07-27 23:01:04 -04:00
Leland Lucius
df4879b234
Fix build on OSX
2015-07-27 20:48:32 -05:00
Paul Licameli
714f4ce0f1
Put track name in the title of the View Settings dialog, as Gale suggested
2015-07-27 07:19:48 -04:00
Paul Licameli
1f6f43bba7
Track control "View Settings..." makes alternative SpectrumPrefs accessible
2015-07-26 21:33:14 -04:00
Paul Licameli
e6be4f5777
Apply button for Spectrograms Preferences and View Settings
2015-07-26 21:33:11 -04:00