| 86 | //------------------------------------------------------------------------------ |
| 87 | |
| 88 | void Platform::setWindowSize(U32 newWidth, U32 newHeight, bool fullScreen ) |
| 89 | { |
| 90 | AssertISV(gWindow, "Platform::setWindowSize - no window present!"); |
| 91 | |
| 92 | // Grab the curent video settings and diddle them with the new values. |
| 93 | GFXVideoMode vm = gWindow->getVideoMode(); |
| 94 | vm.resolution.set(newWidth, newHeight); |
| 95 | vm.fullScreen = fullScreen; |
| 96 | gWindow->setVideoMode(vm); |
| 97 | } |
| 98 | |
| 99 | void Platform::setWindowLocked(bool locked) |
| 100 | { |
nothing calls this directly
no test coverage detected