include/SDL_video.h
changeset 10168 9e3144cb1032
parent 10035 dd72e6df3655
child 10175 fcf0d3ca1fa2
equal deleted inserted replaced
10167:d3db276c1fa6 10168:9e3144cb1032
   447  *               ::SDL_WINDOW_HIDDEN,        ::SDL_WINDOW_BORDERLESS,
   447  *               ::SDL_WINDOW_HIDDEN,        ::SDL_WINDOW_BORDERLESS,
   448  *               ::SDL_WINDOW_RESIZABLE,     ::SDL_WINDOW_MAXIMIZED,
   448  *               ::SDL_WINDOW_RESIZABLE,     ::SDL_WINDOW_MAXIMIZED,
   449  *               ::SDL_WINDOW_MINIMIZED,     ::SDL_WINDOW_INPUT_GRABBED,
   449  *               ::SDL_WINDOW_MINIMIZED,     ::SDL_WINDOW_INPUT_GRABBED,
   450  *               ::SDL_WINDOW_ALLOW_HIGHDPI.
   450  *               ::SDL_WINDOW_ALLOW_HIGHDPI.
   451  *
   451  *
   452  *  \return The id of the window created, or zero if window creation failed.
   452  *  \return The created window, or NULL if window creation failed.
   453  *
   453  *
   454  *  If the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag, its size
   454  *  If the window is created with the SDL_WINDOW_ALLOW_HIGHDPI flag, its size
   455  *  in pixels may differ from its size in screen coordinates on platforms with
   455  *  in pixels may differ from its size in screen coordinates on platforms with
   456  *  high-DPI support (e.g. iOS and Mac OS X). Use SDL_GetWindowSize() to query
   456  *  high-DPI support (e.g. iOS and Mac OS X). Use SDL_GetWindowSize() to query
   457  *  the client area's size in screen coordinates, and SDL_GL_GetDrawableSize()
   457  *  the client area's size in screen coordinates, and SDL_GL_GetDrawableSize()
   466 /**
   466 /**
   467  *  \brief Create an SDL window from an existing native window.
   467  *  \brief Create an SDL window from an existing native window.
   468  *
   468  *
   469  *  \param data A pointer to driver-dependent window creation data
   469  *  \param data A pointer to driver-dependent window creation data
   470  *
   470  *
   471  *  \return The id of the window created, or zero if window creation failed.
   471  *  \return The created window, or NULL if window creation failed.
   472  *
   472  *
   473  *  \sa SDL_DestroyWindow()
   473  *  \sa SDL_DestroyWindow()
   474  */
   474  */
   475 extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindowFrom(const void *data);
   475 extern DECLSPEC SDL_Window * SDLCALL SDL_CreateWindowFrom(const void *data);
   476 
   476