| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Ultimately, I am trying to remove the shadow from the image displayed in a status item. In doing so, it looks like the image needs to be drawn directly, so I have added a category to override drawInteriorWithFrame:inView: and draw the image.
Below is the source. The call to drawInRect:fromRect:operation:fraction: draws the image upside down.
Is there a better way to remove the shadow from an NSButtonCell drawing an image in a status item? If not, why is the image flipping and how is it turned off?
| References: | |
| >NSImage rendering upside down (From: Eric Cole <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.