mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-27 13:53:37 +08:00
Typedef SDL_WindowFlags
Window flags were previously an enum with the same name.
See ebd7f9adbd
.
This commit is contained in:
parent
424616e032
commit
4f58d18373
@ -1680,7 +1680,6 @@ The following functions have been removed:
|
|||||||
* SDL_CreateWindowFrom() - use SDL_CreateWindowWithProperties() with the properties that allow you to wrap an existing window
|
* SDL_CreateWindowFrom() - use SDL_CreateWindowWithProperties() with the properties that allow you to wrap an existing window
|
||||||
|
|
||||||
The SDL_Window id type is named SDL_WindowID
|
The SDL_Window id type is named SDL_WindowID
|
||||||
The SDL_WindowFlags enum should be replaced with Uint32
|
|
||||||
|
|
||||||
The following symbols have been renamed:
|
The following symbols have been renamed:
|
||||||
* SDL_WINDOW_ALLOW_HIGHDPI => SDL_WINDOW_HIGH_PIXEL_DENSITY
|
* SDL_WINDOW_ALLOW_HIGHDPI => SDL_WINDOW_HIGH_PIXEL_DENSITY
|
||||||
|
@ -141,6 +141,8 @@ typedef struct SDL_Window SDL_Window;
|
|||||||
*
|
*
|
||||||
* \sa SDL_GetWindowFlags
|
* \sa SDL_GetWindowFlags
|
||||||
*/
|
*/
|
||||||
|
typedef Uint32 SDL_WindowFlags;
|
||||||
|
|
||||||
#define SDL_WINDOW_FULLSCREEN 0x00000001U /**< window is in fullscreen mode */
|
#define SDL_WINDOW_FULLSCREEN 0x00000001U /**< window is in fullscreen mode */
|
||||||
#define SDL_WINDOW_OPENGL 0x00000002U /**< window usable with OpenGL context */
|
#define SDL_WINDOW_OPENGL 0x00000002U /**< window usable with OpenGL context */
|
||||||
#define SDL_WINDOW_OCCLUDED 0x00000004U /**< window is occluded */
|
#define SDL_WINDOW_OCCLUDED 0x00000004U /**< window is occluded */
|
||||||
|
Loading…
Reference in New Issue
Block a user