Audacity 3.2.0
|
#include <vector>
#include <wx/slider.h>
#include <wx/listbase.h>
#include "Internat.h"
#include "Prefs.h"
#include "WrappedType.h"
#include "ComponentInterfaceSymbol.h"
#include <optional>
#include <wx/statbox.h>
#include <wx/defs.h>
Go to the source code of this file.
Classes | |
class | wxStaticBoxWrapper |
class | wxSliderWrapper |
struct | DialogDefinition::Item |
class | ShuttleGuiBase |
Base class for shuttling data to and from a GUI. More... | |
struct | ShuttleGuiBase::ListControlColumn |
class | ShuttleGui |
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI. More... | |
Namespaces | |
namespace | DialogDefinition |
Typedefs | |
typedef wxWindow | wxNotebookPage |
Enumerations | |
enum | teShuttleMode { eIsCreating , eIsGettingFromDialog , eIsSettingToDialog , eIsGettingMetadata , eIsCreatingFromPrefs , eIsSavingToPrefs } |
enum | { eOkButton = 0x0001 , eCancelButton = 0x0002 , eYesButton = 0x0004 , eNoButton = 0x0008 , eHelpButton = 0x0010 , ePreviewButton = 0x0020 , eDebugButton = 0x0040 , eSettingsButton = 0x0080 , ePreviewDryButton = 0x0100 , eApplyButton = 0x0200 , eCloseButton = 0x0400 } |
enum | { ePreviewID = wxID_PREVIEW , eDebugID = wxID_LOWEST - 2 , eSettingsID = wxID_LOWEST - 3 , ePreviewDryID = wxID_LOWEST - 4 , eCloseID = wxID_CANCEL } |
Functions | |
void | SetIfCreated (wxChoice *&Var, wxChoice *Val) |
void | SetIfCreated (wxTextCtrl *&Var, wxTextCtrl *Val) |
void | SetIfCreated (wxStaticText *&Var, wxStaticText *Val) |
SHUTTLEGUI_API std::unique_ptr< wxSizer > | CreateStdButtonSizer (wxWindow *parent, long buttons=eOkButton|eCancelButton, wxWindow *extra=NULL) |
SHUTTLEGUI_API TranslatableStrings | Msgids (const EnumValueSymbol strings[], size_t nStrings) |
Convenience function often useful when adding choice controls. More... | |
SHUTTLEGUI_API TranslatableStrings | Msgids (const std::vector< EnumValueSymbol > &strings) |
Convenience function often useful when adding choice controls. More... | |
Variables | |
const int | nMaxNestedSizers = 20 |
typedef wxWindow wxNotebookPage |
Definition at line 61 of file ShuttleGui.h.
anonymous enum |
Enumerator | |
---|---|
eOkButton | |
eCancelButton | |
eYesButton | |
eNoButton | |
eHelpButton | |
ePreviewButton | |
eDebugButton | |
eSettingsButton | |
ePreviewDryButton | |
eApplyButton | |
eCloseButton |
Definition at line 607 of file ShuttleGui.h.
anonymous enum |
Enumerator | |
---|---|
ePreviewID | |
eDebugID | |
eSettingsID | |
ePreviewDryID | |
eCloseID |
Definition at line 622 of file ShuttleGui.h.
enum teShuttleMode |
Enumerator | |
---|---|
eIsCreating | |
eIsGettingFromDialog | |
eIsSettingToDialog | |
eIsGettingMetadata | |
eIsCreatingFromPrefs | |
eIsSavingToPrefs |
Definition at line 35 of file ShuttleGui.h.
SHUTTLEGUI_API std::unique_ptr< wxSizer > CreateStdButtonSizer | ( | wxWindow * | parent, |
long | buttons = eOkButton|eCancelButton , |
||
wxWindow * | extra = NULL |
||
) |
Definition at line 2351 of file ShuttleGui.cpp.
References ThemeBase::Bitmap(), eApplyButton, eCancelButton, eCloseButton, eDebugButton, eDebugID, eHelpButton, eNoButton, eOkButton, ePreviewButton, ePreviewDryButton, ePreviewDryID, ePreviewID, eSettingsButton, eSettingsID, eYesButton, id, label, safenew, theTheme, and XO().
Referenced by ShuttleGui::AddStandardButtons().
SHUTTLEGUI_API TranslatableStrings Msgids | ( | const EnumValueSymbol | strings[], |
size_t | nStrings | ||
) |
Convenience function often useful when adding choice controls.
Definition at line 2587 of file ShuttleGui.cpp.
References ComponentInterfaceSymbol::Msgid().
Referenced by NyquistEffect::BuildEffectWindow(), Msgids(), EffectDistortion::Editor::PopulateOrExchange(), DragCommand::PopulateOrExchange(), GetInfoCommand::PopulateOrExchange(), GetTrackInfoCommand::PopulateOrExchange(), HelpCommand::PopulateOrExchange(), SelectTimeCommand::PopulateOrExchange(), SelectTracksCommand::PopulateOrExchange(), SetClipCommand::PopulateOrExchange(), SetTrackVisualsCommand::PopulateOrExchange(), SpectrumPrefs::PopulateOrExchange(), WaveformPrefs::PopulateOrExchange(), EqualizationUI::PopulateOrExchange(), EffectLoudness::PopulateOrExchange(), EffectNoise::PopulateOrExchange(), EffectScienFilter::PopulateOrExchange(), EffectToneGen::PopulateOrExchange(), and EffectTruncSilence::PopulateOrExchange().
SHUTTLEGUI_API TranslatableStrings Msgids | ( | const std::vector< EnumValueSymbol > & | strings | ) |
Convenience function often useful when adding choice controls.
Definition at line 2596 of file ShuttleGui.cpp.
References Msgids().
void SetIfCreated | ( | wxChoice *& | Var, |
wxChoice * | Val | ||
) |
Definition at line 2294 of file ShuttleGui.cpp.
void SetIfCreated | ( | wxStaticText *& | Var, |
wxStaticText * | Val | ||
) |
Definition at line 2304 of file ShuttleGui.cpp.
void SetIfCreated | ( | wxTextCtrl *& | Var, |
wxTextCtrl * | Val | ||
) |
Definition at line 2299 of file ShuttleGui.cpp.
const int nMaxNestedSizers = 20 |
Definition at line 33 of file ShuttleGui.h.
Referenced by ShuttleGuiBase::PushSizer().