.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_window_borders" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_window_borders - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_get_window_borders(ALLEGRO_DISPLAY *display, int *left, int *top, int *right, int *bottom) \f[R] .fi .SH DESCRIPTION .PP If that information is available returns TRUE and fills in the size of the window borders. You can pass NULL for borders you do not want to retrieve. .PP If the border information is not available returns FALSE. .RS .PP \f[I][Unstable API]:\f[R] This is an experimental feature and currently only partially works on X11 and Windows. The meaning of the upper border may change when menus are present. .RE .SH SEE ALSO .PP al_set_window_position(3), al_get_window_position(3) .SH SINCE .PP 5.2.9