• 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: setting color of a progress indicator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting color of a progress indicator?


  • Subject: Re: setting color of a progress indicator?
  • From: Julien Guimont <email@hidden>
  • Date: Sun, 28 Apr 2002 18:45:21 -0700 (PDT)

I had the same question 2 weeks ago. I think it can't be done by simply setting something in NSPRogressindicator.

The solution I found, which can be a little more faster, is to make a new NSView subclass et create your progress bar using a rectangle of the color of your choice to bound the rect of your view and use a NSAffineTransform to scale it to the percentage you want. Apply a nice tiff on that with the same scaling and you have a progress bar.

Yes it has no wavy effect in it but, who wants to spend cycle doing that;)... I wish I could.

Do you think there is an API to make little shadow (like the one on window) behind my view, or to make the candy like theme programmaticaly without using tiff?

Thanx

Julien Guimont
email@hidden
www.juggysoft.com
_______________________________________________
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: setting color of a progress indicator?
      • From: Cryx <email@hidden>
  • Prev by Date: Re: C'mon Apple! DECIDE!
  • Next by Date: Trying to make an NSString...
  • Previous by thread: Re: setting color of a progress indicator?
  • Next by thread: Re: setting color of a progress indicator?
  • Index(es):
    • Date
    • Thread