1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00
Commit Graph

868 Commits

Author SHA1 Message Date
Paul Licameli
08d63aa361 Fix roundoff bug in NumericTextCtrl 2017-11-19 11:04:08 -05:00
James Crook
a49f14ad02 doxygen. Class list completed for letter 'A'. 2017-11-09 18:32:29 +00:00
James Crook
c28be778e2 Linty fixes
This commit fixes a number of warnings shown in compilation with MSVC.  No behavioral changes intended.  I did not fix signed/unsigned warnings.
2017-11-07 14:23:30 +00:00
Paul Licameli
31231a54d2 use override 2017-11-05 21:01:52 -05:00
Paul Licameli
2d17ddc100 Fix overload resolution of a call to HelpSystem::ShowHelp...
... formerly wxT("") matched bool, not wxString.  Not what was meant!
2017-10-17 20:32:07 -04:00
Svyatoslav
31b820b47c src/widget/OverlayPanel: PVS-Studio: fixes bug with remove function. 2017-10-11 14:16:33 +03:00
Paul Licameli
6a8bba0a99 Fix all remaining misuses of macro _ in static initializers...
... I found them using a rewritten macro _ that dynamically checked
that translations have been initialized.  But I do not commit that changed
macro.
2017-10-01 17:20:05 -04:00
Paul Licameli
954a974422 Changed the conditional compilation for alpha/beta/release...
... In particular, don't put the extra information in MIDI device info for Beta

But still link to the Alpha manual.
2017-09-11 00:10:22 -04:00
Paul Licameli
761bd6bf83 Translation of time, frequency, and bandwidth format names 2017-09-07 19:42:22 -04:00
James Crook
ce9938787c Use alpha or released or local manual for "help on selection".
Previously this was hard coded to use the online alphamanual.
Some other help-on-errors paths were hardcoded to use the online manual, and did not use local help even if available, so these were changed too.

Also two naming changes in the code:
ShowHelpDialog() became ShowHelp() because it typically shows the help in your browser, only showing the help in a dialog under certain circumstances.
The helpURL parameter became helpPage since it is usually a page name that is then elaborated into a url.
The Link() function became InnerLink().

Some careful http -> https changes made too.
2017-08-25 13:59:16 +01:00
James Crook
f3dcccb144 Bug 1165 - Enh: Keyboard preference key bindings can be way over to right
Fixed by putting key bindings on the left in all three views.
I also elevated EXPERIMENTAL_KEY_VIEW to no longer experimental, by excising the old code which we don't need any more.
2017-08-19 16:48:45 +01:00
James Crook
e98f08a2de Bug 463 - Incorrect Timeline numbering 2017-08-14 18:12:42 +01:00
James Crook
adb42fe8a3 FIX: Slider thumb clipped when at far right.
It was being drawn 2px to the right.
2017-08-09 11:51:14 +01:00
Paul Licameli
68a0f29bc2 Remove unused member variable 2017-07-23 15:17:07 -04:00
Paul Licameli
9aea0d3967 Do not redundantly track focus in AButton...
... I suspect it goes wrong on Mac sometimes, fault is in wxWidgets 3, not
sending all the kill focus events that it should.
2017-07-23 14:57:18 -04:00
Paul Licameli
f0de38dec1 Scanned for bad naked new; found none; changed comments, used safenew 2017-07-23 09:35:01 -04:00
Paul Licameli
f4c3f19dd1 Bug1520: Correct TQP when snap-to-nearest second & region selection 2017-07-22 19:44:09 -04:00
Paul Licameli
d9c3a02542 Bug1623: Update play, record button images when modal dialog closes 2017-07-22 19:08:54 -04:00
James Crook
de0cc3ecff Bug 1699 - Selected keyboard prefs line unreadable in 3 of 4 themes on Mac
The focus rect in key prefs is not very helpful.  It was setting the background colour too,
but that is now using system colours again.
2017-07-22 11:08:15 +01:00
Paul Licameli
d1f7e7e46f Bug1656: (Win) KB nav of toolbar buttons should skip disabled...
... This was broken at commit 6478895a39, Win-specific change meant to fix
bug 1565 (tooltips did not show for diabled buttons on Win)

This easy one-line fix preserves that, fixes 1656 too.
2017-07-21 00:56:47 -04:00
James Crook
60405eb7fe Theme Tweaks
- Highlighting of Buttons in TCP and Sliders
- No crinkly Help Icon anymore
- Invisible numbers in NoteTrack fixed
- Better visibility of label track dragger elements
- Theme rearranged more logically, and dead images culled
2017-07-19 15:27:00 +01:00
Paul Licameli
67282cbb61 SnapManager::Snap returns its results in a struct 2017-07-13 12:11:13 -04:00
James Crook
c12f849f36 Bug 1656 - (Windows) Disabled Edit Toolbar buttons not skipped for navigation and respond to ENTER as if auto-select was On
This fix addresses the second part.  ENTER (including from numpad) now has no effect if the button is disabled.
2017-07-04 22:34:43 +01:00
Paul Licameli
34da6e6ad3 Mouse-over highlighting of slider thumbs in toolbar & mixer board 2017-06-27 06:38:53 -04:00
Paul Licameli
f8b74db76e Iterators over TrackPanelCell give shared_ptr 2017-06-26 17:14:33 -04:00
James Crook
de7072709f Fix backgrounds to L and R on Mac. 2017-06-22 19:57:54 +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
Paul Licameli
ffbc4d5f90 Simplify iterations over TrackPanelCells with range-for 2017-06-17 03:01:40 -04:00
Paul Licameli
cba51e1bf8 Define class PopupMenuTable to make it easy to attach and detach handlers...
... to the parent TrackPanel window
2017-06-15 08:20:59 -04:00
Paul Licameli
b15bf441ec Static TrackInfo slider accessors, const Track* arguments 2017-06-13 14:01:36 -04:00
James Crook
545dbaf1cd Bug 68 - Vertical scale only has zeros when displaying Waveform (dB) view at -48 dB 2017-05-29 22:40:49 +01:00
James Crook
597ddbfa52 Further speed up to showing preferences.
We now don't sort the list until a view is selected.  Also we create it with nodes open, rather than creating with nodes closed and then separately opening them.  Instead of 3 sorts at initialisation only one happens now.  AX info is only updated after a sort, so this may be 3x faster for screen reader users too.
2017-05-25 15:46:55 +01:00
James Crook
8afeed5f78 Faster opening of preferences.
The slow opening was caused by sorting lists of commands.  The comparison function was slow because it created new strings, entailing malloc/free and used translation in the function.  Comparison function was being called about 4,000 times.
2017-05-24 22:08:43 +01:00
Steve Daulton
99e5516ee2 Save built-in browser size 2017-05-21 16:55:31 +01:00
James Crook
4a08ea62c0 Make HTML dialog resizable (on windows). 2017-05-20 21:56:17 +01:00
Steve Daulton
1dd6b848c2 Enable Help button for Nyquist effects 2017-05-20 14:49:07 +01:00
James Crook
349b66bbdd Bug 1584 - Pinned / Unpinned tool tip inconsistency 2017-05-15 10:18:05 +01:00
James Crook
6478895a39 Bug 1565 - Windows: Toolbars don't show tooltips when button is disabled 2017-05-14 14:58:50 +01:00
James Crook
78135d25fd Use blue for negative Numbers
The time ruler previously used blue for negative numbers, when scrolling left of zero was enabled.  This was broken by adding the dark-theme code.  Fixed now, and with a new configurable colour for it which defaults to blue if non provided.
2017-05-03 16:11:05 +01:00
Pokechu22
8db7e65505 Get rid of SetStyle for sliders
It's no longer used, and the new set up for MixerTrackCluster makes them
unable to change the type of the slider (so it should also no longer need
to be used).
2017-05-02 00:37:31 -04:00
James Crook
0b942d04b7 Move scrub ruler line down 1px
..and update the comment.
2017-04-30 18:09:19 +01:00
James Crook
5e28e3fe6d Line to mark off scrub ruler.
Provides a clear boundary between scrub ruler and quick select ruler, even if the theme colours have been warped to be very similar.
Thanks to Gale for spotting this problem on Mac.
2017-04-30 17:22:20 +01:00
Steve Daulton
516570074b Add preference option for Stem Plot
Tracks 'behaviors' preferences split to sub-page to avoid over-long
page for Tracks preferences.
2017-04-27 15:16:05 +01:00
James Crook
7e2a7aad89 Correct default colour for rulers. 2017-04-27 08:13:33 +01:00
James Crook
354b17394f Add back units have coloured backgrounds.
This was broken by a theming change for HiContrast.
2017-04-26 22:33:12 +01:00
James Crook
2a043c0b35 Add settable ruler colouring. 2017-04-26 22:32:09 +01:00
James Crook
f0db511724 Add rotated pip
Also remove dead code from theming.
2017-04-26 22:30:31 +01:00
James Crook
e08ceaf099 Add background to numbers on meter, IF meter bar and number colour is too similar.
This happens in Hi-Contrast theme.
2017-04-26 16:28:41 +01:00
James Crook
93b5456c08 Rotate pip on vertical slider. 2017-04-24 23:06:15 +01:00
James Crook
03af77387e Button and hover effect for microphone/speaker on meter bar.
Also fixed capitalisation of "Blend system and Audacity theme"
2017-04-24 20:07:48 +01:00