Transparent Images on Buttons in Jaguar?
Transparent Images on Buttons in Jaguar?
- Subject: Transparent Images on Buttons in Jaguar?
- From: joe pezzillo <email@hidden>
- Date: Mon, 7 Jun 2004 16:02:57 -0600
Greetings CocoaDev!
I'm dealing with a problem similar to one that I've found mentioned on
the list before ("Re: setHidden: on MacOS 10.2" Date: Thu, 29 Apr 2004
12:53:17 +0200) but that one doesn't seem to have a clear resolution
and isn't an exact match for my issue. I don't want the button to be
hidden completely, just have a transparent image and be placed on a
transparent window (per the Apple round transparent window example). I
tried using NSButton's "setTransparent:" method, but as the docs say,
it prevents the button from being drawn, and that's not what I'm
looking for.
I've got an NSButton with a transparent tiff graphic that works just
swell under Panther, but under Jaguar, it's not transparent, or, it's
transparent but shows the corduroy background even though it's on a
transparent window (the transparent window itself seems to work fine on
both Panther and Jaguar).
The button with image is created in IB using a tiff image in my Xcode
project that was created in Photoshop.
I've put up some sample images and description on a website for your
review, but really I just want to know what I'm doing wrong or if this
isn't possible under Jaguar.
Please see:
http://www.thinksimilar.com/cocoa-dev/
for enlarged images showing the difference.
If you can help, please cc me directly on the answer as I only get the
Cocoa-dev digests and I'm eager to get this fixed ASAP!
THANK YOU!
Joe
email@hidden
_______________________________________________
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.