[Gambas-user] sdl mouse

Shane shanep1967 at ...169...
Thu Jul 3 09:52:40 CEST 2014


yea It is problematic if that happens. but i have seen it done with some 
game engines and the reason i need it is if i have a windowed action 
game that use,s the mouse i doesn't take long before the user is 
clicking outside the game window and losing focus on the game which is a 
problem
i did try what you said and it didn't work very well at all :-(

On 03/07/14 16:58, Rolf-Werner Eilert wrote:
> Isn't that dangerous? If the application crashes, the mouse is caught
> within the dead window's boundaries.
>
> Maybe you can read the mouse coordinates and reset them to within the
> window, by code of your application, so that the mouse gets free if the
> application dies.
>
> Rolf
>
>
> Am 03.07.2014 07:44, schrieb Shane:
>> any word on this
>>
>> On 16/06/14 23:25, Shane wrote:
>>> hi benoit would it be possible to include the ability to keep the mouse
>>> within the bounds of the sdl window
>>>
>>> thanks Shane
>>>
>>> ------------------------------------------------------------------------------
>>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
>>> Find What Matters Most in Your Big Data with HPCC Systems
>>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>>> http://p.sf.net/sfu/hpccsystems
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Open source business process management suite built on Java and Eclipse
>> Turn processes into business applications with Bonita BPM Community Edition
>> Quickly connect people, data, and systems into organized workflows
>> Winner of BOSSIE, CODIE, OW2 and Gartner awards
>> http://p.sf.net/sfu/Bonitasoft
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>





More information about the User mailing list