Audacity  2.2.0
EffectUIHost Class Referencefinal

#include <Effect.h>

Inheritance diagram for EffectUIHost:
wxTabTraversalWrapper< Base >

Public Member Functions

 EffectUIHost (wxWindow *parent, Effect *effect, EffectUIClientInterface *client)
 
virtual ~EffectUIHost ()
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
int ShowModal () override
 
bool Initialize ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

void OnInitDialog (wxInitDialogEvent &evt)
 
void OnErase (wxEraseEvent &evt)
 
void OnPaint (wxPaintEvent &evt)
 
void OnClose (wxCloseEvent &evt)
 
void OnApply (wxCommandEvent &evt)
 
void DoCancel ()
 
void OnCancel (wxCommandEvent &evt)
 
void OnHelp (wxCommandEvent &evt)
 
void OnDebug (wxCommandEvent &evt)
 
void OnMenu (wxCommandEvent &evt)
 
void OnEnable (wxCommandEvent &evt)
 
void OnPlay (wxCommandEvent &evt)
 
void OnRewind (wxCommandEvent &evt)
 
void OnFFwd (wxCommandEvent &evt)
 
void OnPlayback (wxCommandEvent &evt)
 
void OnCapture (wxCommandEvent &evt)
 
void OnUserPreset (wxCommandEvent &evt)
 
void OnFactoryPreset (wxCommandEvent &evt)
 
void OnDeletePreset (wxCommandEvent &evt)
 
void OnSaveAs (wxCommandEvent &evt)
 
void OnImport (wxCommandEvent &evt)
 
void OnExport (wxCommandEvent &evt)
 
void OnOptions (wxCommandEvent &evt)
 
void OnDefaults (wxCommandEvent &evt)
 
void UpdateControls ()
 
wxBitmap CreateBitmap (const char *xpm[], bool up, bool pusher)
 
void LoadUserPresets ()
 
void InitializeRealtime ()
 
void CleanupRealtime ()
 
void Resume ()
 

Private Attributes

AudacityProjectmProject
 
wxWindow * mParent
 
EffectmEffect
 
EffectUIClientInterface * mClient
 
wxArrayString mUserPresets
 
bool mInitialized
 
bool mSupportsRealtime
 
bool mIsGUI
 
bool mIsBatch
 
wxButton * mApplyBtn
 
wxButton * mCloseBtn
 
wxButton * mMenuBtn
 
wxButton * mPlayBtn
 
wxButton * mRewindBtn
 
wxButton * mFFwdBtn
 
wxCheckBox * mEnableCb
 
wxButton * mEnableToggleBtn
 
wxButton * mPlayToggleBtn
 
wxBitmap mPlayBM
 
wxBitmap mPlayDisabledBM
 
wxBitmap mStopBM
 
wxBitmap mStopDisabledBM
 
bool mEnabled
 
bool mDisableTransport
 
bool mPlaying
 
bool mCapturing
 
SelectedRegion mRegion
 
double mPlayPos
 
bool mDismissed {}
 
bool mNeedsResume {}
 

Constructor & Destructor Documentation

EffectUIHost::EffectUIHost ( wxWindow *  parent,
Effect effect,
EffectUIClientInterface *  client 
)
EffectUIHost::~EffectUIHost ( )
virtual

References Effect::mClient.

Member Function Documentation

void EffectUIHost::CleanupRealtime ( )
private
wxBitmap EffectUIHost::CreateBitmap ( const char *  xpm[],
bool  up,
bool  pusher 
)
private
void EffectUIHost::DoCancel ( )
private
void EffectUIHost::InitializeRealtime ( )
private
void EffectUIHost::LoadUserPresets ( )
private
void EffectUIHost::OnApply ( wxCommandEvent &  evt)
private
void EffectUIHost::OnCancel ( wxCommandEvent &  evt)
private
void EffectUIHost::OnCapture ( wxCommandEvent &  evt)
private
void EffectUIHost::OnClose ( wxCloseEvent &  evt)
private

References Effect::mClient.

void EffectUIHost::OnDebug ( wxCommandEvent &  evt)
private
void EffectUIHost::OnDefaults ( wxCommandEvent &  evt)
private
void EffectUIHost::OnDeletePreset ( wxCommandEvent &  evt)
private

References _(), and kDeletePresetID.

void EffectUIHost::OnEnable ( wxCommandEvent &  evt)
private
void EffectUIHost::OnErase ( wxEraseEvent &  evt)
private
void EffectUIHost::OnExport ( wxCommandEvent &  evt)
private

References Effect::mClient.

void EffectUIHost::OnFactoryPreset ( wxCommandEvent &  evt)
private

References kFactoryPresetsID.

void EffectUIHost::OnFFwd ( wxCommandEvent &  evt)
private
void EffectUIHost::OnHelp ( wxCommandEvent &  evt)
private
void EffectUIHost::OnImport ( wxCommandEvent &  evt)
private

References Effect::mClient.

void EffectUIHost::OnInitDialog ( wxInitDialogEvent &  evt)
private
void EffectUIHost::OnOptions ( wxCommandEvent &  evt)
private

References Effect::mClient.

void EffectUIHost::OnPaint ( wxPaintEvent &  evt)
private
void EffectUIHost::OnPlay ( wxCommandEvent &  evt)
private
void EffectUIHost::OnPlayback ( wxCommandEvent &  evt)
private
void EffectUIHost::OnRewind ( wxCommandEvent &  evt)
private
void EffectUIHost::OnUserPreset ( wxCommandEvent &  evt)
private

References kUserPresetsID.

void EffectUIHost::Resume ( )
private

References Effect::mClient.

int EffectUIHost::ShowModal ( )
override

References safenew.

bool EffectUIHost::TransferDataFromWindow ( )
override
bool EffectUIHost::TransferDataToWindow ( )
override
void EffectUIHost::UpdateControls ( )
private

References _(), and Effect::mIsBatch.

Member Data Documentation

wxButton* EffectUIHost::mApplyBtn
private
bool EffectUIHost::mCapturing
private
EffectUIClientInterface* EffectUIHost::mClient
private
wxButton* EffectUIHost::mCloseBtn
private
bool EffectUIHost::mDisableTransport
private
bool EffectUIHost::mDismissed {}
private
Effect* EffectUIHost::mEffect
private
wxCheckBox* EffectUIHost::mEnableCb
private
bool EffectUIHost::mEnabled
private
wxButton* EffectUIHost::mEnableToggleBtn
private
wxButton* EffectUIHost::mFFwdBtn
private
bool EffectUIHost::mInitialized
private
bool EffectUIHost::mIsBatch
private
bool EffectUIHost::mIsGUI
private
wxButton* EffectUIHost::mMenuBtn
private
bool EffectUIHost::mNeedsResume {}
private
wxWindow* EffectUIHost::mParent
private
wxBitmap EffectUIHost::mPlayBM
private
wxButton* EffectUIHost::mPlayBtn
private
wxBitmap EffectUIHost::mPlayDisabledBM
private
bool EffectUIHost::mPlaying
private
double EffectUIHost::mPlayPos
private
wxButton* EffectUIHost::mPlayToggleBtn
private
AudacityProject* EffectUIHost::mProject
private
SelectedRegion EffectUIHost::mRegion
private
wxButton* EffectUIHost::mRewindBtn
private
wxBitmap EffectUIHost::mStopBM
private
wxBitmap EffectUIHost::mStopDisabledBM
private
bool EffectUIHost::mSupportsRealtime
private
wxArrayString EffectUIHost::mUserPresets
private

The documentation for this class was generated from the following files: