[Ohrrpgce] SVN: teeemcee/8045 Mouse cursor visibility now has 3 states: hidden, visible, default (mous

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Jun 6 03:23:05 PDT 2016


teeemcee
2016-06-06 03:23:04 -0700 (Mon, 06 Jun 2016)
548
Mouse cursor visibility now has 3 states: hidden, visible, default (mouse not in use)
Implemented in gfx_alleg/fb/sdl. gfx_alleg not tested.

'default' makes the cursor hidden in fullscreen and visible when windowed.
However gfx_fb loses track of whether it's running fullscreen when alt+enter
is used, so gfx_fb instead defaults to visible in Custom and hidden in Game.

Added defaultmousecursor, getcursorvisibility, setcursorvisibility.

The "show mouse cursor" command now works in fullscreen, as does the slice
editor's use of showmousecursor.
---
U   wip/allmodex.bas
U   wip/allmodex.bi
U   wip/drawing.bas
U   wip/gfx.bi
U   wip/gfx.new.h
U   wip/gfx_alleg.bas
U   wip/gfx_fb.bas
U   wip/gfx_sdl.bas
U   wip/sliceedit.bas
U   wip/whatsnew.txt


More information about the Ohrrpgce mailing list