Paul Licameli
618fee21ec
TranslatableString for ComponentInterface::GetDescription()
2019-12-16 14:21:57 -05:00
Paul Licameli
ca70cc940f
Don't concatenate ":" onto user-visible strings...
...
... include it in the msgid intead, to get appropriate translations. For
instance some locales use the same character but prefer to insert a space
before it.
2019-12-04 16:19:07 -05:00
Paul Licameli
dd954247d3
More uses of Position(); don't fiddle with sizer items directly
2019-12-02 22:01:55 -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
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
3ea0209e5c
Define and use ShuttleGui::ToolTip
2019-12-02 11:41:51 -05:00
Paul Licameli
1d32824e02
Define and use ShuttleGui::Validator
2019-12-02 11:21:40 -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
17ee2478bc
An overload of AddChoice specifying selected as string value
2019-11-28 14:24:44 -05:00
Paul Licameli
15983499c8
New virtual function in ModuleInterface
2019-11-26 11:02:35 -05:00
Paul Licameli
b9399e5550
Remove some #include directives
2019-07-19 13:55:49 -04:00
Paul Licameli
aa5f9550bd
LabelTrackView, not LabelTrack, handles focus changes when adding
2019-06-20 10:47:25 -04:00
Paul Licameli
f86403378b
Move AudacityMessageBox to its own files...
...
... breaking cycles among low-level files introduced by 273ba9f
2019-05-20 14:48:36 -04:00
Paul Licameli
548192fcf3
Remove redundant #include-s from .h files...
...
Redundant, because transitively implied. But don't do this for inclusions of
Audacity.h or Experimental.h.
2019-05-16 14:58:34 -04:00
Paul Licameli
56f51d8176
Revert "Remove redundant #include-s from .h files..."
...
This reverts commit b7fe62d17067b4441530dd36b25052cea3ad44b5.
2019-05-16 14:33:55 -04:00
Paul Licameli
b7fe62d170
Remove redundant #include-s from .h files...
...
Redundant, because transitively implied. But don't do this for inclusions of
Audacity.h or Experimental.h.
2019-05-16 14:15:05 -04:00
Paul Licameli
74128156bf
ModuleInterface::GetFileExtensions() returns const reference...
...
... avoiding repeated array allocation
2019-05-16 12:30:23 -04:00
Paul Licameli
2de696b461
Bug2086: Mixer board behavior...
...
... and also fixed analogous mistakes in some effects (Vamp, SoundTouch, and
SBSMS effects), found by review of all uses of TrackList::Channels.
The first member of the pair of iterators returned by TrackList::Channels
does not necessarily deference to a null pointer when it is incremented to
the end of the range.
2019-03-29 11:45:28 -04:00
Paul Licameli
d71a54b4e9
Remove wx/checkbox.h from headers
2019-03-28 12:55:34 -04:00
Paul Licameli
803d8b9559
Remove wx/filename.h, wx/choice.h, wxFileNameWrapper.h from headers
2019-03-28 03:12:42 -04:00
Paul Licameli
8cf6874555
Remove wx/textctrl.h from headers
2019-03-28 01:43:53 -04:00
Paul Licameli
b8aea73c91
Remove wx/stattext.h from headers
2019-03-27 14:33:46 -04:00
Paul Licameli
7766d9a192
AddCheckBox takes a bool for initial state, not string
2019-03-27 12:58:40 -04:00
Paul Licameli
b18f825ee8
Remove wx/slider.h from headers
2019-03-27 10:35:59 -04:00
Paul Licameli
c3aad2e026
Remove wx/event.h from headers
2019-03-27 04:36:51 -04:00
Paul Licameli
1d0247607a
Remove wx/string.h from headers
2019-03-26 11:33:55 -04:00
Paul Licameli
f45300f032
This is only comments, in files where USE_ macros are tested...
...
... following the comment convention used in the preceding commit.
2019-03-22 12:38:30 -04:00
Paul Licameli
5e7d41ec07
Each .cpp/.mm file includes corresponding header before any other...
...
... except Audacity.h
This forces us to make each header contain all forward declarations or nested
headers that it requires, rather than depend on context.
2019-03-17 22:54:52 -04:00
Paul Licameli
1bcb7c20a5
Remove some nested #include from Project.h
2019-03-16 13:09:54 -04:00
Paul Licameli
dd86346156
ShuttlegGUI: const wxArrayStringEx & arguments, not wxArrayString *...
...
... for choice, combo, and listbox; reference allows passing temporaries,
eliminating need for some variables to hold the string arrays.
2019-03-16 07:17:21 -04:00
Paul Licameli
dcd82b8ef5
ShuttleGui::AddChoice takes int to specify selection, with a default...
...
... This makes things brief and where non-default avoids some repetition of
literal strings
2019-03-15 23:35:13 -04:00
Paul Licameli
a30000cf74
Use type aliases FilePath, FilePaths...
...
... for wxString and wxArrayStringEx, holding file paths (absolute or relative,
directory or plain file); to be replaced later with different types
(not yet using std::vector, becase of some uses of wxArrayString::Index with
two arguments)
2019-03-15 15:18:11 -04:00
Paul Licameli
485b6bb425
Use type aliases FileExtension, FileExtensions...
...
... for wxString and wxArrayStringEx, holding file extensions (without dot);
to be replaced later with different types
(not yet using std::vector, becase of some uses of wxArrayString::Index with
two arguments)
And simplify some constructions of arrays
2019-03-15 15:18:11 -04:00
Paul Licameli
dcd211affa
Use type aliases PluginPath, PluginPaths...
...
... for wxString and vector thereof, when holding plugin paths (which may or
may not be interpreted as file paths, depending on the module); to be replaced
later with different types
2019-03-15 15:18:11 -04:00
Paul Licameli
dfeb7e18aa
Type aliases for some uses of ComponentInterfaceSymbol...
...
... to be replaced later with distinct types
Also changing FamilyId => Family in function names
Also NumericFormatId => NumericFormatSymbol
2019-03-14 17:26:20 -04:00
Paul Licameli
2db49dc1f0
Use standard library style members of wxArrayString (and wxString) ...
...
... which will make it easier to change the types of those containers to
std::vectors of other string-like classes
for wxString,
IsEmpty => empty
Clear => clear
Alloc => reserve
for wxArrayString,
Count => size
GetCount => size
IsEmpty => empty
Add => push_back
Clear => clear
Empty => clear
Sort => std::sort (only with default comparator)
SetCount => resize
Last => back
Item => operator []
Alloc => reserve
2019-03-10 14:43:57 -04:00
Paul Licameli
f2405f3023
rename a function
2019-03-09 12:02:13 -05:00
Paul Licameli
370d3e6338
spelling in comments
2018-11-03 11:45:05 -04:00
James Crook
466e9c179e
Create ComponentInterface
...
It combines the old IdentInterface with the ParamsInterface, providing an identifier and parameters (if needed).
The main purpose of the change is to make the class hierarchy (as viewed via doxygen) much easier to follow.
2018-11-02 17:04:43 +00:00
James Crook
5fd95dd131
Fix C4456 Warnings.
...
"C4456 declaration hides previous local declaration."
These arise from repeated declarations of the same name.
2018-10-10 17:28:50 +01:00
Paul Licameli
518df314eb
Rewrite GetLink(ed) in vamp effects
2018-10-01 13:42:30 -04:00
Paul Licameli
2e11844f6a
Effect::inputTracks() now gives only const access
2018-10-01 10:59:48 -04:00
Olivier Humbert
ac87eddd60
Update VampEffect.h
2018-08-29 23:07:37 -04:00
Paul Licameli
7a0475e39f
Remove most uses of AUDACITY_OLD_STD
2018-05-10 00:56:36 -04:00
Paul Licameli
b200819f75
Use IdentInterfaceSymbol to identify commands and effects
2018-04-11 11:51:10 -04:00
Paul Licameli
11d217076a
Remove PluginManager::GetTranslatedVendor()...
...
... Instead, use the IdentInterfaceSymbol for vendor reported by the effect
2018-04-11 11:13:41 -04:00
Paul Licameli
0394660e9e
Use IdentInterfaceSymbol for vendor strings, which are used in paths
2018-04-11 11:13:41 -04:00
Paul Licameli
d9606e8cdf
Make effect family names translatable and add i18n-hint comments
2018-04-11 11:13:41 -04:00
Paul Licameli
2c19e8f81e
Use IdentInterfaceSymbol to identify effect families
2018-04-11 11:13:40 -04:00