[javascript-dev] Re: Callback for bpatcher resize event?
John Pitcairn
cycling74forum at opuslocus.net
Wed Dec 5 23:30:46 MST 2007
- Previous message: [javascript-dev] Re: Callback for bpatcher resize event?
- Next message: [javascript-dev] Re: Callback for bpatcher resize event?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> The mouse up/patch unlocked thing is a bit too hackish for me, > unless I am misunderstanding. Maybe I'm misunderstanding? The user can't resize anything without clicking/dragging on it with the mouse, right? When the mouse is released, the resize (if there was one) is done. You feed the mouseup from mousestate to your js, which checks the patcher to see if the width/height is different. If it is, you rearrange your GUI. If it isn't, you do nothing. No polling via js task or otherwise is required, it's a mouse-driven event.
- Previous message: [javascript-dev] Re: Callback for bpatcher resize event?
- Next message: [javascript-dev] Re: Callback for bpatcher resize event?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
