[BUG]HandMorph =>Wonderland and use of controlKeyPressed

Karl Ramberg karl.ramberg at chello.se
Mon Aug 7 20:04:39 UTC 2000


So the quick workaround would be to *extend* (gulp!) the HandMorph to make
a exeption if the morph getting the mouseDown while control is pressed is a WonderlandActor or a
WonderlandCameraControls ?

Karl


Bob Arning wrote:
> 
> Karl,
> 
> The Mac VM only reports the modifier keys at the time of the last event (mouse up/down or key pressed). There is now way that I can see to sak it about the state of these keys _right now_. I tried to suggest a change in that area quite a while ago, but didn't get a nibble.
> 
> Cheers,
> Bob
> 
> On Mon, 07 Aug 2000 21:17:10 +0200 Karl Ramberg <karl.ramberg at chello.se> wrote:
> >Have you tested this on a mac ?
> >I think the mac os locks *every* other processes when there is a mouse down.
> >At least I can't get this to work. Can anybody else on a mac confirm this ?
> >
> >Karl
> >
> >Jeff Pierce wrote:
> >>
> >> Yup, there's an unfortunate mix of too much functionality and not enough
> >> modifier keys.  I still hope to implement a more elegant solution, but
> >> until I've got time the current method at least works.  The trick is that
> >> you need to mouse down on a WonderlandActor (or the camera controls) first,
> >> and then hold down Control, Shift, or Shift+Control to access the different
> >> modes.
> >>
> >> Jeff
> >>
> >> At 05:54 PM 8/7/00, Karl Ramberg wrote:
> >> >
> >> >In
> >> >WonderlandActor>>onMouseMove
> >> >and
> >> >WonderlandCameraControls>>moveCamera
> >> >
> >> >is supposed to do special manipulation when control key is pressed down but it
> >> >gets overridden by the handMorph and it's special menu:
> >> >
> >> >HandMorph>>handleEvent:
> >> >
> >> >I'm not totally sure how to fix this.
> >> >
> >> >Karl





More information about the Squeak-dev mailing list