mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-27 07:43:50 +01:00
Campbell Barton's further patch to turn many, many tabs to our 3-space convenbtion
This commit is contained in:
@@ -87,7 +87,7 @@ void EffectsPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
true);
|
||||
#endif
|
||||
|
||||
S.AddFixedText(_("Restart Audacity to apply changes."));
|
||||
S.AddFixedText(_("Restart Audacity to apply changes."));
|
||||
}
|
||||
S.EndStatic();
|
||||
|
||||
|
||||
@@ -28,12 +28,12 @@ class LibraryPrefs:public PrefsPanel
|
||||
LibraryPrefs(wxWindow * parent);
|
||||
~LibraryPrefs();
|
||||
virtual bool Apply();
|
||||
|
||||
|
||||
private:
|
||||
void Populate();
|
||||
void PopulateOrExchange(ShuttleGui & S);
|
||||
void SetMP3VersionText(bool prompt = false);
|
||||
void SetFFmpegVersionText();
|
||||
void SetFFmpegVersionText();
|
||||
|
||||
void OnMP3FindButton(wxCommandEvent & e);
|
||||
void OnMP3DownButton(wxCommandEvent & e);
|
||||
|
||||
@@ -76,28 +76,28 @@ END_EVENT_TABLE()
|
||||
class wxTreebookExt : public wxTreebook
|
||||
{
|
||||
public:
|
||||
wxTreebookExt( wxWindow *parent,
|
||||
wxWindowID id) : wxTreebook( parent, id )
|
||||
{;};
|
||||
~wxTreebookExt(){;};
|
||||
virtual int ChangeSelection(size_t n);
|
||||
virtual int SetSelection(size_t n);
|
||||
wxTreebookExt( wxWindow *parent,
|
||||
wxWindowID id) : wxTreebook( parent, id )
|
||||
{;};
|
||||
~wxTreebookExt(){;};
|
||||
virtual int ChangeSelection(size_t n);
|
||||
virtual int SetSelection(size_t n);
|
||||
};
|
||||
|
||||
|
||||
int wxTreebookExt::ChangeSelection(size_t n) {
|
||||
int i = wxTreebook::ChangeSelection(n);
|
||||
wxString Temp = GetPageText( n );
|
||||
((wxDialog*)GetParent())->SetTitle( Temp );
|
||||
return i;
|
||||
int i = wxTreebook::ChangeSelection(n);
|
||||
wxString Temp = GetPageText( n );
|
||||
((wxDialog*)GetParent())->SetTitle( Temp );
|
||||
return i;
|
||||
};
|
||||
|
||||
int wxTreebookExt::SetSelection(size_t n)
|
||||
{
|
||||
int i = wxTreebook::SetSelection(n);
|
||||
wxString Temp = wxString(_("Preferences: ")) + GetPageText( n );
|
||||
((wxDialog*)GetParent())->SetTitle( Temp );
|
||||
return i;
|
||||
int i = wxTreebook::SetSelection(n);
|
||||
wxString Temp = wxString(_("Preferences: ")) + GetPageText( n );
|
||||
((wxDialog*)GetParent())->SetTitle( Temp );
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ void QualityPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
mConverterLabels),
|
||||
S.SetSizeHints(mConverterNames);
|
||||
|
||||
S.TieChoice(_("&Dither:"),
|
||||
S.TieChoice(_("&Dither:"),
|
||||
wxT("/Quality/DitherAlgorithm"),
|
||||
Dither::none,
|
||||
mDitherNames,
|
||||
@@ -201,7 +201,7 @@ void QualityPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
mConverterLabels),
|
||||
S.SetSizeHints(mConverterNames);
|
||||
|
||||
S.TieChoice(_("Dit&her:"),
|
||||
S.TieChoice(_("Dit&her:"),
|
||||
wxT("/Quality/HQDitherAlgorithm"),
|
||||
Dither::shaped,
|
||||
mDitherNames,
|
||||
|
||||
@@ -155,10 +155,10 @@ void SpectrumPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
8);
|
||||
|
||||
mFrequencyGain =
|
||||
S.TieNumericTextBox(_("Frequency g&ain (dB/dec):"),
|
||||
wxT("/Spectrum/FrequencyGain"),
|
||||
0,
|
||||
4);
|
||||
S.TieNumericTextBox(_("Frequency g&ain (dB/dec):"),
|
||||
wxT("/Spectrum/FrequencyGain"),
|
||||
0,
|
||||
4);
|
||||
}
|
||||
S.EndTwoColumn();
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ void ThemePrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
S.EndStatic();
|
||||
|
||||
/* i18n-hint: && in here is an escape character to get a single & on screen,
|
||||
* so keep it as is */
|
||||
* so keep it as is */
|
||||
S.StartStatic( _("Theme Cache - Images && Color"));
|
||||
{
|
||||
S.StartHorizontalLay(wxALIGN_LEFT);
|
||||
|
||||
@@ -104,7 +104,7 @@ void TracksPrefs::PopulateOrExchange(ShuttleGui & S)
|
||||
wxT("/GUI/SelectAllOnNone"),
|
||||
true);
|
||||
/* i18n-hint: cut-lines are a lines indicating where to cut.*/
|
||||
S.TieCheckBox(_("Enable cu&t lines"),
|
||||
S.TieCheckBox(_("Enable cu&t lines"),
|
||||
wxT("/GUI/EnableCutLines"),
|
||||
false);
|
||||
S.TieCheckBox(_("Enable &dragging of left and right selection edges"),
|
||||
|
||||
Reference in New Issue
Block a user