MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / ToggleFullScreen

Method ToggleFullScreen

Shadows/SampleFramework11/App.cpp:188–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void App::ToggleFullScreen(bool fullScreen)
189{
190 if(fullScreen != deviceManager.FullScreen())
191 {
192 BeforeReset();
193
194 deviceManager.SetFullScreen(fullScreen);
195 deviceManager.Reset();
196
197 AfterReset();
198 }
199}
200
201void App::RenderText(const std::wstring& text, Float2 pos)
202{

Callers

nothing calls this directly

Calls 3

FullScreenMethod · 0.80
SetFullScreenMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected