Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying Images using PICT in Interface Builder



On Tue, Jun 12, 2007 6:15 AM, Martin Kyte <email@hidden> wrote:

>Hi Chaps.
>How do you use the PICT enhanced control to display permanent images in
>a window.
>I can get the whole thing working in interface builder by copying a TIFF
>resource from Photoshop to the project using Project - Add to Project
>menu item and moving it to the resource folder. two images are displayed
>ing the Images part of main.nib and I can drag either of them onto the
>PICT control on the interface. Test interface shows the image correctly
>but building and running the project does not.I'm starting out with all
>this from O'Rreilly's learning carbon. I realise this is a little out of
>date but one has to start somewhere.

PICT controls are also rather broken on Intel. Transparency no longer
works, inactive controls draw wrong, etc.

Report it and you'll get a lecture about how QuickDraw never supported
alpha channels. Point out that it always did for PICT controls, and it
was used in Apple sample code, and you'll get the "that's deprecated"
response. I think they're trying to tell us something.

PICT controls are not the way you want to go.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Displaying Images using PICT in Interface Builder (From: Martin Kyte <email@hidden>)



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.