Paul Licameli
4579835911
Eliminate one of the ## macro hacks in LoadEffects
2020-01-19 19:16:51 -05:00
James Crook
1176b61953
Wording changes, per wiki:
...
https://wiki.audacityteam.org/wiki/Wording
2020-01-10 17:02:31 +00:00
Paul Licameli
4385326e9d
Fewer calls to Effect::FindProject when only rate is needed
2020-01-07 18:38:56 -05:00
Paul Licameli
6a0aed3884
Eliminate uses of GetActiveProject in src/effects
2020-01-06 14:14:21 -05:00
Paul Licameli
914bb1dc95
Remove some uses of GetActiveProject in src/effects
2020-01-02 13:32:04 -05:00
Paul Licameli
c64b3cb31f
Rewrite FileDialogWrapper using FileNames::FileTypes...
...
... also removing some repeated code and using the config keys /DefaultOpenType
and /LastOpenType only in Import.cpp
2019-12-29 15:35:03 -05:00
Paul Licameli
6e14d2e56c
RulerPanel uses TranslatableString for units string...
...
... also fixing missed translation of "k" in spectrum vertical ruler
2019-12-28 23:49:18 -05:00
Paul Licameli
956e0813c4
SliderAx uses TranslatableString
2019-12-28 23:49:17 -05:00
Paul Licameli
d1637c22c0
TranslatableString for explicit prompts and units in ShuttleGui
2019-12-23 19:22:03 -05:00
Paul Licameli
747c35645a
TranslatableString for checkbox captions
2019-12-23 19:15:34 -05:00
Paul Licameli
c23451af9d
TranslatableString for prompts of radio buttons
2019-12-23 19:02:21 -05:00
Paul Licameli
455d3185a8
TranslatableString for list control column headers, menus
2019-12-23 19:02:21 -05:00
Paul Licameli
707a069712
ShuttleGui::AddVariableText takes TranslatableString
2019-12-23 18:53:00 -05:00
Paul Licameli
b404eb7800
TranslatableString for static text box captions
2019-12-23 18:52:37 -05:00
Paul Licameli
1944ac2040
TranslatableString for labels of ShuttleGui buttons
2019-12-23 15:35:48 -05:00
Paul Licameli
75996a851c
ShuttleGui::AddChoice and TieChoice take TranslatableStrings
2019-12-23 15:35:47 -05:00
Paul Licameli
89a3771730
TranslatableString for AudacityTextEntryDialog message and caption
2019-12-21 11:23:32 -05:00
Paul Licameli
2007346551
Pass TranslatableString to help, warning, and error dialogs
2019-12-20 21:48:21 -05:00
Paul Licameli
d8c2610d88
TranslatableString in AudacityCommand::MessageBox, Effect::MessageBox
2019-12-20 21:32:47 -05:00
Paul Licameli
1b726f4f09
More TranslatableString in dialog wrapper classes...
...
... All of the dialog names, and the messages for File and directory dialog
wrappers
2019-12-20 13:40:20 -05:00
Paul Licameli
e3ea93a624
Define and use function Verbatim...
...
... in cases of "TranslatableString" that are not really translated.
This makes it easier to scan the code for such unusual constructions of
TranslatableString, distinct from mere mentions of the TranslatableString type.
2019-12-19 22:49:23 -05:00
Paul Licameli
3a633e4fd8
XMLFileWriter takes TranslatableString caption
2019-12-19 16:41:48 -05:00
Paul Licameli
618fee21ec
TranslatableString for ComponentInterface::GetDescription()
2019-12-16 14:21:57 -05:00
Paul Licameli
53ee9c9800
TranslatableString for titles, names, labels of wxDialogWrappers...
...
... Found one missed translation in CommandTargets.cpp
2019-12-16 10:58:05 -05:00
Paul Licameli
0cf90d65e6
S.GetParent() for all windows passed to ShuttleGui::AddWindow()...
...
... Verified that this makes no real change.
2019-12-10 09:58:38 -05:00
James Crook
5a3e9cd063
Fix dialog naming
...
For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
2019-12-06 10:39:07 +00:00
Paul Licameli
15260c2c95
TranslatableString can store a context and format arguments...
...
... Format arguments are substituted into the translation of the msgid, which
may not be known at the time the format arguments are captured (because locale
may change). This allows TranslatableString with arguments to be constructed
at static initialization time.
There is also a special "verbatim" or null context which makes no translations
of msgids.
There is not yet any use of other contexts besides default or null.
2019-12-05 11:34:06 -05:00
Paul Licameli
930c21dc2a
Define and use ShuttleGui::Size
2019-12-02 22:02:46 -05:00
Paul Licameli
3aef0f4eef
Don't directly create wxPanel in Equalization
2019-12-02 22:01:27 -05:00
Paul Licameli
96291c5476
Remove second argument of AddWindow(), use Position() instead
2019-12-02 22:01:22 -05:00
Paul Licameli
b5ee7676fd
Rename ShuttleGui::SetSizeHints, chain-call it like other methods...
...
... And rewrite some other existing calls to SetMinSize
2019-12-02 19:35:06 -05:00
Paul Licameli
64a96e6f01
Define and use ShuttleGui::ConnectRoot...
...
... And corrected improper connections in HistoryWindow and ContrastDialog,
improper because they got called with the wrong this pointer, to
the control instead of the dialog. But that was harmless anyway because the
handlers did not use this.
2019-12-02 19:35:01 -05:00
Paul Licameli
d98e41aad1
Define and use ShuttleGui::Disable; remove EnableCtrl
2019-12-02 17:54:07 -05:00
Paul Licameli
1bfbfb9640
ShuttleGui::Style analogous to other functions
2019-12-02 17:23:34 -05:00
Paul Licameli
9eeef4713d
Define and use ShuttleGui::Name and NameSuffix...
...
... For radio buttons, the name will default to the same as the prompt if not
otherwise specified
2019-12-02 16:55:46 -05:00
Paul Licameli
72df562c4a
Conversion of TranslatableString to wxString is private
2019-12-01 18:17:57 -05:00
Paul Licameli
f846c25806
Rewrite AddChoice and TieChoice calls...
...
... either lifting or inlining array-of-string computations, so fewer statements
are mixed among ShuttleGui method calls
2019-11-29 15:16:48 -05:00
Paul Licameli
ae353fe61f
Specify list control columns and styles all in one call
2019-11-28 14:24:44 -05:00
Paul Licameli
089b46ab64
Specify initial radio button state in ShuttleGui method arguments
2019-11-28 14:24:44 -05:00
Paul Licameli
7ccd35d219
wxWidgets docs recommend: don't SetSizeHints on non-top-level windows
2019-11-28 14:24:43 -05:00
Paul Licameli
eb2161d3aa
Fix (again) TAB key navigation to graphic EQ sliders on Mac...
...
... original fix was at c8d95e1
regression was at 3e98a10
2019-11-14 23:28:15 +00:00
James Crook
eb00470042
Bug 2231 - Graphic Eq may create wrong effect
2019-11-08 20:12:13 +00:00
James Crook
a3eaf7d46e
Fix Graphic EQ slider height tiny on Linux.
...
Thanks to Steve for alerting to the problem.
2019-09-04 20:07:26 +01:00
James Crook
45ddc8c413
Rename EQ effects and lose 'extra knobs'
...
Team agreed on new names, and to remove redundant controls that are (mostly) just confusing. Also retired EQ effect.
2019-08-27 19:38:32 +01:00
James Crook
569028268d
Bug 2207 - Filter Curve and Graphic EQ have no factory presets (available in 2.3.2 and earlier)
2019-08-24 13:55:54 +01:00
James Crook
83ddabc895
Bug 1750 - Equalization: EQ control points can disappear if the points are at the same frequency
2019-08-23 19:28:35 +01:00
James Crook
a1f0a70ddd
EQ Tweaks for Independence
...
Added:
- Independent Help pages
- Independent Curves
Also tweaked for the new namings
2019-08-23 18:41:26 +01:00
James Crook
8031bf7c14
Bug 2206 - Filter Curve (and Graphic EQ) corrupt saved curves (on the right)
...
Frequency range was set too narrow.
2019-08-23 16:39:05 +01:00
James Crook
bbc202807f
EQ: Don't Load XML data any more
...
Also abolished use of nPoints, making parameters easier to set up.
This also fixes an issue where more points than are there could be read, if cfg file bad.
2019-08-23 12:12:07 +01:00
David Bailes
889bf7c191
Graphic equalization: fix accessibility name
...
Overlooked this change which should have been done when we moved to wxWidgets 3.1.1
2019-08-23 11:10:15 +01:00