comparison include/SDL_shape.h @ 4782:b6930aefd008

Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
author Eli Gottlieb <eligottlieb@gmail.com>
date Wed, 30 Jun 2010 16:19:44 -0400
parents fc4c775b468a
children 506a9165491b
comparison
equal deleted inserted replaced
4781:fc4c775b468a 4782:b6930aefd008
112 112
113 /** 113 /**
114 * \brief Get the shape parameters of a shaped window. 114 * \brief Get the shape parameters of a shaped window.
115 * 115 *
116 * \param window The shaped window whose parameters should be retrieved. 116 * \param window The shaped window whose parameters should be retrieved.
117 * \param shapeMode An empty shape-parameters structure to fill. 117 * \param shapeMode An empty shape-mode structure to fill, or NULL to check whether the window has a shape.
118 * 118 *
119 * \return 0 on success, -1 on a null shapeMode, or -2 if the SDL_Window given is not a shaped window, or -3 if the 119 * \return 0 if the window has a shape and, provided shapeMode was not NULL, shapeMode has been filled with the mode
120 * SDL_Window given is a window that can be shaped but isn't. 120 * data, -1 if the SDL_Window given is not a shaped window, or -2 if the SDL_Window* given is a shapeable
121 * window currently lacking a shape.
121 * 122 *
122 * \sa SDL_WindowShapeMode 123 * \sa SDL_WindowShapeMode
123 * \sa SDL_SetWindowShape 124 * \sa SDL_SetWindowShape
124 */ 125 */
125 extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shapeMode); 126 extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shapeMode);