[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cursors on MS Windows
From: |
Fred Kiefer |
Subject: |
Re: Cursors on MS Windows |
Date: |
Mon, 9 Mar 2015 08:52:28 +0100 |
Hi German,
adding this method is fine for me, but I would also like to understand what the
issue is and how you are going to address it. From your mail I conclude that it
is about window borders or subviews that aten't managed by GNUstep and we need
to reset the cursors when entering into these, is this correct? Normally we use
enter and exit events to handle this situation, why aren't these working on
Windows?
Fred
On the road
Am 09.03.2015 um 07:45 schrieb Germán Arias <address@hidden>:
> After some days trying to solve the cursor problems on Windows, I found
> a solution that, I think, is better than the corresponding solution in
> TestPlant branch. Initially I tried to implement the TestPlant solution,
> but this have problems (as you can see in the comments in that branch).
> So I worked in my own solution, but this (like the TestPlant solution)
> requires a small change in the side of GUI. We need know the count of
> cursors in gnustep_gui_cursor_stack, to remove our cursors when the
> mouse enter an area which is drawed by Windows (a menu or a nonclient
> area). But the variable "gnustep_gui_cursor_stack" is not accessible
> outside of NSCursor. So, could I add something like this at NSCursor?:
>
> #ifdef WIN32
> + (NSUInteger) count
> {
> return [gnustep_gui_cursor_stack count];
> }
> #endif
>
> Germán
>
>
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev