get_gfx_mode_list man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

get_gfx_mode_list(3)		Allegro manual		  get_gfx_mode_list(3)

NAME
       get_gfx_mode_list  -  Obtains  a list of available video modes. Allegro
       game programming library.

SYNOPSIS
       #include <allegro.h>

       GFX_MODE_LIST *get_gfx_mode_list(int card);

DESCRIPTION
       Attempts to create a list of all the supported video modes for  a  cer‐
       tain  graphics  driver, made up from the GFX_MODE_LIST structure, which
       has the following definition:

	  typedef struct GFX_MODE_LIST
	  {
	     int num_modes;
	     GFX_MODE *mode;
	  } GFX_MODE_LIST;

       The mode entry  points to the actual list of video modes.

	  typedef struct GFX_MODE
	  {
	     int width, height, bpp;
	  } GFX_MODE;

       This list of video modes is terminated with an { 0, 0, 0 } entry.

       Note that the card parameter must refer to a _real_ driver. This	 func‐
       tion  fails  if you pass GFX_SAFE, GFX_AUTODETECT, or any other "magic"
       driver.

RETURN VALUE
       Returns a pointer to a list structure of the type GFX_MODE_LIST or NULL
       if the request could not be satisfied.

SEE ALSO
       destroy_gfx_mode_list(3), set_gfx_mode(3), set_color_depth(3)

Allegro				 version 4.4.2		  get_gfx_mode_list(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net