|
⇤ ← Revision 1 as of 2009-12-14 07:14:55
Size: 840
Comment: create page, add content
|
Size: 920
Comment: added DRAFT to top for removal after page is edited
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT|| |
DRAFT |
SDL_GetDisplayBounds
Use this function to get the desktop area represented by a display, with the primary display located at 0,0.
Contents
Syntax
int SDL_GetDisplayBounds(int index,
SDL_Rect* rect)
Function Parameters
index |
the index of the display |
rect |
a pointer to the SDL_Rect to query |
Return Value
Returns 0 on success or -1 if the index is out of range; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
