[ANN] irregular shaped buttons class
[ANN] irregular shaped buttons class
- Subject: [ANN] irregular shaped buttons class
- From: Andreas Mayer <email@hidden>
- Date: Tue, 29 Jul 2003 00:39:48 +0200
- draws buttons with alpha masks
- buttons will not overwrite background where transparent
- clickable only where alpha > 0.5
- automatically chooses graphite or aqua image (if correctly named)
- will automatically tint 'off' image according to system control tint
if no matching 'on' image available
- responds to control tint change notification
http://www.harmless.de/cocoa.html
BTW: Does anyone know if there are constants for the system control
tints?
[[NSColor colorForControlTint:NSDefaultControlTint] colorNameComponent]
returns "blueControlTintColor" or "graphiteControlTintColor". That's
nice, but do I really need to hardcode those strings?
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.