Simplified and unified the window creation process a little.
This commit is contained in:
parent
165076c9c3
commit
f8481050cd
3 changed files with 69 additions and 59 deletions
|
@ -97,13 +97,14 @@ typedef struct SDL_Window SDL_Window;
|
|||
*/
|
||||
typedef enum
|
||||
{
|
||||
SDL_WINDOW_FULLSCREEN = 0x00000001, /**< fullscreen window, implies borderless */
|
||||
SDL_WINDOW_FULLSCREEN = 0x00000001, /**< fullscreen window */
|
||||
SDL_WINDOW_OPENGL = 0x00000002, /**< window usable with OpenGL context */
|
||||
SDL_WINDOW_SHOWN = 0x00000004, /**< window is visible */
|
||||
SDL_WINDOW_BORDERLESS = 0x00000008, /**< no window decoration */
|
||||
SDL_WINDOW_RESIZABLE = 0x00000010, /**< window can be resized */
|
||||
SDL_WINDOW_MINIMIZED = 0x00000020, /**< window is minimized */
|
||||
SDL_WINDOW_MAXIMIZED = 0x00000040, /**< window is maximized */
|
||||
SDL_WINDOW_HIDDEN = 0x00000008, /**< window is not visible */
|
||||
SDL_WINDOW_BORDERLESS = 0x00000010, /**< no window decoration */
|
||||
SDL_WINDOW_RESIZABLE = 0x00000020, /**< window can be resized */
|
||||
SDL_WINDOW_MINIMIZED = 0x00000040, /**< window is minimized */
|
||||
SDL_WINDOW_MAXIMIZED = 0x00000080, /**< window is maximized */
|
||||
SDL_WINDOW_INPUT_GRABBED = 0x00000100, /**< window has grabbed input focus */
|
||||
SDL_WINDOW_INPUT_FOCUS = 0x00000200, /**< window has input focus */
|
||||
SDL_WINDOW_MOUSE_FOCUS = 0x00000400, /**< window has mouse focus */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue