al_get_window_borders(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the manual page for al_get_window_borders(3alleg5) β€” Allegro 5 API ✨


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

bool al_get_window_borders(ALLEGRO_DISPLAY *display, int *left, int *top, int *right, int *bottom)

πŸ’… DESCRIPTION πŸ’…

So here’s the tea, fr fr: if that information is available, this function returns TRUE and fills in the size of the window borders. πŸͺŸβœ¨

You can pass NULL for borders you do not want to retrieve. No cap, super convenient.

If the border information is not available, it returns FALSE. 😭

[Unstable API]: 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.

It’s giving β€œuse with care, bestie.” πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯


⭐ SINCE ⭐

5.2.9


and that’s the whole vibe check. sending u off with the Allegro reference manual energy, page al_get_window_borders(3alleg5) β€” no date listed on the footer, just the manual name and source, periodt. πŸ’–πŸ¦‹

πŸ“¦ where this page comes from