SIMPLE SOLUTIONS

AL_ACKNOWLEDGE_RESIZE(3ALLEG5) - Linux man page online | Library functions

Allegro 5 API.

Chapter
al_acknowledge_resize(3alleg5) al_acknowledge_resize(3alleg5)

NAME

al_acknowledge_resize - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro.h> bool al_acknowledge_resize(ALLEGRO_DISPLAY *display)

DESCRIPTION

When the user receives a [resize event]ALLEGRO_EVENT_DISPLAY_RESIZE(3alleg5) from a resiz‐ able display, if they wish the display to be resized they must call this function to let the graphics driver know that it can now resize the display. Returns true on success. Adjusts the clipping rectangle to the full size of the backbuffer. This also resets the backbuffers projection transform to default orthographic transform (see al_use_projec‐ tion_transform(3alleg5)). Note that a resize event may be outdated by the time you acknowledge it; there could be further resize events generated in the meantime.

SEE ALSO

al_resize_display(3alleg5), ALLEGRO_EVENT(3alleg5)
Allegro reference manual al_acknowledge_resize(3alleg5)
This manual Reference Other manuals
al_acknowledge_resize(3alleg5) referred by al_resize_display(3alleg5) | al_set_new_display_option(3alleg5) | ALLEGRO_EVENT(3alleg5)
refer to al_resize_display(3alleg5) | ALLEGRO_EVENT(3alleg5)
Download raw manual
Index Allegro reference manual (+999) № 3 (+68044)
Go top