gfx_mode_select (3) Linux Manual Page
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.
