23 : mAttachedWindows{project}
26 wxWeakRef< wxWindow > mPanel{};
34 return std::make_unique<ProjectWindows>(project);
100std::unique_ptr<const BasicUI::WindowPlacement>
104 return std::make_unique<BasicUI::WindowPlacement>();
105 return std::make_unique<wxWidgetsWindowPlacement>(
#define THROW_INCONSISTENCY_EXCEPTION
Throw InconsistencyException, using C++ preprocessor to identify the source code location.
wxFrame * FindProjectFrame(AudacityProject *project)
Get a pointer to the window associated with a project, or null if the given pointer is null,...
void SetProjectFrame(AudacityProject &project, wxFrame &frame)
AUDACITY_DLL_API wxWindow & GetProjectPanel(AudacityProject &project)
Get the main sub-window of the project frame that displays track data.
AUDACITY_DLL_API void SetProjectPanel(AudacityProject &project, wxWindow &panel)
std::unique_ptr< const BasicUI::WindowPlacement > ProjectFramePlacement(AudacityProject *project)
Make a WindowPlacement object suitable for project (which may be null)
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 ...
AUDACITY_DLL_API AttachedWindows & GetAttachedWindows(AudacityProject &project)
accessors for certain important windows associated with each project
ScreenshotBigDialogPtr mFrame
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Client code makes static instance from a factory of attachments; passes it to Get or Find as a retrie...
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
const AudacityProject::AttachedObjects::RegisteredFactory key
A convenient default parameter for class template Site.
ProjectWindows(AudacityProject &project)
AttachedWindows mAttachedWindows