1gfx_mode_select_ex(3) Allegro manual gfx_mode_select_ex(3)
2
3
4
6 gfx_mode_select_ex - Extended version of the graphics mode selection
7 dialog. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 int gfx_mode_select_ex(int *card, int *w, int *h, int *color_depth);
14
16 Extended version of the graphics mode selection dialog, which also
17 allows the user to select the color depth.
18
19 As with gfx_mode_select, the values stored at the addresses passed to
20 the function will be used as suggestions for the initial selections in
21 the dialog, defaulting to the first entry in each list if the values
22 are not found. Initialize the data stored at the addresses passed to
23 the function to the value of 0 or -1 if you want to ensure that the
24 initial selection for each list will be the first entry.
25
26 If the dialog is OK'd, it stores the selections at the addresses passed
27 to the function.
28
30 See the gfx_mode_select_filter function for the return values.
31
32
34 gfx_mode_select(3), gfx_mode_select_filter(3), set_color_depth(3),
35 set_gfx_mode(3), gui_fg_color(3), ex3d(3), exscn3d(3), exswitch(3),
36 exupdate(3), exzbuf(3)
37
38
39
40Allegro version 4.4.2 gfx_mode_select_ex(3)