1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 06:01:13 +02:00

Fix Automation listing

- Now correctly shows optional fields
- Now includes the zero-parameter commands.
- Fetches the Short-Names for menu commands.
This commit is contained in:
James Crook
2018-02-10 13:25:10 +00:00
committed by Paul Licameli
parent 78fbb6e21f
commit 5c2f35d96f
7 changed files with 37 additions and 8 deletions

View File

@@ -136,6 +136,7 @@ public:
ShuttleGetDefinition( CommandMessageTarget & target );
wxString Result;
bool IsOptional();
ShuttleParams & Optional( bool & var ) override;
void Define( bool & var, const wxChar * key, const bool vdefault, const bool vmin, const bool vmax, const bool vscl ) override;
void Define( int & var, const wxChar * key, const int vdefault, const int vmin, const int vmax, const int vscl ) override;
void Define( size_t & var, const wxChar * key, const int vdefault, const int vmin, const int vmax, const int vscl ) override;