Leland Lucius
6a9dae20f5
Appearance on OSX is now back to normal or better
...
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Paul Licameli
1b8f44d053
ViewInfo does not redundantly (or inconsistently!) store the screen width
2015-08-21 22:39:18 -04:00
Paul Licameli
a9ab31dedb
Allow NULL arguments in TrackPanel::GetTracksUsableArea()
2015-08-21 12:02:48 -04:00
Paul Licameli
e7c7bb84a9
Fix off-by-one width in TrackPanel::GetTracksUsableArea()
2015-08-21 11:49:49 -04:00
Paul Licameli
112d2a903b
Rename View Settings... to Spectrogram Settings... and enable it only for...
...
... spectrogram views, and don't show the Waveforms page.
2015-08-19 10:21:04 -04:00
Paul Licameli
409cbb2996
Bugs 994, 1030: Scrubbing behavior with pointer outside of the track panel...
...
... first: suspend scrubbing only when the application is deactivated -- not
necessarily when track panel loses focus; resume when reactivated.
second: click and drag to seek happens only when the pointer is in the track
panel, and either over a wave track, or over no track.
2015-08-18 11:06:53 -04:00
Paul Licameli
cf45a58fdc
dB range is now in Waveforms preferences and view settings, and ...
...
... the preference is independent of those in Interface and Recording
preferences, which affect meters, sound activated recordings, time track,
and Plot Spectrum
2015-08-15 18:07:29 -04:00
Paul Licameli
5d2e877529
Scroll wheel with pointer in vertical ruler zooms in or out for wave track...
...
... regardless of the modifier keys; and does nothing in other tracks.
2015-08-14 20:34:06 -04:00
Paul Licameli
4cc064df8e
Draw scrub speed like cursor or indicator: without a full refresh.
2015-08-13 19:49:09 -04:00
Paul Licameli
9ba6e03bd4
Reorganize code for drawing cursor and indicator, so it can generalize to...
...
... other things (like scrub speed)
2015-08-13 19:43:20 -04:00
Paul Licameli
5580aececc
Untangle the control flow of mouse event handling in label tracks
2015-08-10 20:02:24 -04:00
Leland Lucius
300f0f05a0
Move TrackPanel keyboard handling out of AudacityProject...
...
...and into TrackPanel where it should be.
2015-08-09 18:26:29 -05:00
Paul Licameli
9a53625ceb
Bug1134: Click and drag to move a track should make only one undo item
2015-08-08 18:55:31 -04:00
Paul Licameli
b0de2fa900
Show only the channel-related menu items appropriate to mono or stereo, and...
...
... Changed accelerators to avoid conflict:
for mono tracks, R&ight
for stereo tracks, Split Stereo to &Mono
2015-08-04 13:00:46 -04:00
Paul Licameli
eeaaadb530
Merge branch 'master'
...
* master:
fewer #includes in TrackPanel.cpp
Fix spacing on comment
Add output gain control to Phaser effect
Add output gain control to Wahwah effect
Bug1115: click below vertical ruler deselects track now, just as...
Rename some variables
Save overwrite choice in Export Multiple
2015-08-04 12:26:22 -04:00
Paul Licameli
db896e6511
Revert "Show only the appropriate channel-related track menu items for mono or stereo."
...
This reverts commit 7b737a99c7d0cb76c3b45137bce1d37a9f7d93f2.
2015-08-04 12:23:50 -04:00
Paul Licameli
971fd38615
Rename some variables
2015-08-03 13:50:49 -04:00
Paul Licameli
7b737a99c7
Show only the appropriate channel-related track menu items for mono or stereo.
2015-08-02 14:29:56 -04:00
Paul Licameli
d6b76e3589
Revert "Make a Channels sub-menu, and change accelerators to be more mnemonic..."
...
This reverts commit cc08bba27a8ae4c6d30387c13f35a8edd434e663.
Conflicts:
src/TrackPanel.cpp
2015-08-02 13:27:22 -04:00
Paul Licameli
cc08bba27a
Make a Channels sub-menu, and change accelerators to be more mnemonic...
...
... Also removes the conflict at top menu level over M accelerator.
Make one Channel sub-menu for mono and one for stereo, and swap correct one
in, whenever the parent menu opens.
2015-08-01 13:38:12 -04:00
Leland Lucius
7877615454
Move label context menu handling to label track
...
Application key now brings up the context menu while editing labels
as it should. This wasn't possible with the old keyboard handling.
2015-07-30 10:38:03 -05: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
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
d8ce9f0d7d
Move an array definition to Snap.h, use std::vector
2015-07-28 11:49:51 -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
f81231efae
Remove Sequence.h from other headers
2015-07-28 10:02:08 -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
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
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
1f6f43bba7
Track control "View Settings..." makes alternative SpectrumPrefs accessible
2015-07-26 21:33:14 -04:00
Paul Licameli
1dffeace93
Access SpectrogramSettings via WaveTrack, which may be nondefault (no UI yet)...
...
... and add accessors to SpectrogramSettings, and remove TrackArtist functions
for getting and setting the globals.
2015-07-26 21:10:16 -04:00
Paul-Licameli
5418ce377b
Move PositionToTime, TimeToPosition into class ZoomInfo ...
...
... and use them in many more places in TrackPanel.cpp, so there are fewer
direct uses of ZoomInfo::zoom.
Also use then in horizontal scrolling code
2015-07-19 11:44:04 -04:00
Paul-Licameli
ab21f75c77
ViewInfo is becoming a smart class, not a dumb struct
...
Now it has:
A constructor
XML attribute serializer functions (but no XML tag of its own)
Also removed unused lastZoom
2015-07-19 11:43:59 -04:00
Paul Licameli
0bed89419f
More for bug 1014: stop scrubbing when switching out of select tool...
...
... Verified that this works for presses on tool buttons, and keys A, D, F1,
..., F6.
Also fix conditional compilation with EXPERIMENTAL_SCRUBBING_BASIC not defined.
2015-06-08 09:56:17 -04:00
Paul Licameli
f332df1f36
Pulled repeated code into a function; share some calcs with Envelope editor
2015-06-03 02:37:42 -04:00
Paul Licameli
85a533be79
Remove unused variables; fewer casts
2015-06-03 02:37:41 -04:00
Paul Licameli
4f5483b4af
Scroll-seek improvements
2015-05-30 14:28:33 -04:00
Paul Licameli
6ae8a656ab
Rewrote escape key handling, more like other Track Panel key handlers
...
... and removed some abandoned spectral editing code
2015-05-29 21:13:59 -04:00
Leland Lucius
0ef7ccb1d1
Fix permissions...not sure why this was happening though
2015-05-29 19:49:28 -05:00
Paul Licameli
8d2a29d376
Bug989, and scrub UI uses left button to seek, not Shift key
...
Updated mouse preferences and status bar message accordingly
Also, use the term "Scroll-scrub" in status bar and mouse preferences
2015-05-29 20:29:44 -04:00
Paul Licameli
9f2dfbc70b
Revert "Bug990 (seek key reponsiveness), and, change Scrub UI again, so Ctrl key seeks."
...
This reverts commit 841bca36ea321e6ea92578dd6668bc4011f1d30b.
2015-05-29 19:45:43 -04:00
Paul Licameli
841bca36ea
Bug990 (seek key reponsiveness), and, change Scrub UI again, so Ctrl key seeks.
...
Includes changes to Mouse Preferences and status bar messages.
2015-05-29 17:30:19 -04:00
Paul Licameli
6810095509
Removed some functions never called, code never reached, fields never used
2015-05-29 00:13:50 -04:00
Paul Licameli
e60057fd85
Bug924, addendum: pause scrubbing when Audacity loses focus...
...
... And it resumes if Audacity regains focus.
Actually this fix causes pausing and resuming depending on whether Track Panel
has focus, so clicks in other parts of the Audacity window may also pause the
scrubbing. I hope that is acceptable.
2015-05-27 20:14:32 -04:00