1gfx_mode_select_filter(3)       Allegro manual       gfx_mode_select_filter(3)
2
3
4

NAME

6       gfx_mode_select_filter  -  Even  more  extended version of the graphics
7       mode selection dialog. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int gfx_mode_select_filter(int *card, int *w, int *h, int *color_depth,
14       int (*filter)(int, int, int, int));
15

DESCRIPTION

17       Even more extended version of the graphics mode selection dialog, which
18       allows the programmer to customize the contents of the dialog  and  the
19       user  to  select the color depth as well as the resolution and hardware
20       driver.  `filter' will be passed (card, w, h, color_depth)  quadruplets
21       and  must return 0 to let the specified quadruplet be added to the list
22       of displayed modes.
23
24       This version of the function reads the initial values from the  parameā€
25       ters when it activates so you can specify the default values.  In fact,
26       you should be sure not to pass in uninitialised values.
27
28

SEE ALSO

30       gfx_mode_select(3),     gfx_mode_select_ex(3),      set_color_depth(3),
31       set_gfx_mode(3), gui_fg_color(3)
32
33
34
35Allegro                          version 4.2.3       gfx_mode_select_filter(3)
Impressum