• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: getting an EventRecord?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: getting an EventRecord?


  • Subject: RE: getting an EventRecord?
  • From: "Matt Pease" <email@hidden>
  • Date: Thu, 1 May 2003 09:48:51 +0200

Oops -- I didn't realize there was a difference.

I want the same type of event that comes into Powerplant's SpendTime
method. :) The library I'm using was designed to be called
regularly to make the animation move.

So I need

* mouse movement events,
* mouse clicks, &
* keyboard presses.
* when there aren't any of those, then I'd need just the updateEvent,
I'm guessing. Got to keep that animation moving.


Thanks again-
Matt



> Umm, what kind of event do you want to find in the EventRecord? If
> you're just drawing, do you want an updateEvt? Or do you want some
> other kind of events?
> -eric

> > Hi all -
> >
> > I'm writing a screensaver module & I need to get ahold of
> > an EventRecord (carbon style) every drawRect call.
> >
> > What is the best way?
> >
> > * use WaitNextEvent to get it directly.
> >
> > * override sendEvent & get a NSEvent. But what is the
> > best way to convert an NSEvent into a EventRecord?
> >
> > * some other way?
>

>
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: getting an EventRecord?
      • From: Marcel Weiher <email@hidden>
  • Prev by Date: Re: How dangerous is +load?
  • Next by Date: Re: getting an EventRecord?
  • Previous by thread: Re: How dangerous is +load?
  • Next by thread: Re: getting an EventRecord?
  • Index(es):
    • Date
    • Thread