1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-02 12:35:11 +02:00

Type aliases for some uses of ComponentInterfaceSymbol...

... to be replaced later with distinct types

Also changing FamilyId => Family in function names

Also NumericFormatId => NumericFormatSymbol
This commit is contained in:
Paul Licameli
2019-02-28 13:16:09 -05:00
parent cc92c7605e
commit dfeb7e18aa
71 changed files with 231 additions and 226 deletions

View File

@@ -29,7 +29,7 @@
#include "../Internat.h"
NumericEditor::NumericEditor
(NumericConverter::Type type, const NumericFormatId &format, double rate)
(NumericConverter::Type type, const NumericFormatSymbol &format, double rate)
{
mType = type;
mFormat = format;
@@ -131,7 +131,7 @@ wxString NumericEditor::GetValue() const
return wxString::Format(wxT("%g"), GetNumericTextControl()->GetValue());
}
NumericFormatId NumericEditor::GetFormat() const
NumericFormatSymbol NumericEditor::GetFormat() const
{
return mFormat;
}
@@ -141,7 +141,7 @@ double NumericEditor::GetRate() const
return mRate;
}
void NumericEditor::SetFormat(const NumericFormatId &format)
void NumericEditor::SetFormat(const NumericFormatSymbol &format)
{
mFormat = format;
}