sdlRestoreWindow function

void sdlRestoreWindow(
  1. Pointer<SdlWindow> window
)

Restore the size and position of a minimized or maximized window.

\param window the window to restore

\since This function is available since SDL 2.0.0.

\sa SDL_MaximizeWindow \sa SDL_MinimizeWindow

extern DECLSPEC void SDLCALL SDL_RestoreWindow(SDL_Window * window)

Implementation

void sdlRestoreWindow(Pointer<SdlWindow> window) {
  final sdlRestoreWindowLookupFunction = libSdl2.lookupFunction<
      Void Function(Pointer<SdlWindow> window),
      void Function(Pointer<SdlWindow> window)>('SDL_RestoreWindow');
  return sdlRestoreWindowLookupFunction(window);
}