1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02:00

Remove 'Set' from optional items.

This removes the text saying 'Set' beside an optional item.
It's a more far reaching change, as it allows the optional items to be
aware they are optional, paving the way for future nicer presentation.
This commit is contained in:
James Crook
2018-03-18 18:58:12 +00:00
parent 8f622805ba
commit e978840044
3 changed files with 70 additions and 25 deletions

View File

@@ -83,6 +83,7 @@ public:
void ResetId();
//-- Add functions. These only add a widget or 2.
void HandleOptionality(const wxString &Prompt);
void AddPrompt(const wxString &Prompt);
void AddUnits(const wxString &Prompt);
void AddTitle(const wxString &Prompt);
@@ -318,6 +319,8 @@ protected:
// Proportion set by user rather than default.
int miPropSetByUser;
bool * mpbOptionalFlag;
std::unique_ptr<wxSizer> mpSubSizer;
wxSizer * mpSizer;
wxWindow * mpParent;