Audacity  2.2.0
ShuttleGui.h File Reference
#include "Audacity.h"
#include "MemoryX.h"
#include <wx/grid.h>
#include <wx/sizer.h>
#include <wx/string.h>
#include "WrappedType.h"
#include <wx/scrolbar.h>

Go to the source code of this file.

Classes

class  ShuttleGuiBase
 Base class for shuttling data to and from a GUI. More...
 
class  ShuttleGui
 Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI. More...
 

Typedefs

typedef wxWindow wxNotebookPage
 

Enumerations

enum  teShuttleMode {
  eIsCreating, eIsGettingFromDialog, eIsSettingToDialog, eIsSavingViaShuttle,
  eIsGettingViaShuttle, 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)
 
AUDACITY_DLL_API
std::unique_ptr< wxSizer > 
CreateStdButtonSizer (wxWindow *parent, long buttons=eOkButton|eCancelButton, wxWindow *extra=NULL)
 

Variables

const int nMaxNestedSizers = 20
 

Typedef Documentation

typedef wxWindow wxNotebookPage

Enumeration Type Documentation

anonymous enum
Enumerator
eOkButton 
eCancelButton 
eYesButton 
eNoButton 
eHelpButton 
ePreviewButton 
eDebugButton 
eSettingsButton 
ePreviewDryButton 
eApplyButton 
eCloseButton 
anonymous enum
Enumerator
ePreviewID 
eDebugID 
eSettingsID 
ePreviewDryID 
eCloseID 
Enumerator
eIsCreating 
eIsGettingFromDialog 
eIsSettingToDialog 
eIsSavingViaShuttle 
eIsGettingViaShuttle 
eIsCreatingFromPrefs 
eIsSavingToPrefs 

Function Documentation

void SetIfCreated ( wxChoice *&  Var,
wxChoice *  Val 
)
void SetIfCreated ( wxTextCtrl *&  Var,
wxTextCtrl *  Val 
)
void SetIfCreated ( wxStaticText *&  Var,
wxStaticText *  Val 
)

Variable Documentation

const int nMaxNestedSizers = 20