13#ifndef __SCREENSHOT_COMMAND__
14#define __SCREENSHOT_COMMAND__
21class wxTopLevelWindow;
94 void GetDerivedParams();
111 wxString MakeFileName(
const wxString &path,
const wxString &basename);
113 wxRect GetBackgroundRect();
116 bool CaptureDock(
const CommandContext & Context, wxWindow *win,
const wxString &fileName);
123 const wxString &basename,
124 wxWindow *window, wxRect rect,
126 wxRect GetWindowRect(wxTopLevelWindow *w);
127 wxRect GetFullWindowRect(wxTopLevelWindow *w);
128 wxRect GetScreenRect();
137 static void (*mIdleHandler)(wxIdleEvent& event);
139 static bool MayCapture( wxDialog * pDlg );
141 void CaptureWindowOnIdle(
const CommandContext & context, wxWindow * pWin );
Contains declaration of Command base class.
const TranslatableString name
This is an Audacity Specific ruler panel which additionally has border, selection markers,...
Base class for command in Audacity.
virtual bool Apply(const CommandContext &WXUNUSED(context))
virtual bool VisitSettings(SettingsVisitor &)
virtual void PopulateOrExchange(ShuttleGui &WXUNUSED(S))
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
CommandOutputTargets a mix of three output classes to output progress indication, status messages and...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
An explicitly nonlocalized string, not meant for the user to see.
ScreenshotBigDialog provides an alternative Gui for ScreenshotCommand. It adds a timer that allows a ...
Implements a command for capturing various areas of the screen or project window. It's one big if-els...
static ScreenshotCommand * mpShooter
ManualPageID ManualPage() override
TranslatableString GetDescription() const override
ComponentInterfaceSymbol GetSymbol() const override
EnumValueSymbols mSymbols
static const ComponentInterfaceSymbol Symbol
Visitor of effect or command parameters. This is a base class with lots of virtual functions that do ...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
The TrackPanel class coordinates updates and operations on the main part of the screen which contains...
Holds a msgid for the translation catalog; may also bind format arguments.
Extend wxArrayString with move operations and construction and insertion fromstd::initializer_list.
void Capture(wxWindow *handler)