Audacity 3.2.0
|
Namespace for functions for View Toolbar menu. More...
Functions | |
void | SetTool (AudacityProject &project, int tool) |
Called by handlers that set tools. More... | |
void | OnSelectTool (const CommandContext &context) |
Handler to set the select tool active. More... | |
void | OnEnvelopeTool (const CommandContext &context) |
Handler to set the Envelope tool active. More... | |
void | OnDrawTool (const CommandContext &context) |
void | OnMultiTool (const CommandContext &context) |
void | OnPrevTool (const CommandContext &context) |
void | OnNextTool (const CommandContext &context) |
auto | ExtraToolsMenu () |
Variables | |
AttachedToolBarMenuItem | sAttachment |
AttachedItem | sAttachment2 |
Namespace for functions for View Toolbar menu.
auto anonymous_namespace{ToolsToolBar.cpp}::ExtraToolsMenu | ( | ) |
Definition at line 357 of file ToolsToolBar.cpp.
References AlwaysEnabledFlag, MenuRegistry::Command, MenuRegistry::Menu, OnDrawTool(), OnEnvelopeTool(), OnMultiTool(), OnNextTool(), OnPrevTool(), OnSelectTool(), wxT(), and XXO().
void anonymous_namespace{ToolsToolBar.cpp}::OnDrawTool | ( | const CommandContext & | context | ) |
Definition at line 325 of file ToolsToolBar.cpp.
References ToolCodes::drawTool, CommandContext::project, and SetTool().
Referenced by ExtraToolsMenu().
void anonymous_namespace{ToolsToolBar.cpp}::OnEnvelopeTool | ( | const CommandContext & | context | ) |
Handler to set the Envelope tool active.
Definition at line 320 of file ToolsToolBar.cpp.
References ToolCodes::envelopeTool, CommandContext::project, and SetTool().
Referenced by ExtraToolsMenu().
void anonymous_namespace{ToolsToolBar.cpp}::OnMultiTool | ( | const CommandContext & | context | ) |
Definition at line 330 of file ToolsToolBar.cpp.
References ToolCodes::multiTool, CommandContext::project, and SetTool().
Referenced by ExtraToolsMenu().
void anonymous_namespace{ToolsToolBar.cpp}::OnNextTool | ( | const CommandContext & | context | ) |
Definition at line 346 of file ToolsToolBar.cpp.
References ProjectSettings::Get(), TrackPanel::Get(), ToolCodes::numTools, CommandContext::project, project, and settings().
Referenced by ExtraToolsMenu().
void anonymous_namespace{ToolsToolBar.cpp}::OnPrevTool | ( | const CommandContext & | context | ) |
Definition at line 335 of file ToolsToolBar.cpp.
References ProjectSettings::Get(), TrackPanel::Get(), ToolCodes::numTools, CommandContext::project, project, and settings().
Referenced by ExtraToolsMenu().
void anonymous_namespace{ToolsToolBar.cpp}::OnSelectTool | ( | const CommandContext & | context | ) |
Handler to set the select tool active.
Definition at line 314 of file ToolsToolBar.cpp.
References CommandContext::project, ToolCodes::selectTool, and SetTool().
Referenced by ExtraToolsMenu().
void anonymous_namespace{ToolsToolBar.cpp}::SetTool | ( | AudacityProject & | project, |
int | tool | ||
) |
Called by handlers that set tools.
Definition at line 297 of file ToolsToolBar.cpp.
References ProjectSettings::Get(), ToolsToolBar::Get(), TrackPanel::Get(), project, TrackPanel::Refresh(), and ProjectSettings::SetTool().
Referenced by OnDrawTool(), OnEnvelopeTool(), OnMultiTool(), and OnSelectTool().
AttachedToolBarMenuItem anonymous_namespace{ToolsToolBar.cpp}::sAttachment |
Definition at line 282 of file ToolsToolBar.cpp.
AttachedItem anonymous_namespace{ToolsToolBar.cpp}::sAttachment2 |
Definition at line 377 of file ToolsToolBar.cpp.