Differences between version 2 and previous revision of SDL_ListModes(3).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:53:45 pm | by perry | Revert |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:45 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_ListModes
-!!!SDL_ListModes
+SDL_!
ListModes
+!!!SDL_!
ListModes
NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
@@ -8,16 +8,16 @@
----
!!NAME
-SDL_ListModes- Returns a pointer to an array of available screen dimensions for the given format and video flags
+SDL_!
ListModes- Returns a pointer to an array of available screen dimensions for the given format and video flags
!!SYNOPSIS
__#include __
-__SDL_Rect **SDL_ListModes__(__SDL_PixelFormat *format,
+__SDL_Rect **SDL_!
ListModes__(__SDL_!
PixelFormat *format,
Uint32 flags__);
!!DESCRIPTION
@@ -29,11 +29,11 @@
If __format__ is __NULL__, the mode list will be for
the format returned by
-''SDL_GetVideoInfo()''-''vfmt__. The __flag__
+''SDL_!
GetVideoInfo()''-''vfmt__. The __flag__
parameter is an OR'd combination of ''surface'' flags.
-The flags are the same as those used __SDL_SetVideoMode__
+The flags are the same as those used __SDL_!
SetVideoMode__
and they play a strong role in deciding what modes are
valid. For instance, if you pass __SDL_HWSURFACE__ as a
flag only modes that support hardware video surfaces will be
returned.
@@ -45,14 +45,14 @@
.
.
.
/* Get available fullscreen/hardware modes */
-modes=SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
+modes=SDL_!
ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE);
/* Check is there are any modes available */
if(modes == (SDL_Rect **)0){
printf(
!!SEE ALSO
-__SDL_SetVideoMode__, __SDL_GetVideoInfo__,
-__SDL_Rect__, __SDL_PixelFormat__
+__SDL_!
SetVideoMode__, __SDL_!
GetVideoInfo__,
+__SDL_Rect__, __SDL_!
PixelFormat__
----