Paul Licameli
0bca8d15f9
Better localization of tooltips in ASlider...
...
... i18n-hints, avoid syntax assumptions (for Right and Left), avoid
assumptions about widths of non-numerical data
2018-01-02 21:18:20 -05:00
Paul Licameli
b1f7f921a0
Translate the format "%s: %s" wherever user-visible...
...
... because some languages, like French, prefer to insert a space before :
2018-01-02 12:59:46 -05:00
Paul Licameli
6a810bd82f
Fix Windows Build
2018-01-02 12:01:00 -05:00
Paul Licameli
28fd3442b1
Fix Windows build
2018-01-02 09:09:00 -05:00
Henric Jungheim
1298ec8497
Cleanup wxPanelWrapper C++.
2018-01-02 06:13:02 -05:00
Paul Licameli
a86decbbe6
fix build
2018-01-02 00:00:58 -05:00
Paul Licameli
80a958f8a4
Rewrite empty prompts to ShuttleGUI functions as {} ...
...
... so we might more easily redefine the type of the function argument,
some other day (not this release)
2018-01-01 22:51:25 -05:00
Paul Licameli
e0970ad1e8
Remove unnecesary Format, Printf, casts to wxString
2018-01-01 21:53:51 -05:00
Paul Licameli
7fd78183d2
Remove needless uses of wxString::c_str() in wxString::Format...
...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.
Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
384300016d
Define FileDialogWrapper, with localized default prompt and name
2018-01-01 17:50:04 -05:00
Paul Licameli
cf4b9eb5c8
Define wxDirDialogWrapper, with localized default prompt and name
2018-01-01 17:50:04 -05:00
Paul Licameli
729fd3767c
wxDialogWrapper and wxPanelWrapper have localized default window name
2018-01-01 17:50:03 -05:00
Paul Licameli
e8b875ff81
Define AudacityMessageDialog wrapper around wxMessageDialog...
...
... Prohibiting use of the default caption which is unlocalized. (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
af290d73c0
Define AudacityTextEntryDialog wrapper around wxTextEntryDialog...
...
... Prohibiting use of the default caption which is unlocalized. (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
ccb4bbac33
Translate "Message" as default title of message box...
...
... This required a sweeping change of all calls to wxMessageBox! But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
Paul Licameli
4d978bcefb
Use wxPrintf not printf
2017-12-16 11:54:32 -05:00
James Crook
970b9a27ee
Fix ASSERT condition.
...
I introduced this overly zealous ASSERT during a recent clean up.
2017-12-14 16:27:44 +00:00
James Crook
41ac4cd47a
Add Hover-Over-Down State for Button
...
Previously hovering over a down button made no difference.
Also tweaked the appearance of hover-over thumbs on dark theme sliders.
Also tweaked hover images and colours generally.
Classic retains the old style.
Hi Contrast does not distinguish between hover-up and hover-down.
2017-12-14 14:39:56 +00:00
James Crook
f463eda36c
Clean up some dead code and MSVC warnings.
...
- Dead code from experiments in SelectionBar removed.
- Many warnings about unused parameters fixed with WXUNUSED()
- Many warnings about signed / unsigned comparisons cleaned up.
- Several 'local variable declared but not used' warnings fixed.
2017-12-08 15:20:39 +00:00
Paul Licameli
db2074dfc2
Bug1791: Quick-play looped should begin where you pick...
...
... Was broken at commit 2cbdd1cc4319da11d82
2017-11-29 11:16:01 -05:00
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 6478895a3903, 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