diff include/SDL_video.h @ 1956:ba0d62354872

Simplified driver window creation code. Implemented several Cocoa window functions
author Sam Lantinga <slouken@libsdl.org>
date Sat, 29 Jul 2006 21:51:00 +0000
parents 83946ee0ff1f
children 2590b68531ef
line wrap: on
line diff
--- a/include/SDL_video.h	Sat Jul 29 03:57:55 2006 +0000
+++ b/include/SDL_video.h	Sat Jul 29 21:51:00 2006 +0000
@@ -574,17 +574,15 @@
  *
  * \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,