Audacity 3.2.0
Public Member Functions | List of all members
ExtraActions::Handler Struct Reference
Inheritance diagram for ExtraActions::Handler:
[legend]
Collaboration diagram for ExtraActions::Handler:
[legend]

Public Member Functions

void OnOutputGain (const CommandContext &context)
 
void OnOutputGainInc (const CommandContext &context)
 
void OnOutputGainDec (const CommandContext &context)
 
void OnInputGain (const CommandContext &context)
 
void OnInputGainInc (const CommandContext &context)
 
void OnInputGainDec (const CommandContext &context)
 
void OnInputDevice (const CommandContext &context)
 
void OnOutputDevice (const CommandContext &context)
 
void OnInputChannels (const CommandContext &context)
 
void OnAudioHost (const CommandContext &context)
 
void OnFullScreen (const CommandContext &context)
 

Detailed Description

Definition at line 25 of file ExtraMenus.cpp.

Member Function Documentation

◆ OnAudioHost()

void ExtraActions::Handler::OnAudioHost ( const CommandContext context)
inline

Definition at line 90 of file ExtraMenus.cpp.

91{
92 auto &project = context.project;
93 auto &tb = DeviceToolBar::Get( project );
94 tb.ShowHostDialog();
95}
AudacityProject & project
static DeviceToolBar & Get(AudacityProject &project)

References DeviceToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnFullScreen()

void ExtraActions::Handler::OnFullScreen ( const CommandContext context)
inline

Definition at line 97 of file ExtraMenus.cpp.

98{
99 auto &project = context.project;
100 auto &window = GetProjectFrame( project );
101
102 bool bChecked = !window.wxTopLevelWindow::IsFullScreen();
103 window.wxTopLevelWindow::ShowFullScreen(bChecked);
104
105 MenuManager::Get(project).ModifyToolbarMenus(project);
106}
AUDACITY_DLL_API wxFrame & GetProjectFrame(AudacityProject &project)
Get the top-level window associated with the project (as a wxFrame only, when you do not need to use ...
static void ModifyToolbarMenus(AudacityProject &project)
Definition: Menus.cpp:600
static MenuManager & Get(AudacityProject &project)
Definition: Menus.cpp:71

References MenuManager::Get(), GetProjectFrame(), MenuManager::ModifyToolbarMenus(), and CommandContext::project.

Here is the call graph for this function:

◆ OnInputChannels()

void ExtraActions::Handler::OnInputChannels ( const CommandContext context)
inline

Definition at line 83 of file ExtraMenus.cpp.

84{
85 auto &project = context.project;
86 auto &tb = DeviceToolBar::Get( project );
87 tb.ShowChannelsDialog();
88}

References DeviceToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnInputDevice()

void ExtraActions::Handler::OnInputDevice ( const CommandContext context)
inline

Definition at line 69 of file ExtraMenus.cpp.

70{
71 auto &project = context.project;
72 auto &tb = DeviceToolBar::Get( project );
73 tb.ShowInputDialog();
74}

References DeviceToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnInputGain()

void ExtraActions::Handler::OnInputGain ( const CommandContext context)
inline

Definition at line 48 of file ExtraMenus.cpp.

49{
50 auto &project = context.project;
51 auto &tb = MeterToolBar::Get( project, false );
52 tb.ShowInputGainDialog();
53}
static MeterToolBar & Get(AudacityProject &project, bool forPlayMeterToolBar)

References MeterToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnInputGainDec()

void ExtraActions::Handler::OnInputGainDec ( const CommandContext context)
inline

Definition at line 62 of file ExtraMenus.cpp.

63{
64 auto &project = context.project;
65 auto &tb = MeterToolBar::Get( project, false );
66 tb.AdjustInputGain(-1);
67}

References MeterToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnInputGainInc()

void ExtraActions::Handler::OnInputGainInc ( const CommandContext context)
inline

Definition at line 55 of file ExtraMenus.cpp.

56{
57 auto &project = context.project;
58 auto &tb = MeterToolBar::Get( project, false );
59 tb.AdjustInputGain(1);
60}

References MeterToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnOutputDevice()

void ExtraActions::Handler::OnOutputDevice ( const CommandContext context)
inline

Definition at line 76 of file ExtraMenus.cpp.

77{
78 auto &project = context.project;
79 auto &tb = DeviceToolBar::Get( project );
80 tb.ShowOutputDialog();
81}

References DeviceToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnOutputGain()

void ExtraActions::Handler::OnOutputGain ( const CommandContext context)
inline

Definition at line 27 of file ExtraMenus.cpp.

28{
29 auto &project = context.project;
30 auto &tb = MeterToolBar::Get( project, true );
31 tb.ShowOutputGainDialog();
32}

References MeterToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnOutputGainDec()

void ExtraActions::Handler::OnOutputGainDec ( const CommandContext context)
inline

Definition at line 41 of file ExtraMenus.cpp.

42{
43 auto &project = context.project;
44 auto &tb = MeterToolBar::Get( project, true );
45 tb.AdjustOutputGain(-1);
46}

References MeterToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

◆ OnOutputGainInc()

void ExtraActions::Handler::OnOutputGainInc ( const CommandContext context)
inline

Definition at line 34 of file ExtraMenus.cpp.

35{
36 auto &project = context.project;
37 auto &tb = MeterToolBar::Get( project, true );
38 tb.AdjustOutputGain(1);
39}

References MeterToolBar::Get(), and CommandContext::project.

Here is the call graph for this function:

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