1al_set_window_constraints(3)                      al_set_window_constraints(3)
2
3
4

NAME

6       al_set_window_constraints - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_set_window_constraints(ALLEGRO_DISPLAY *display,
12                 int min_w, int min_h, int max_w, int max_h)
13

DESCRIPTION

15       Constrains  a  non-fullscreen resizable display.  The constraints are a
16       hint only, and are not necessarily respected by the window environment.
17       A value of 0 for any of the parameters indicates no constraint for that
18       parameter.
19
20       The constraints will be applied to a  display  only  after  the  al_ap‐
21       ply_window_constraints(3) function call.
22

SINCE

24       5.1.0
25

SEE ALSO

27       al_apply_window_constraints(3), al_get_window_constraints(3)
28
29
30
31Allegro reference manual                          al_set_window_constraints(3)
Impressum