gui_get_screen(3alleg4)
π gui_get_screen π
okay bestie, so this one lives in the Allegro manual β it's gui_get_screen(3alleg4) if you're being formal, but we're not, we're being us. π
β¨ NAME β¨
gui_get_screen β literally just hands you back the bitmap surface that all the GUI routines are drawing to. it's giving "where is everybody painting rn" and the answer is this. part of the Allegro game programming library, obvi. π¦
πΈ SYNOPSIS πΈ
#include <allegro.h>
BITMAP *gui_get_screen(void);
π DESCRIPTION π
so the way this works is: this function returns the current bitmap surface that the GUI routines are gonna use for drawing. that's it. that's the whole job. she's simple, she's reliable, she ate. π
and here's the tea you actually need to know, no cap:
- if you previously called
gui_set_screen(NULL), this function will returnscreenβ yes, the default one, the og. π - and it will never return
NULL. ever. not once. not on your worst day. she always shows up. π«Ά
so like, vibe check passed, you can call her and trust her, periodt. β¨
π SEE ALSO π
gui_set_screen(3alleg4)β the one that sets it, obviously, they're a matched set iykyk π
and that's the whole page, bestie!! this lil icon is brought to you by Allegro, version 4.4.3 β sending you love from the Allegro manual, mwah ππ§ββοΈπ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms