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 62 of file ProjectManager.cpp.

63 {
64 ProjectWindowX.Write(windowRect.GetX());
65 ProjectWindowY.Write(windowRect.GetY());
66 ProjectWindowWidth.Write(windowRect.GetWidth());
67 ProjectWindowHeight.Write(windowRect.GetHeight());
68 ProjectWindowMaximized.Write(isMaximized);
69 ProjectWindowNormalX.Write(normalRect.GetX());
70 ProjectWindowNormalY.Write(normalRect.GetY());
71 ProjectWindowNormalWidth.Write(normalRect.GetWidth());
72 ProjectWindowNormalHeight.Write(normalRect.GetHeight());
73 ProjectWindowIconized.Write(isIconized);
74 }
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:252

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: