Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-10-08 23:19:26
Size: 870
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 6 as of 2011-03-04 21:23:13
Size: 884
Editor: SheenaSmith
Comment: update content - 2/28 5421 (2/10 5244)
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
int SDL_GetDisplayBounds(int index, int SDL_GetDisplayBounds(int displayIndex,
Line 16: Line 16:
||'''index'''||the index of the display to query|| ||'''displayIndex'''||the index of the display to query||

SDL_GetDisplayBounds

Use this function to get the desktop area represented by a display, with the primary display located at 0,0.

Syntax

int SDL_GetDisplayBounds(int       displayIndex,
                         SDL_Rect* rect)

Function Parameters

displayIndex

the index of the display to query

rect

the SDL_Rect structure to fill with the display bounds

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_GetDisplayBounds (last edited 2014-06-22 07:46:28 by dthree)

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