Re: LFUNs for mouse events

2002-08-12 Thread Andre Poenitz
On Mon, Aug 12, 2002 at 07:05:54PM +0200, Lars Gullik Bjønnes wrote: > The sequence PRESS->MOVE->RELEASE should imho not generate MOVE but > DRAG instead. To me MOVE is without state, DRAG is with state. Currently we have MOVE with the corresponding button pressed. It might simplyfy code if I do

Re: LFUNs for mouse events

2002-08-12 Thread John Levon
On Mon, Aug 12, 2002 at 07:05:54PM +0200, Lars Gullik Bjønnes wrote: > | I just added RELEASE, MOVE and PRESS. No DRAG. > > The sequence PRESS->MOVE->RELEASE should imho not generate MOVE but > DRAG instead. To me MOVE is without state, DRAG is with state. A rose by any other name. You have to

Re: LFUNs for mouse events

2002-08-12 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Aug 12, 2002 at 05:27:55PM +0100, John Levon wrote: >> > Not my fault that the frontends don't generate them... ;-) >> > In fact, they should (rather than calling these edit/Button* functions) >> >> Uh, what does DRAG mean to you ? > | I just a

Re: LFUNs for mouse events

2002-08-12 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Aug 12, 2002 at 05:08:20PM +0100, John Levon wrote: >> On Mon, Aug 12, 2002 at 09:09:29AM +0200, Andre Poenitz wrote: >> >> > > LFUN_DRAG too then? >> > >> > Why not. >> > >> > I take this as a 'go' then... >> >> PLease don't add code for so

Re: LFUNs for mouse events

2002-08-12 Thread Andre Poenitz
On Mon, Aug 12, 2002 at 05:27:55PM +0100, John Levon wrote: > > Not my fault that the frontends don't generate them... ;-) > > In fact, they should (rather than calling these edit/Button* functions) > > Uh, what does DRAG mean to you ? I just added RELEASE, MOVE and PRESS. No DRAG. Andre' --

Re: LFUNs for mouse events

2002-08-12 Thread John Levon
On Mon, Aug 12, 2002 at 06:14:25PM +0200, Andre Poenitz wrote: > Not my fault that the frontends don't generate them... ;-) > In fact, they should (rather than calling these edit/Button* functions) Uh, what does DRAG mean to you ? john -- "It is unbecoming for young men to utter maxims."

Re: LFUNs for mouse events

2002-08-12 Thread Andre Poenitz
On Mon, Aug 12, 2002 at 05:08:20PM +0100, John Levon wrote: > On Mon, Aug 12, 2002 at 09:09:29AM +0200, Andre Poenitz wrote: > > > > LFUN_DRAG too then? > > > > Why not. > > > > I take this as a 'go' then... > > PLease don't add code for something no frontend generates. Not my fault that the

Re: LFUNs for mouse events

2002-08-12 Thread John Levon
On Mon, Aug 12, 2002 at 09:09:29AM +0200, Andre Poenitz wrote: > > LFUN_DRAG too then? > > Why not. > > I take this as a 'go' then... PLease don't add code for something no frontend generates. regards john -- "It is unbecoming for young men to utter maxims." - Aristotle

Re: LFUNs for mouse events

2002-08-11 Thread Andre Poenitz
On Sat, Aug 10, 2002 at 12:07:40PM +0200, Lars Gullik Bjønnes wrote: > | LFUN_PRESS(x,y,button,state) > | LFUN_RELEASE(x,y,button,state) > | LFUN_MOVE(x,y,...) > > LFUN_DRAG too then? Why not. I take this as a 'go' then... Andre' -- Those who desire to give up Freedom in order to gain Securi

Re: LFUNs for mouse events

2002-08-10 Thread John Levon
On Sat, Aug 10, 2002 at 12:07:40PM +0200, Lars Gullik Bjønnes wrote: > | LFUN_PRESS(x,y,button,state) > | LFUN_RELEASE(x,y,button,state) > | LFUN_MOVE(x,y,...) > > LFUN_DRAG too then? that is what "MOVE" is, we pass the button(s) held like we do now. If you mean drag and drop, then I think we

Re: LFUNs for mouse events

2002-08-10 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Fri, Aug 09, 2002 at 03:17:31PM +0200, Andre Poenitz wrote: | | > What is 'state'? | | Actually we don't use it yet but it was going to be key state | (ctrl alt shift) | | so scrub that Nah... if possible we should have that as well. -- Lg

Re: LFUNs for mouse events

2002-08-10 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Fri, Aug 09, 2002 at 02:34:28PM +0200, Andre Poenitz wrote: | | > But I have no strong opinion on how the lfuns should look like. | > | > Maybe a single LFUN_MOUSE? | | no | | LFUN_PRESS(x,y,button,state) | LFUN_RELEASE(x,y,button,state) | LFUN_MOVE

Re: LFUNs for mouse events

2002-08-10 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | Has anybody any opinion on that topic? | | I'd use such thing for interanal use in mathed but it looks as the "real" | inset could use them, too. Sure, I'd like it. -- Lgb

Re: LFUNs for mouse events

2002-08-09 Thread John Levon
On Fri, Aug 09, 2002 at 03:17:31PM +0200, Andre Poenitz wrote: > What is 'state'? Actually we don't use it yet but it was going to be key state (ctrl alt shift) so scrub that john -- "It is unbecoming for young men to utter maxims." - Aristotle

Re: LFUNs for mouse events

2002-08-09 Thread Andre Poenitz
On Fri, Aug 09, 2002 at 02:06:00PM +0100, John Levon wrote: > > Maybe a single LFUN_MOUSE? > > no > > LFUN_PRESS(x,y,button,state) > LFUN_RELEASE(x,y,button,state) > LFUN_MOVE(x,y,...) > > but with better names What is 'state'? Andre' -- Those who desire to give up Freedom in order to gain

Re: LFUNs for mouse events

2002-08-09 Thread John Levon
On Fri, Aug 09, 2002 at 02:34:28PM +0200, Andre Poenitz wrote: > But I have no strong opinion on how the lfuns should look like. > > Maybe a single LFUN_MOUSE? no LFUN_PRESS(x,y,button,state) LFUN_RELEASE(x,y,button,state) LFUN_MOVE(x,y,...) but with better names IMO regards john -- "It i

Re: LFUNs for mouse events

2002-08-09 Thread Andre Poenitz
On Fri, Aug 09, 2002 at 01:28:26PM +0100, John Levon wrote: > > I'd use such thing for interanal use in mathed but it looks as the "real" > > inset could use them, too. > > Please. We have : > > insetButtonPress > insetButtonRelease > edit() (1) > edit() (2) > > and the

Re: LFUNs for mouse events

2002-08-09 Thread John Levon
On Fri, Aug 09, 2002 at 02:17:16PM +0200, Andre Poenitz wrote: > Has anybody any opinion on that topic? > > I'd use such thing for interanal use in mathed but it looks as the "real" > inset could use them, too. Please. We have : insetButtonPress insetButtonRelease edit(