Audacity 3.2.0
Functions | Variables
anonymous_namespace{Screenshot.cpp} Namespace Reference

Functions

void OnScreenshot (const CommandContext &context)
 

Variables

AttachedItem sAttachment
 

Function Documentation

◆ OnScreenshot()

void anonymous_namespace{Screenshot.cpp}::OnScreenshot ( const CommandContext context)

Definition at line 823 of file Screenshot.cpp.

824{
825 // Register Screenshot as Last Tool
827 OpenScreenshotTools( context.project );
828}
static void OpenScreenshotTools(AudacityProject &project)
Definition: Screenshot.cpp:134
AudacityProject & project
void RegisterLastTool(const CommandContext &context)
static CommandManager & Get(AudacityProject &project)

References CommandManager::Get(), OpenScreenshotTools(), CommandContext::project, and CommandManager::RegisterLastTool().

Here is the call graph for this function:

Variable Documentation

◆ sAttachment

AttachedItem anonymous_namespace{Screenshot.cpp}::sAttachment
Initial value:
{
Command( wxT("FancyScreenshot"), XXO("&Screenshot..."),
{ wxT("Tools/Other"), { OrderingHint::After, wxT("ConfigReset") } }
}
wxT("CloseDown"))
const ReservedCommandFlag & AudioIONotBusyFlag()
XXO("&Cut/Copy/Paste Toolbar")
constexpr auto Command
Definition: MenuRegistry.h:456
void OnScreenshot(const CommandContext &context)
Definition: Screenshot.cpp:823

Definition at line 833 of file Screenshot.cpp.