sdlGetWindowFlags function

int sdlGetWindowFlags(
  1. Pointer<SdlWindow> window
)

Get the window flags.

\param window the window to query \returns a mask of the SDL_WindowFlags associated with window

\since This function is available since SDL 2.0.0.

\sa SDL_CreateWindow \sa SDL_HideWindow \sa SDL_MaximizeWindow \sa SDL_MinimizeWindow \sa SDL_SetWindowFullscreen \sa SDL_SetWindowGrab \sa SDL_ShowWindow

extern DECLSPEC Uint32 SDLCALL SDL_GetWindowFlags(SDL_Window * window)

Implementation

int sdlGetWindowFlags(Pointer<SdlWindow> window) {
  final sdlGetWindowFlagsLookupFunction = libSdl2.lookupFunction<
      Uint32 Function(Pointer<SdlWindow> window),
      int Function(Pointer<SdlWindow> window)>('SDL_GetWindowFlags');
  return sdlGetWindowFlagsLookupFunction(window);
}