Audacity 3.2.0
Functions
anonymous_namespace{ProjectManager.cpp} Namespace Reference

Functions

void SaveWindowPreferences (const wxRect &windowRect, const wxRect &normalRect, bool isMaximized, bool isIconized)
 

Function Documentation

◆ SaveWindowPreferences()

void anonymous_namespace{ProjectManager.cpp}::SaveWindowPreferences ( const wxRect &  windowRect,
const wxRect &  normalRect,
bool  isMaximized,
bool  isIconized 
)

Definition at line 55 of file ProjectManager.cpp.

56 {
57 ProjectWindowX.Write(windowRect.GetX());
58 ProjectWindowY.Write(windowRect.GetY());
59 ProjectWindowWidth.Write(windowRect.GetWidth());
60 ProjectWindowHeight.Write(windowRect.GetHeight());
61 ProjectWindowMaximized.Write(isMaximized);
62 ProjectWindowNormalX.Write(normalRect.GetX());
63 ProjectWindowNormalY.Write(normalRect.GetY());
64 ProjectWindowNormalWidth.Write(normalRect.GetWidth());
65 ProjectWindowNormalHeight.Write(normalRect.GetHeight());
66 ProjectWindowIconized.Write(isIconized);
67 }
IntSetting ProjectWindowY
IntSetting ProjectWindowX
IntSetting ProjectWindowWidth
BoolSetting ProjectWindowIconized
BoolSetting ProjectWindowMaximized
IntSetting ProjectWindowNormalHeight
IntSetting ProjectWindowHeight
IntSetting ProjectWindowNormalX
IntSetting ProjectWindowNormalWidth
IntSetting ProjectWindowNormalY
bool Write(const T &value)
Write value to config and return true if successful.
Definition: Prefs.h:259

References ProjectWindowHeight, ProjectWindowIconized, ProjectWindowMaximized, ProjectWindowNormalHeight, ProjectWindowNormalWidth, ProjectWindowNormalX, ProjectWindowNormalY, ProjectWindowWidth, ProjectWindowX, ProjectWindowY, and Setting< T >::Write().

Referenced by ProjectManager::SaveWindowSize().

Here is the call graph for this function:
Here is the caller graph for this function: