• 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: displaying a calculated image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: displaying a calculated image


  • Subject: Re: displaying a calculated image
  • From: Andreas Mayer <email@hidden>
  • Date: Sun, 26 May 2002 15:44:54 +0200

Am Sonntag den, 26. Mai 2002, um 14:55, schrieb Cameron Hayne:

One problem that I had to overcome was that NSSlider does not seem to allow processing of timer events when the mouse is held down on the slider. To fix this (which might be considered a bug in NSSlider ?), I use a subclass of NSSlider which sends a stream of Periodic Events when the mouse is down.

From the CircleView Tutorial:

// The next two lines make sure that animation will continue to occur
// while modal panels are displayed and while event tracking is taking
// place (for example, while a slider is being dragged).
[[NSRunLoop currentRunLoop] addTimer:timer forMode:NSModalPanelRunLoopMode];
[[NSRunLoop currentRunLoop] addTimer:timer forMode:NSEventTrackingRunLoopMode];

Hope this helps.


bye. Andreas.
_______________________________________________
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.

References: 
 >Re: displaying a calculated image (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Re: displaying a calculated image
  • Next by Date: Re: Database applications
  • Previous by thread: Re: displaying a calculated image
  • Next by thread: Re: displaying a calculated image
  • Index(es):
    • Date
    • Thread