[Ohrrpgce] SVN: teeemcee/3183 gfx_sdl/gfx_fb: Unhide mouse cursor and freeze mouse position when the w

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Dec 15 16:59:47 PST 2009


teeemcee
2009-12-15 16:59:47 -0800 (Tue, 15 Dec 2009)
670
gfx_sdl/gfx_fb: Unhide mouse cursor and freeze mouse position when the window loses focus, and hide when fullscreen. Turns out fbgfx exposes an event queue as well. This ain't your grandpa's BASIC graphics. Unfortunately, it doesn't even send all keypresses (nothing when alt is pressed). And it's not possible to (sanely) detect whether the program is fullscreen so it can get confused - I tried to get around this in various ways but failed. SDL doesn't have a way to detect fullscreen either, but all fullscreen toggling is done by the backend, so it can keep track. Another point to gfx_sdl - I'm losing count.

Once again, really in no mood to bother with gfx_alleg
---
U   wip/gfx_fb.bas
U   wip/gfx_sdl.bas



More information about the Ohrrpgce mailing list