HIG-compliant image highlight
HIG-compliant image highlight
- Subject: HIG-compliant image highlight
- From: Konstantin Anoshkin <email@hidden>
- Date: Fri, 23 Dec 2005 17:21:13 +0300
Is there "official" way to darken an NSImage ala NSButtonCell?
Currently I am doing it like this:
[[[NSColor blackColor] colorWithAlphaComponent: 0.46f] set];
NSRectFillUsingOperation(theRect, NSCompositeSourceAtop);
The alpha value of 0.46 seems to be very close, but I am sure
NSButtonCell highlights its image in a different way. Can anybody
give me a clue?
Thanks in advance.
Konstantin.
------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden