Audacity 3.2.0
|
#include <WaveTrackControls.h>
Public Member Functions | |
WaveTrack & | FindWaveTrack () const |
int | ReserveId () |
PopupMenuTable (const Identifier &id, const TranslatableString &caption={}) | |
Public Member Functions inherited from PopupMenuTable | |
PopupMenuTable (const Identifier &id, const TranslatableString &caption={}) | |
const Identifier & | Id () const |
const TranslatableString & | Caption () const |
const auto * | GetRegistry () const |
const auto & | Get (void *pUserData) |
void | Clear () |
Public Member Functions inherited from PopupMenuHandler | |
PopupMenuHandler ()=default | |
PopupMenuHandler (const PopupMenuHandler &)=delete | |
PopupMenuHandler & | operator= (const PopupMenuHandler &)=delete |
virtual void | InitUserData (void *pUserData)=0 |
Called before the menu items are appended. More... | |
Public Attributes | |
PlayableTrackControls::InitMenuData * | mpData {} |
Protected Attributes | |
int | mNextId = 0 |
Protected Attributes inherited from PopupMenuTable | |
std::shared_ptr< PopupSubMenu > | mTop |
std::vector< PopupMenuGroupItem * > | mStack |
Identifier | mId |
TranslatableString | mCaption |
std::unique_ptr< PopupMenuGroupItem > | mRegistry |
Additional Inherited Members | |
Public Types inherited from PopupMenuTable | |
using | Entry = PopupMenuTableEntry |
Static Public Member Functions inherited from PopupMenuTable | |
static std::unique_ptr< PopupMenu > | BuildMenu (PopupMenuTable *pTable, void *pUserData=NULL) |
static void | ExtendMenu (PopupMenu &menu, PopupMenuTable &otherTable) |
template<typename Table , typename Factory > | |
static auto | Adapt (const Factory &factory) |
Protected Member Functions inherited from PopupMenuTable | |
virtual void | Populate ()=0 |
template<typename Ptr > | |
void | Append (Ptr pItem) |
void | Append (const Identifier &stringId, PopupMenuTableEntry::Type type, int id, const TranslatableString &string, wxCommandEventFunction memFn, const PopupMenuTableEntry::InitFunction &init) |
void | AppendItem (const Identifier &stringId, int id, const TranslatableString &string, wxCommandEventFunction memFn, const PopupMenuTableEntry::InitFunction &init={}) |
void | AppendRadioItem (const Identifier &stringId, int id, const TranslatableString &string, wxCommandEventFunction memFn, const PopupMenuTableEntry::InitFunction &init={}) |
void | AppendCheckItem (const Identifier &stringId, int id, const TranslatableString &string, wxCommandEventFunction memFn, const PopupMenuTableEntry::InitFunction &init={}) |
void | BeginSection (const Identifier &name) |
void | EndSection () |
Static Protected Member Functions inherited from PopupMenuTable | |
static TranslatableString | MakeLabel (const TranslatableString &label, bool useExtra, const TranslatableString &extra) |
Definition at line 76 of file WaveTrackControls.h.
WaveTrack & WaveTrackPopupMenuTable::FindWaveTrack | ( | ) | const |
Definition at line 96 of file WaveTrackControls.cpp.
References mpData, and CommonTrackControls::InitMenuData::track.
|
inline |
|
inline |
Definition at line 81 of file WaveTrackControls.h.
|
protected |
Definition at line 83 of file WaveTrackControls.h.
Referenced by WaveTrackMenuTable::WaveTrackMenuTable().
PlayableTrackControls::InitMenuData* WaveTrackPopupMenuTable::mpData {} |
Definition at line 79 of file WaveTrackControls.h.
Referenced by FindWaveTrack(), WaveTrackMenuTable::InitUserData(), WaveTrackMenuTable::OnMergeStereo(), WaveTrackMenuTable::OnSetDisplay(), WaveTrackMenuTable::OnSplitStereo(), WaveTrackMenuTable::OnSplitStereoMono(), WaveTrackMenuTable::OnSwapChannels(), and WaveTrackMenuTable::SplitStereo().