comparison include/SDL_video.h @ 3493:40b1f7cb2062

SDL_CreateWindowFrom() is actually going to be supported. :)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 25 Nov 2009 07:42:23 +0000
parents 7a606cfa5c2d
children 4b594623401b
comparison
equal deleted inserted replaced
3492:7a606cfa5c2d 3493:40b1f7cb2062
536 extern DECLSPEC SDL_WindowID SDLCALL SDL_CreateWindow(const char *title, 536 extern DECLSPEC SDL_WindowID SDLCALL SDL_CreateWindow(const char *title,
537 int x, int y, int w, 537 int x, int y, int w,
538 int h, Uint32 flags); 538 int h, Uint32 flags);
539 539
540 /** 540 /**
541 * \brief Create an SDL window struct from an existing native window. 541 * \brief Create an SDL window from an existing native window.
542 * 542 *
543 * \param data A pointer to driver-dependent window creation data 543 * \param data A pointer to driver-dependent window creation data
544 * 544 *
545 * \return The id of the window created, or zero if window creation failed. 545 * \return The id of the window created, or zero if window creation failed.
546 *
547 * \warning This function is NOT SUPPORTED, use at your own risk!
548 * 546 *
549 * \sa SDL_DestroyWindow() 547 * \sa SDL_DestroyWindow()
550 */ 548 */
551 extern DECLSPEC SDL_WindowID SDLCALL SDL_CreateWindowFrom(const void *data); 549 extern DECLSPEC SDL_WindowID SDLCALL SDL_CreateWindowFrom(const void *data);
552 550