logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gfx_mode_select_ex - Extended version of the graphics mode selection dialog. Allegro game programming

Description

       Extended version of the graphics mode selection dialog, which also allows the user to  select  the  color
       depth.

       As  with  gfx_mode_select,  the  values  stored  at  the addresses passed to the function will be used as
       suggestions for the initial selections in the dialog, defaulting to the first entry in each list  if  the
       values  are not found. Initialize the data stored at the addresses passed to the function to the value of
       0 or -1 if you want to ensure that the initial selection for each list will be the first entry.

       If the dialog is OK'd, it stores the selections at the addresses passed to the function.

Name

       gfx_mode_select_ex  -  Extended  version  of the graphics mode selection dialog. Allegro game programming
       library.

Return Value

       See the gfx_mode_select_filter function for the return values.

See Also

gfx_mode_select(3alleg4),           gfx_mode_select_filter(3alleg4),            set_color_depth(3alleg4),
       set_gfx_mode(3alleg4),   gui_fg_color(3alleg4),   ex3d(3alleg4),   exscn3d(3alleg4),   exswitch(3alleg4),
       exupdate(3alleg4), exzbuf(3alleg4)

Allegro                                           version 4.4.3                      gfx_mode_select_ex(3alleg4)

Synopsis

#include<allegro.h>intgfx_mode_select_ex(int*card,int*w,int*h,int*color_depth);

See Also