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

setting color of a progress indicator?


  • Subject: setting color of a progress indicator?
  • From: Cryx <email@hidden>
  • Date: Sat, 27 Apr 2002 23:35:46 -0500

Is it possible to change the color of a progress indicator? It'd be nice for a health indicator in a game to display red, orange, yellow, or green for different percentiles. The closest I can find to color is the setControlTint, which only has 2 documented values (experimentation with other values yields no visible change).

I notice that NSColor has a colorForTintColor:. I can't use a category to "enhance" this method, so would posing as NSColor be a suitable solution? I keep thinking that there must be a simpler way (almost always is the case in cocoa).

Daryn
_______________________________________________
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: about OS 9 Installation
  • Next by Date: Help with NSTextView & RTFD files
  • Previous by thread: Re: about OS 9 Installation
  • Next by thread: Re: setting color of a progress indicator?
  • Index(es):
    • Date
    • Thread