Simplified driver window creation code.
Implemented several Cocoa window functions --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402002
This commit is contained in:
parent
7f0d36082f
commit
c8d7322dc6
8 changed files with 127 additions and 175 deletions
|
@ -574,17 +574,15 @@ extern DECLSPEC int SDLCALL SDL_GetGammaRamp(Uint16 * red, Uint16 * green,
|
|||
*
|
||||
* \brief Create a window with the specified position, dimensions, and flags.
|
||||
*
|
||||
* \param title The title of the window
|
||||
* \param x The x position of the window
|
||||
* \param y The y position of the window
|
||||
* \param title The title of the window, in UTF-8 encoding
|
||||
* \param x The x position of the window, SDL_WINDOWPOS_CENTERED, or SDL_WINDOWPOS_UNDEFINED
|
||||
* \param y The y position of the window, SDL_WINDOWPOS_CENTERED, or SDL_WINDOWPOS_UNDEFINED
|
||||
* \param w The width of the window
|
||||
* \param h The height of the window
|
||||
* \param flags The flags for the window, a mask of any of the following: SDL_WINDOW_FULLSCREEN, SDL_WINDOW_OPENGL, SDL_WINDOW_SHOWN, SDL_WINDOW_BORDERLESS, SDL_WINDOW_RESIZABLE, SDL_WINDOW_MAXIMIZED, SDL_WINDOW_MINIMIZED, SDL_WINDOW_INPUT_GRABBED
|
||||
*
|
||||
* \return The id of the window created, or zero if window creation failed.
|
||||
*
|
||||
* \note Setting the position to -1, -1, indicates any position is fine.
|
||||
*
|
||||
* \sa SDL_DestroyWindow()
|
||||
*/
|
||||
extern DECLSPEC SDL_WindowID SDLCALL SDL_CreateWindow(const char *title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue