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

57 {
58 ProjectWindowX.Write(windowRect.GetX());
59 ProjectWindowY.Write(windowRect.GetY());
60 ProjectWindowWidth.Write(windowRect.GetWidth());
61 ProjectWindowHeight.Write(windowRect.GetHeight());
62 ProjectWindowMaximized.Write(isMaximized);
63 ProjectWindowNormalX.Write(normalRect.GetX());
64 ProjectWindowNormalY.Write(normalRect.GetY());
65 ProjectWindowNormalWidth.Write(normalRect.GetWidth());
66 ProjectWindowNormalHeight.Write(normalRect.GetHeight());
67 ProjectWindowIconized.Write(isIconized);
68 }
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: