Graphic anomaly: Drop shadows on custom menus offset by a few pixels
Graphic anomaly: Drop shadows on custom menus offset by a few pixels
- Subject: Graphic anomaly: Drop shadows on custom menus offset by a few pixels
- From: Stephen Kay <email@hidden>
- Date: Tue, 19 Feb 2013 14:37:26 -0500
- Thread-topic: Graphic anomaly: Drop shadows on custom menus offset by a few pixels
(Also posted to carbondev, but maybe someone here remembers something about
this from years ago.)
Image:
http://karma-lab.com/temp/offsetshadow.jpg
The app is an old Carbon PowerPlant-based app that I've been porting to
Xcode 3.2.6, in order to release an Intel-version for 10.7 and 10.8. It's
not going to be ported to Cocoa anytime soon...
Base SDK, Deployment: Mac OS X 10.4
The problem is with my custom popup menus that are created with
CreateCustomMenu() - i.e. Little pictures instead of text, or grids of names
etc.
As shown in the picture above, on 10.4, 10.7, and 10.8 the custom popup
looks normal and has a normal drop shadow.
However, in 10.5 and 10.6, the drop shadow appears to be offset from the
edge of the popup by 2 to 3 pixels, creating a transparent outline around
the popup.
The actual area of the menu is the same across all systems; just the drop
shadow is offset on 10.5 and 10.6.
It's strange that it got "broken" on 10.5 and 10.6, but then looks normal on
10.7 and 10.8. Maybe it's a Mac bug that got fixed, but if so, I've searched
for hours on this and couldn't find anything. I must be the only one with
that problem, it seems... So before I give up, one last try.
Thanks,
- Stephen
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden