Audacity 3.2.0
Public Member Functions | List of all members
anonymous_namespace{MixerBoard.cpp}::Handler Struct Reference
Inheritance diagram for anonymous_namespace{MixerBoard.cpp}::Handler:
Collaboration diagram for anonymous_namespace{MixerBoard.cpp}::Handler:

Public Member Functions

void OnMixerBoard (const CommandContext &context)

Detailed Description

Definition at line 1532 of file MixerBoard.cpp.

Member Function Documentation

◆ OnMixerBoard()

void anonymous_namespace{MixerBoard.cpp}::Handler::OnMixerBoard ( const CommandContext context)

Definition at line 1533 of file MixerBoard.cpp.

1534 {
1535 auto &project = context.project;
1537 auto mixerBoardFrame = &GetAttachedWindows(project).Get(sMixerBoardKey);
1538 mixerBoardFrame->Show();
1539 mixerBoardFrame->Raise();
1540 mixerBoardFrame->SetFocus();
1541 }
AUDACITY_DLL_API AttachedWindows & GetAttachedWindows(AudacityProject &project)
Subclass & Get(const RegisteredFactory &key)
Get reference to an attachment, creating on demand if not present, down-cast it to Subclass.
Definition: ClientData.h:309
AudacityProject & project
AttachedWindows::RegisteredFactory sMixerBoardKey

References ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), GetAttachedWindows(), CommandContext::project, and anonymous_namespace{MixerBoard.cpp}::sMixerBoardKey.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: