1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-23 09:01:15 +01:00
Commit Graph

654 Commits

Author SHA1 Message Date
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
Steve Daulton
9e0c0d1b34 Update Spectrogram label
http://bugzilla.audacityteam.org/show_bug.cgi?id=1089#c2
2015-08-09 22:03:04 +01: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
ad7c87359a Bugs1133, 1135: Only left click in track control panel should select track...
... or (with shift) de-select it, or (with drag) rearrange the track sequence.
2015-08-08 18:47:36 -04:00
Paul Licameli
17bfd6cfde Bug829: Only the clips that really moved vertically should change their rate 2015-08-08 18:16:48 -04:00
Paul Licameli
17e3bf7b09 Bug752: yellow snap lines should erase when mouse-up is not over a track 2015-08-08 16:35:49 -04:00
Paul Licameli
cfdbc35990 Bug 1132: Time shift should not snap to starting positions of moving labels 2015-08-08 16:10:33 -04:00
Paul Licameli
ed277ec477 Bugs 1069, 1131: Time-shift of label tracks works as you would expect...
... and time-shifting of any track continues even when mouse drags over the
empty space
2015-08-08 13:00:40 -04:00
Paul Licameli
004218fb07 Bug1065: consistent moving of the selection in time shift 2015-08-08 12:25:54 -04:00
Paul Licameli
65dab6e109 Bug1067: don't show impossible snap positions for time-shift 2015-08-08 11:34:40 -04:00
Paul Licameli
bf679b7d6b Bug1066: never make yellow snap lines when ctrl-dragging clips up and down 2015-08-08 11:21:57 -04:00
Leland Lucius
79b3d4d7ad Works around "some" of the OSX drawing issues
This is related to a possible wx3 issue:

http://trac.wxwidgets.org/ticket/17091

But, there's still quite a few more to resolve.
2015-08-08 00:24:52 -05:00
James Crook
2af3a8ca7e Make "Draw Tool" translatable. 2015-08-05 21:26:05 +01:00
Paul Licameli
1eb3ebe2e0 In time track popup menu, shorten "Set &Range..." to "Range...", which...
... is consistent with the shortened "Rate..." and "Format..." for wave tracks
2015-08-04 13:02:10 -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 7b737a99c7.
2015-08-04 12:23:50 -04:00
Paul Licameli
6d18e3681a fewer #includes in TrackPanel.cpp 2015-08-04 01:23:51 -04:00
Paul Licameli
9bbbf555c5 Bug1115: click below vertical ruler deselects track now, just as...
... clicks below the control panel or the track area do.
2015-08-03 16:56:03 -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
60983f6bf7 Revert "Cascade the four move commands of the track control menu..."
This reverts commit 413edf2820.
2015-08-02 13:27:23 -04:00
Paul Licameli
d6b76e3589 Revert "Make a Channels sub-menu, and change accelerators to be more mnemonic..."
This reverts commit cc08bba27a.

Conflicts:
	src/TrackPanel.cpp
2015-08-02 13:27:22 -04:00
Paul Licameli
0c8ee32050 Revert "Channel cascade -- yes. Move cascade -- no."
This reverts commit d0071fc92e, reversing
changes made to 5a4d28dba3.
2015-08-02 13:17:56 -04:00
Paul Licameli
03788a58a6 Channel cascade -- yes. Move cascade -- no. 2015-08-02 04:50:39 -04:00
Paul Licameli
fee41b79b2 Do not allow independent variation of vertical scales of stereo channels...
... using the pop-up menu.
2015-08-01 16:30:40 -04:00
Paul Licameli
a7adbb54fc Bug1033: Swap-channels command will not lose the track focus 2015-08-01 16:12:28 -04:00
Paul Licameli
47e1df2525 Shorten remaining names in Wave Track Control menu, change accelerators....
... also changed "Set Range" in Time track to R to avoid conflict
2015-08-01 13:38:14 -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
Paul Licameli
413edf2820 Cascade the four move commands of the track control menu...
... Note that "M" accelarator conflicts for now with "Mono" for wave tracks,
but there is no conflict with time and label tracks.
2015-08-01 13:38:10 -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
Leland Lucius
1b07ae1ad1 Some wx3 fixes 2015-07-28 15:47:19 -05:00
Leland Lucius
37168ebbf6 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-28 15:06:25 -05:00
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
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
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
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
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