| 55 | |
| 56 | namespace { |
| 57 | void SaveWindowPreferences(const wxRect& windowRect, const wxRect& normalRect, |
| 58 | bool isMaximized, bool isIconized) { |
| 59 | ProjectWindowX.Write(windowRect.GetX()); |
| 60 | ProjectWindowY.Write(windowRect.GetY()); |
| 61 | ProjectWindowWidth.Write(windowRect.GetWidth()); |
| 62 | ProjectWindowHeight.Write(windowRect.GetHeight()); |
| 63 | ProjectWindowMaximized.Write(isMaximized); |
| 64 | ProjectWindowNormalX.Write(normalRect.GetX()); |
| 65 | ProjectWindowNormalY.Write(normalRect.GetY()); |
| 66 | ProjectWindowNormalWidth.Write(normalRect.GetWidth()); |
| 67 | ProjectWindowNormalHeight.Write(normalRect.GetHeight()); |
| 68 | ProjectWindowIconized.Write(isIconized); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | const int AudacityProjectTimerID = 5200; |
no test coverage detected