Audacity 3.2.0
Classes | Variables
anonymous_namespace{ProjectWindow.cpp} Namespace Reference

Classes

class  ScrollBar
 

Variables

constexpr int DEFAULT_WINDOW_WIDTH = 1060
 
constexpr int DEFAULT_WINDOW_HEIGHT = 674
 
static CommonTrackPanelCell::MouseWheelHook::Scope scope
 
AttachedWindows::RegisteredFactory sProjectWindowKey
 

Variable Documentation

◆ DEFAULT_WINDOW_HEIGHT

constexpr int anonymous_namespace{ProjectWindow.cpp}::DEFAULT_WINDOW_HEIGHT = 674
constexpr

Definition at line 57 of file ProjectWindow.cpp.

Referenced by GetDefaultWindowRect().

◆ DEFAULT_WINDOW_WIDTH

constexpr int anonymous_namespace{ProjectWindow.cpp}::DEFAULT_WINDOW_WIDTH = 1060
constexpr

Definition at line 55 of file ProjectWindow.cpp.

Referenced by GetDefaultWindowRect().

◆ scope

CommonTrackPanelCell::MouseWheelHook::Scope anonymous_namespace{ProjectWindow.cpp}::scope
static

Definition at line 387 of file ProjectWindow.cpp.

◆ sProjectWindowKey

AttachedWindows::RegisteredFactory anonymous_namespace{ProjectWindow.cpp}::sProjectWindowKey
Initial value:
{
[]( AudacityProject &parent ) -> wxWeakRef< wxWindow > {
wxRect wndRect;
bool bMaximized = false;
bool bIconized = false;
GetNextWindowPlacement(&wndRect, &bMaximized, &bIconized);
auto pWindow = safenew ProjectWindow(
nullptr, -1,
wxDefaultPosition,
wxSize(wndRect.width, wndRect.height),
parent
);
auto &window = *pWindow;
window.SetPosition(wndRect.GetPosition());
if(bMaximized) {
window.Maximize(true);
}
else if (bIconized) {
}
return pWindow;
}
}
#define safenew
Definition: MemoryX.h:10
void GetNextWindowPlacement(wxRect *nextRect, bool *pMaximized, bool *pIconized)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:89
A top-level window associated with a project, and handling scrollbars and zooming.
Definition: ProjectWindow.h:40

Definition at line 520 of file ProjectWindow.cpp.

Referenced by ProjectWindow::Find(), and ProjectWindow::Get().