Audacity 3.2.0
|
#include <NyqBench.h>
Public Member Functions | |
NyqBench (wxWindow *parent) | |
virtual | ~NyqBench () |
virtual bool | Validate () |
void | ShowNyqBench (const CommandContext &) |
void | SavePrefs () |
Static Public Member Functions | |
static NyqBench * | GetBench () |
Private Member Functions | |
void | PopulateOrExchange (ShuttleGui &S) |
void | OnClose (wxCloseEvent &e) |
void | OnMove (wxMoveEvent &e) |
void | OnSize (wxSizeEvent &e) |
void | OnNew (wxCommandEvent &e) |
void | OnOpen (wxCommandEvent &e) |
void | OnSave (wxCommandEvent &e) |
void | OnSaveAs (wxCommandEvent &e) |
void | OnRevert (wxCommandEvent &e) |
void | OnAutoLoad (wxCommandEvent &e) |
void | OnCloseWindow (wxCommandEvent &e) |
void | OnUndo (wxCommandEvent &e) |
void | OnRedo (wxCommandEvent &e) |
void | OnCut (wxCommandEvent &e) |
void | OnCopy (wxCommandEvent &e) |
void | OnPaste (wxCommandEvent &e) |
void | OnClear (wxCommandEvent &e) |
void | OnSelectAll (wxCommandEvent &e) |
void | OnFind (wxCommandEvent &e) |
void | OnGoMatch (wxCommandEvent &e) |
void | OnGoTop (wxCommandEvent &e) |
void | OnGoUp (wxCommandEvent &e) |
void | OnGoPrev (wxCommandEvent &e) |
void | OnGoNext (wxCommandEvent &e) |
void | OnAutoWrap (wxCommandEvent &e) |
void | OnFont (wxCommandEvent &e) |
void | OnSplitV (wxCommandEvent &e) |
void | OnSplitH (wxCommandEvent &e) |
void | OnToggleCode (wxCommandEvent &e) |
void | OnToggleOutput (wxCommandEvent &e) |
void | OnSmallIcons (wxCommandEvent &e) |
void | OnLargeIcons (wxCommandEvent &e) |
void | OnGo (wxCommandEvent &e) |
void | OnStop (wxCommandEvent &e) |
void | OnAbout (wxCommandEvent &e) |
void | OnFindDialog (wxFindDialogEvent &e) |
void | OnTextUpdate (wxCommandEvent &e) |
void | OnMenuUpdate (wxUpdateUIEvent &e) |
void | OnUndoUpdate (wxUpdateUIEvent &e) |
void | OnRedoUpdate (wxUpdateUIEvent &e) |
void | OnCutUpdate (wxUpdateUIEvent &e) |
void | OnCopyUpdate (wxUpdateUIEvent &e) |
void | OnPasteUpdate (wxUpdateUIEvent &e) |
void | OnClearUpdate (wxUpdateUIEvent &e) |
void | OnViewUpdate (wxUpdateUIEvent &e) |
void | OnRunUpdate (wxUpdateUIEvent &e) |
void | OnScriptUpdate (wxUpdateUIEvent &e) |
void | OnOutputUpdate (wxUpdateUIEvent &e) |
void | SetWindowTitle () |
void | RecreateToolbar (bool large=false) |
void | LoadFile () |
DECLARE_EVENT_TABLE () | |
Private Attributes | |
wxStaticBox * | mScriptBox |
wxStaticBox * | mOutputBox |
NyqTextCtrl * | mScript |
NyqTextCtrl * | mOutput |
wxSplitterWindow * | mSplitter |
wxFindReplaceDialog * | mFindDlg |
wxFindReplaceData | mFindData |
NyqTextCtrl * | mFindText |
NyquistEffect * | mEffect |
wxFont | mScriptFont |
wxFont | mOutputFont |
wxBitmap | mPics [20] |
int | mSplitMode |
bool | mShowCode |
bool | mShowOutput |
bool | mLargeIcons |
bool | mRunning |
wxFileName | mPath |
bool | mAutoLoad |
bool | mAutoWrap |
wxRect | mLastSize |
Definition at line 99 of file NyqBench.h.
NyqBench::NyqBench | ( | wxWindow * | parent | ) |
Definition at line 647 of file NyqBench.cpp.
References _, anonymous_namespace{ExportPCM.cpp}::desc, eIsCreating, gPrefs, ID_AUTOLOAD, ID_AUTOWRAP, ID_FONT, ID_GO, ID_LARGEICONS, ID_MATCH, ID_NEXT, ID_PREVIOUS, ID_SMALLICONS, ID_SPLITH, ID_SPLITV, ID_STOP, ID_TOGGLECODE, ID_TOGGLEOUTPUT, ID_TOP, ID_UP, LoadFile(), mAutoLoad, mAutoWrap, mFindDlg, mLargeIcons, mOutput, mOutputBox, mOutputFont, mPath, mRunning, mScript, mScriptBox, mScriptFont, mShowCode, mShowOutput, mSplitMode, mSplitter, PopulateOrExchange(), audacity::BasicSettings::Read(), RecreateToolbar(), S, SetWindowTitle(), and wxT().
|
virtual |
Definition at line 805 of file NyqBench.cpp.
|
private |
|
static |
Definition at line 637 of file NyqBench.cpp.
References gBench.
Referenced by anonymous_namespace{NyqBench.cpp}::findme().
|
private |
Definition at line 1695 of file NyqBench.cpp.
References mPath, mScript, and wxT().
Referenced by NyqBench(), OnOpen(), and OnRevert().
|
private |
Definition at line 1365 of file NyqBench.cpp.
References _.
|
private |
Definition at line 1074 of file NyqBench.cpp.
References mAutoLoad.
|
private |
Definition at line 1180 of file NyqBench.cpp.
References BasicUI::FindFocus(), ID_SCRIPT, mAutoWrap, and mScript.
|
private |
Definition at line 1117 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1512 of file NyqBench.cpp.
References BasicUI::FindFocus(), and mOutput.
|
private |
Definition at line 947 of file NyqBench.cpp.
References ExportProgressUI::Show(), and Validate().
|
private |
Definition at line 973 of file NyqBench.cpp.
|
private |
Definition at line 1107 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1502 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1102 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1497 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1127 of file NyqBench.cpp.
References _, BasicUI::FindFocus(), gPrefs, mFindData, mFindDlg, mFindText, mOutput, mScript, audacity::BasicSettings::Read(), and wxT().
|
private |
Definition at line 1380 of file NyqBench.cpp.
References AudacityMessageBox(), gPrefs, mFindData, mFindDlg, mFindText, Tuple::detail::npos(), audacity::BasicSettings::Write(), wxT(), and XO().
|
private |
Definition at line 1216 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, mOutputFont, mScript, and mScriptFont.
|
private |
Definition at line 1327 of file NyqBench.cpp.
References EffectUI::DoEffect(), EffectManager::Get(), GetActiveProject(), mEffect, mOutput, mRunning, mScript, NyquistBase::RedirectOutput(), EffectManager::RegisterEffect(), NyquistBase::SetCommand(), and EffectManager::UnregisterEffect().
|
private |
Definition at line 1155 of file NyqBench.cpp.
References NyqTextCtrl::GoMatch(), and mScript.
|
private |
Definition at line 1175 of file NyqBench.cpp.
References NyqTextCtrl::GoNext(), and mScript.
|
private |
Definition at line 1170 of file NyqBench.cpp.
References NyqTextCtrl::GoPrev(), and mScript.
|
private |
Definition at line 1160 of file NyqBench.cpp.
References NyqTextCtrl::GoTop(), and mScript.
|
private |
Definition at line 1165 of file NyqBench.cpp.
References NyqTextCtrl::GoUp(), and mScript.
|
private |
Definition at line 1322 of file NyqBench.cpp.
References RecreateToolbar().
|
private |
|
private |
Definition at line 957 of file NyqBench.cpp.
References mLastSize.
|
private |
Definition at line 978 of file NyqBench.cpp.
References mPath, mScript, SetWindowTitle(), and Validate().
|
private |
Definition at line 996 of file NyqBench.cpp.
References _, gPrefs, LoadFile(), mPath, mScript, SetWindowTitle(), Validate(), audacity::BasicSettings::Write(), and wxT().
|
private |
Definition at line 1563 of file NyqBench.cpp.
References _, BasicUI::FindFocus(), label, mOutput, mOutputBox, mScriptBox, and wxT().
|
private |
Definition at line 1112 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1507 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1097 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1492 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1079 of file NyqBench.cpp.
References LoadFile(), mPath, and Validate().
|
private |
Definition at line 1528 of file NyqBench.cpp.
References AudioIOBase::Get(), GetActiveProject(), ID_GO, ID_STOP, mRunning, and mScript.
|
private |
Definition at line 1021 of file NyqBench.cpp.
References AudacityMessageBox(), mPath, mScript, OnSaveAs(), and XO().
|
private |
Definition at line 1042 of file NyqBench.cpp.
References _, AudacityMessageBox(), gPrefs, mPath, mScript, SetWindowTitle(), audacity::BasicSettings::Write(), wxT(), and XO().
Referenced by OnSave().
|
private |
Definition at line 1551 of file NyqBench.cpp.
References _, BasicUI::FindFocus(), label, mOutputBox, mScript, mScriptBox, and wxT().
|
private |
Definition at line 1122 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 965 of file NyqBench.cpp.
References mLastSize.
|
private |
Definition at line 1317 of file NyqBench.cpp.
References RecreateToolbar().
|
private |
|
private |
|
private |
Definition at line 1359 of file NyqBench.cpp.
References mEffect, mRunning, and NyquistBase::Stop().
|
private |
Definition at line 1470 of file NyqBench.cpp.
|
private |
Definition at line 1265 of file NyqBench.cpp.
References mOutput, mScript, mSplitMode, and mSplitter.
|
private |
Definition at line 1291 of file NyqBench.cpp.
References mOutput, mScript, mSplitMode, and mSplitter.
|
private |
Definition at line 1092 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1487 of file NyqBench.cpp.
References BasicUI::FindFocus(), mOutput, and mScript.
|
private |
Definition at line 1517 of file NyqBench.cpp.
References ID_LARGEICONS, ID_SMALLICONS, ID_SPLITH, ID_SPLITV, ID_TOGGLECODE, ID_TOGGLEOUTPUT, mLargeIcons, mOutput, mScript, and mSplitter.
|
private |
Definition at line 838 of file NyqBench.cpp.
References _, ID_OUTPUT, ID_SCRIPT, mAutoWrap, mOutput, mOutputBox, mScript, mScriptBox, mShowCode, mSplitMode, mSplitter, and S.
Referenced by NyqBench().
|
private |
Definition at line 1602 of file NyqBench.cpp.
References _, ID_GO, ID_MATCH, ID_NEXT, ID_PREVIOUS, ID_STOP, ID_TOP, ID_UP, mLargeIcons, and mPics.
Referenced by NyqBench(), OnLargeIcons(), and OnSmallIcons().
void NyqBench::SavePrefs | ( | ) |
Definition at line 809 of file NyqBench.cpp.
References gPrefs, mAutoLoad, mAutoWrap, mLargeIcons, mLastSize, mOutput, mOutputFont, mScript, mScriptFont, mSplitter, audacity::BasicSettings::Write(), and wxT().
Referenced by ModuleDispatch().
|
private |
Definition at line 1591 of file NyqBench.cpp.
References _, mPath, and name.
Referenced by NyqBench(), OnNew(), OnOpen(), and OnSaveAs().
void NyqBench::ShowNyqBench | ( | const CommandContext & | ) |
Definition at line 1725 of file NyqBench.cpp.
References ExportProgressUI::Show().
Referenced by anonymous_namespace{NyqBench.cpp}::RegisterMenuItems().
|
virtual |
Definition at line 1575 of file NyqBench.cpp.
References AudacityMessageBox(), mScript, and XO().
Referenced by OnClose(), OnNew(), OnOpen(), and OnRevert().
|
private |
Definition at line 208 of file NyqBench.h.
Referenced by NyqBench(), OnAutoLoad(), and SavePrefs().
|
private |
Definition at line 209 of file NyqBench.h.
Referenced by NyqBench(), OnAutoWrap(), PopulateOrExchange(), and SavePrefs().
|
private |
Definition at line 192 of file NyqBench.h.
|
private |
Definition at line 189 of file NyqBench.h.
Referenced by OnFind(), and OnFindDialog().
|
private |
Definition at line 188 of file NyqBench.h.
Referenced by NyqBench(), OnFind(), and OnFindDialog().
|
private |
Definition at line 190 of file NyqBench.h.
Referenced by OnFind(), and OnFindDialog().
|
private |
Definition at line 203 of file NyqBench.h.
Referenced by NyqBench(), OnViewUpdate(), RecreateToolbar(), and SavePrefs().
|
private |
Definition at line 211 of file NyqBench.h.
Referenced by OnMove(), OnSize(), and SavePrefs().
|
private |
Definition at line 185 of file NyqBench.h.
Referenced by NyqBench(), OnClear(), OnClearUpdate(), OnCopy(), OnCopyUpdate(), OnCut(), OnCutUpdate(), OnFind(), OnFont(), OnGo(), OnOutputUpdate(), OnPaste(), OnPasteUpdate(), OnRedo(), OnRedoUpdate(), OnSelectAll(), OnSplitH(), OnSplitV(), OnToggleCode(), OnToggleOutput(), OnUndo(), OnUndoUpdate(), OnViewUpdate(), PopulateOrExchange(), and SavePrefs().
|
private |
Definition at line 183 of file NyqBench.h.
Referenced by NyqBench(), OnOutputUpdate(), OnScriptUpdate(), and PopulateOrExchange().
|
private |
Definition at line 195 of file NyqBench.h.
Referenced by NyqBench(), OnFont(), and SavePrefs().
|
private |
Definition at line 207 of file NyqBench.h.
Referenced by LoadFile(), NyqBench(), OnNew(), OnOpen(), OnRevert(), OnSave(), OnSaveAs(), and SetWindowTitle().
|
private |
Definition at line 197 of file NyqBench.h.
Referenced by RecreateToolbar().
|
private |
Definition at line 205 of file NyqBench.h.
Referenced by NyqBench(), OnGo(), OnRunUpdate(), and OnStop().
|
private |
Definition at line 184 of file NyqBench.h.
Referenced by LoadFile(), NyqBench(), OnAutoWrap(), OnClear(), OnCopy(), OnCopyUpdate(), OnCut(), OnCutUpdate(), OnFind(), OnFont(), OnGo(), OnGoMatch(), OnGoNext(), OnGoPrev(), OnGoTop(), OnGoUp(), OnMenuUpdate(), OnNew(), OnOpen(), OnPaste(), OnPasteUpdate(), OnRedo(), OnRedoUpdate(), OnRunUpdate(), OnSave(), OnSaveAs(), OnScriptUpdate(), OnSelectAll(), OnSplitH(), OnSplitV(), OnToggleCode(), OnToggleOutput(), OnUndo(), OnUndoUpdate(), OnViewUpdate(), PopulateOrExchange(), SavePrefs(), and Validate().
|
private |
Definition at line 182 of file NyqBench.h.
Referenced by NyqBench(), OnOutputUpdate(), OnScriptUpdate(), and PopulateOrExchange().
|
private |
Definition at line 194 of file NyqBench.h.
Referenced by NyqBench(), OnFont(), and SavePrefs().
|
private |
Definition at line 200 of file NyqBench.h.
Referenced by NyqBench(), and PopulateOrExchange().
|
private |
Definition at line 201 of file NyqBench.h.
Referenced by NyqBench().
|
private |
Definition at line 199 of file NyqBench.h.
Referenced by NyqBench(), OnToggleCode(), OnToggleOutput(), and PopulateOrExchange().
|
private |
Definition at line 186 of file NyqBench.h.
Referenced by NyqBench(), OnSplitH(), OnSplitV(), OnToggleCode(), OnToggleOutput(), OnViewUpdate(), PopulateOrExchange(), and SavePrefs().