setting color of a progress indicator?
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.