Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2014-03-04 22:51:40
Size: 1447
Comment: Added DRAFT.
Revision 5 as of 2014-03-04 22:57:02
Size: 1507
Comment: Updated from SDL_hints.h.
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
= SDL_HINT_VIDEO_FULLSCREEN_SPACES =
A hint that specifies whether windows go fullscreen in their own spaces on Mac OS X.
= SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES =
A hint that dictates policy for fullscreen Spaces on Mac OS X.
Line 17: Line 17:
||0||fullscreen windows will use classic fullscreen mode||
||1||fullscreen windows will use fullscreen spaces||
||0||disable Spaces support (FULLSCREEN_DESKTOP won't use them and SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen" button on their titlebars)||
||1||enable Spaces support (FULLSCREEN_DESKTOP will use them and SDL_WINDOW_RESIZABLE windows will offer the "fullscreen" button on their titlebars)||
Line 22: Line 22:
By default SDL will use the classic fullscreen mode. By default Spaces support is enabled.
Line 34: Line 34:
''You can add useful comments here'' This hint only applies to Mac OS X.
Line 36: Line 36:
##Leave this section as-is unless you have a remark to put in. In that case, replace ''You can add useful comments here'' with your remark(s) following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. Spaces are disabled regardless of this hint if the OS isn't at least Mac OS X Lion (10.7). This hint must be set before any windows are created.

DRAFT

SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES

A hint that dictates policy for fullscreen Spaces on Mac OS X.

Values

0

disable Spaces support (FULLSCREEN_DESKTOP won't use them and SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen" button on their titlebars)

1

enable Spaces support (FULLSCREEN_DESKTOP will use them and SDL_WINDOW_RESIZABLE windows will offer the "fullscreen" button on their titlebars)

Default

By default Spaces support is enabled.

Code Examples

You can add your code example here

Remarks

This hint only applies to Mac OS X.

Spaces are disabled regardless of this hint if the OS isn't at least Mac OS X Lion (10.7). This hint must be set before any windows are created.

Version

This hint is available since SDL 2.0.2.


CategoryDefine, CategoryHints

None: SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES (last edited 2014-03-04 22:57:02 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit