gfx_mode_select (3) - Linux Man Pages

gfx_mode_select: Displays the Allegro graphics mode selection dialog.

NAME

gfx_mode_select - Displays the Allegro graphics mode selection dialog.

SYNOPSIS

#include <allegro.h>

int gfx_mode_select(int *card, int *w, int *h);

DESCRIPTION

Displays the Allegro graphics mode selection dialog, which allows the user to select a screen mode and graphics card. Stores the selection in the three variables, and returns zero if it was closed with the Cancel button or non-zero if it was OK'd.

The initial values of card, w, h are not used.