Wiki Page Content

Differences between revisions 11 and 12
Revision 11 as of 2011-03-04 23:46:53
Size: 910
Editor: SheenaSmith
Comment: update content - 2/28 5421 (2/10 5246)
Revision 12 as of 2011-04-22 17:03:25
Size: 849
Editor: SheenaSmith
Comment: update content - w/ Sam; remove draft
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 18: Line 17:
||'''fullscreen'''||^SDL_TRUE^ for fullscreen or ^SDL_FALSE^ for windowed|| ||'''fullscreen'''||SDL_TRUE for fullscreen or SDL_FALSE for windowed||

SDL_SetWindowFullscreen

Use this function to set a window's fullscreen state.

Syntax

int SDL_SetWindowFullscreen(SDL_Window* window,
                            SDL_bool    fullscreen)

Function Parameters

window

the window to change

fullscreen

SDL_TRUE for fullscreen or SDL_FALSE for windowed

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_SetWindowFullscreen (last edited 2016-04-15 21:36:24 by PhilippWiesemann)

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