gui_mouse_focus(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– gui_mouse_focus(3) πŸ’–

okay bestie, welcome to the Allegro manual β€” specifically the page for gui_mouse_focus, from the Allegro game programming library. yes it's a whole variable. yes it's iconic. let's get into it 🫢


✨ NAME ✨

gui_mouse_focus β€” tells if the input focus follows the mouse pointer. part of the Allegro game programming library, no cap πŸŽ€


🌸 SYNOPSIS 🌸

#include <allegro.h>

extern int gui_mouse_focus;

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” if this bad boy is set, the input focus literally follows the mouse pointer around the dialog. the focus is giving main character energy and just goes wherever your cursor goes. πŸ’…

but if it's not set? then nah, the focus stays put and a click is required to move it. so you actually have to commit with a click instead of just hovering around being mysterious. periodt.


🌈 a lil sign-off 🌈

this page is brought to you by Allegro, version 4.4.3 β€” mwah, thanks for reading, go make something cute with your dialogs, ily, bye πŸ’œβœ¨

πŸ“¦ where this page comes from