Re: [AD] Is al_set_mouse_range any useful?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Thu, 2007-10-11 at 07:33 -0600, Trent Gamblin wrote:
> Elias Pschernig wrote:
> > So would it stop the mouse from moving? If not - how would it be useful?
> > If yes, how would you enable moving out of the window again?
> 
> I think we should have three functions:
> 
> al_set_mouse_range - clips values in both fullscreen and windowed modes 
> but doesn't stop the mouse from moving
> 
> al_capture_mouse - stop the mouse from moving outside the current range
> 
> al_release_mouse - allow the mouse to move freely again
> 

That would work. But I still prefer my version, as I fail to see a
usecase where al_set_mouse_range (which does not work like A4's
set_mouse_range, at least in fullscreen) without al_capture_mouse makes
any sense.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/