Re: Some questions about the sketch example...
Re: Some questions about the sketch example...
- Subject: Re: Some questions about the sketch example...
- From: Ian was here <email@hidden>
- Date: Sun, 16 Oct 2005 09:41:27 -0700 (PDT)
That's an interesting point. Upon closer examination
there only seems to be a mouseDown: method in the
SKTGraphicView.
When I developed my slide editor app, I just used
mouseDown, mouseDragged, and mouseUp. That seems to be
the simplest way to go.
Sketch seems to be using nextEventMatchingMask: from
the NSWindow class to get mouse data. It's unfortunate
the this application has sparse commenting.
--- Brian O'Brien <email@hidden> wrote:
> > I don't quite understand why this example doesn't
> handle mouseMoved,
> > Up and Dragged events...
> > I get the feeling there is something going on with
> mouse tracking but
> > I'm not sure how that works and if it is
> > faster then processing the moved and dragged
> events.
> >
> > I don't see in the code where the software figures
> out that the user
> > clicked on a control point of an object
> > and changes its geometry if the mouse moves or if
> the user clicked
> > inside the object and is moving it.
> >
> > I don't see where in the code the software draws
> the 'bounding box'
> > and/or control points for an object.
> >
> > Many thanks....
> > Brian.
>
> _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Cocoa-dev mailing list
> (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden