Re: [Plib-users] Mouse button release
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2002-10-22 00:22:28
|
John & Sebastian - do you guys know what the current state of this problem is? I've lost track. Devil wrote: > However, my first test program has a slider and a button. If I > start moving the slider but release the mouse button when the > mouse pointer is over the button, then pui generates a button > callback even though the button was never actually pressed down. That's a problem that we've fixed before - then broken again - then fixed again. > Is there a way to stop this? Is it a bug? pui should know that > the slider is active and not consider a mouse release over the > button as a button release. Yep - it's a bug. I'll forward this to the developer's list and see if anyone knows what the current state of affairs is. > Also if you press a button object but release the mouse button when the > mouse pointer is off the button, the button object stays pressed. I > think it should release the button. > > Is this a bug or just a feature of pui? It's a bug. I've seen this in my own programs - and did kludge a fix - but it broke something else. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |