1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-11 09:31:13 +02:00

5070 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Paul Licameli
f858a7bd9c Correct boundaries of the background cell 2017-06-16 18:05:07 -04:00
James Crook
453be640e8 Bigger + and - on zoom buttons in Light Theme.
This is deviating slightly from the Google Material Icon design.  It can be argued that the bolder + and - are needed at this smaller size.
2017-06-16 22:22:18 +01:00
Paul Licameli
3edc331d2d Slight change to backgrounds of Light theme Mac Transport buttons...
... Copied the top and bottom single rows of pixels from the corresponding
three images (MacUpButton, MacDownButton, MacHiliteButton) in Classic theme.

Because the previous images were a bit pinkish at the bottom and darkish at the
top and looked just a little bit wrong.
2017-06-16 11:58:46 -04:00
James Crook
b293ad0b50 Fix 'black spot' issue on buttons.
100% transparent black was appearing as black.  Now it appears as the background colour.
AButton backgrounds now support alpha channel, which they did not before.
2017-06-16 15:38:48 +01:00
James Crook
b24560a134 Completion of FocusRect fix.
Fix is needed on Mac too.
2017-06-16 15:37:06 +01:00
James Crook
d2187b42cc Make FocusRect visible on Dark Themes.
Now uses clrTrackPanelText for the focus rect dots.
2017-06-16 14:50:50 +01:00
Paul Licameli
a00b1935d7 Fix keystroke handling in TrackPanel (such as Shift+M) 2017-06-15 22:09:11 -04:00
Paul Licameli
c1612d6842 Fix WaveTrack menu (ID collision, item names, enabling) 2017-06-15 11:02:28 -04:00
Paul Licameli
38854366a3 Update src/Makefile.in...
... just once for this branch.  Intermediate commits may not build on Linux
unless you regenerate src/Makefile.in for them.
2017-06-15 08:55:00 -04:00
Paul Licameli
770b3b52ef TrackPanel no longer implements the selection tool or MIDI stretch...
This one's big!

Also restores the effect of ctrl-click on label track.

Also adds ESC key handling for the Stretch.
2017-06-15 08:54:59 -04:00
Paul Licameli
efdb9889b1 TrackPanel no longer implements label keystrokes, drags, text selection...
... also implemented ESC key for those drags

... temporarily loses the special CTRL click handling
2017-06-15 08:54:58 -04:00
Paul Licameli
bbfa574790 Move track resizing code out of TrackPanel.cpp, though it still...
... cooperates more closely with TrackPanel than the other UIHandle subclasses
do.
2017-06-15 08:54:58 -04:00
Paul Licameli
703abe87bc TrackPanel no longer implements track selection click or rearrange drag...
... also implement ESC key for the drag
2017-06-15 08:54:57 -04:00
Paul Licameli
46b97084eb Move note track control panel click handling out of TrackPanel.cpp 2017-06-15 08:54:55 -04:00
Paul Licameli
e4627b1668 TrackPanel no longer implements other mouse wheel actions 2017-06-15 08:21:42 -04:00
Paul Licameli
8ef5f696d8 Define BackgoundCell, move some things into it 2017-06-15 08:21:41 -04:00
Paul Licameli
674ccc5e15 Clean up last bits of old popup menu code 2017-06-15 08:21:40 -04:00
Paul Licameli
91e6239eeb Move code for vertical ruler clicks, drags, popup menus, scroll wheel 2017-06-15 08:21:40 -04:00
Paul Licameli
a313bcdb11 Move code for Wave track menu items 2017-06-15 08:21:40 -04:00
Paul Licameli
ba5f6ce411 Move code for Note track menu items 2017-06-15 08:21:39 -04:00
Paul Licameli
01d5d30b7e Move code for Label track menu items 2017-06-15 08:21:38 -04:00
Paul Licameli
516d812f3a Move code for Time track menu items 2017-06-15 08:21:38 -04:00
Paul Licameli
0e5e7b1c05 Move code for common track menu items 2017-06-15 08:21:37 -04:00
Paul Licameli
bd0603b66a Remove the duplicate button-drawing functions that are now unused 2017-06-15 08:21:37 -04:00
Paul Licameli
1a317af2f5 Move code for handling the menu button out of TrackPanel, but...
... Still to do, move out the code for menu items.  They remain accessible
from Shift-M but not from the menu button.

And ESC key is now implemented.
2017-06-15 08:21:36 -04:00