[Ohrrpgce] SVN: teeemcee/9143 Add WindowState.mouse_over flag.
teeemcee at gmail.com
Sun Aug 13 07:33:16 PDT 2017
On 12 August 2017 at 01:18, James Paige <Bob at hamsterrepublic.com> wrote:
> On Fri, Aug 11, 2017 at 7:53 AM, <subversion at hamsterrepublic.com> wrote:
>> 2017-08-11 07:53:06 -0700 (Fri, 11 Aug 2017)
>> Add WindowState.mouse_over flag.
>> It's a little bit odd to report this as part of the window state, but
>> it's far
>> far less trouble than replacing io_getmouse/mousebits (would replace with
>> something returning a struct, like gfx_getwindowstate). Besides, it's what
>> SDL does and may make sense if we had multiple windows
>> Should work in gfx_directx, but I didn't recompile it
> I just recompiled gfx_directx.dll and tested it. There were no errors, but
> the mouse_over flag does not seem to be working. the last-mouseovered menu
> item in custom remains highlighted when the mouse leaves the window.
Odd, I'll have to debug it later. I took a look at the code and noticed
another problem with it but I don't think that would have fixed anything.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ohrrpgce