al_get_display_width

int al_get_display_width(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0

Gets the width of the display. This is like SCREEN_W in Allegro 4.x.

See also: al_get_display_height

Examples: ex_bitmap, ex_display_options, ex_draw_bitmap, ex_expose, ex_filter, ex_font_justify, ex_fs_resize, ex_fs_window, ex_native_filechooser, ex_ogre3d, ex_resize2, ex_stream_seek


Most helpful discussions:

Other recent discussions: