MCPcopy Create free account
hub / github.com/VitalAudio/visage / showMaximized

Method showMaximized

visage_app/application_window.cpp:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void ApplicationWindow::showMaximized() {
90 static constexpr float kUnmaximizedWidthPercent = 85.0f;
91
92 removeFromWindow();
93 window_ = createWindow({}, {}, Dimension::widthPercent(kUnmaximizedWidthPercent),
94 Dimension::heightPercent(kUnmaximizedWidthPercent), decoration_);
95 showWindow(true);
96 }
97
98 void ApplicationWindow::hide() {
99 if (window_ && onCloseRequested().callback())

Callers 6

showWindowMethod · 0.45
runExampleFunction · 0.45
runExampleFunction · 0.45
runExampleFunction · 0.45
runExampleFunction · 0.45
runExampleFunction · 0.45

Calls 1

createWindowFunction · 0.50

Tested by

no test coverage detected