Re: [AD] Is al_set_mouse_range any useful?

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


On Wed, 2007-10-10 at 12:35 -0600, Trent Gamblin wrote:
> Elias Pschernig wrote:
> > How would it work?
> 
> al_set_mouse_range could be split into two functions (one internal). The 
> first (the internal one) will act exactly like it does now, the second 
> (which will still be called al_set_mouse_range) simply sets 4 properties 
> in the current display (x1,y1,x2,y2, if there is one) and calls the 
> first. Then the window message processing loop will have to call the 
> internal function with those 4 properties of the display as it's 
> arguments, setting the range for any window that is activated.
> 

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?

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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