1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
.TH "al_set_window_constraints" "3" "" "Allegro reference manual" ""
.SH NAME
.PP
al_set_window_constraints \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
bool\ al_set_window_constraints(ALLEGRO_DISPLAY\ *display,
\ \ \ int\ min_w,\ int\ min_h,\ int\ max_w,\ int\ max_h)
\f[]
.fi
.SH DESCRIPTION
.PP
Constrains a non\-fullscreen resizable display.
The constraints are a hint only, and are not necessarily respected by
the window environment.
A value of 0 for any of the parameters indicates no constraint for that
parameter.
.SH SINCE
.PP
5.1.0
.SH SEE ALSO
.PP
al_get_window_constraints(3)
|