Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2010-10-18 03:19:09
Size: 838
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 11 as of 2011-03-04 23:46:53
Size: 910
Editor: SheenaSmith
Comment: update content - 2/28 5421 (2/10 5246)
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase #pragma camelcase off
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 12: Line 13:
                            int fullscreen)                             SDL_bool fullscreen)
Line 17: Line 18:
||'''fullscreen'''||1 for fullscreen or 0 for windowed|| ||'''fullscreen'''||^SDL_TRUE^ for fullscreen or ^SDL_FALSE^ for windowed||

DRAFT

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