• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating Carbon bevel picture buttons w/Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Carbon bevel picture buttons w/Interface Builder


  • Subject: Re: Creating Carbon bevel picture buttons w/Interface Builder
  • From: Bryan Pietrzak <email@hidden>
  • Date: Thu, 13 May 2004 14:18:03 -0500

If anyone from the Interface Builder team is interested.. I filed a bug for this:

rdar://3653738

It's probably partly a carbon HLTB team bug and probably partly IB. But hey, I filed a bug :)

Bryan

On May 12, 2004, at 2:01 PM, Bryan Pietrzak wrote:

I'm reposting this here on the Xcode list as it seems that this list may be more appropriate for Interface Builder questions. It doesn't seem to me that this is directly an issue of CW vs. Xcode, but simply a question of how to use TIFF or PNG files in Interface Builder for Bevel Button controls.

Thanks

Bryan


Begin forwarded message:

On Sep 25, 2003, at 7:36 AM, Jeffrey Johnson wrote:

Hello all,

We've been incrementally migrating away from using resources in favor of
nibs/ Interface Builder in our Carbon apps (no "stone knives and bearskins"
jokes, please :-)). One of the most basic tasks that's been a bit awkward is
composing new bevel buttons that contain pictures. IB gives us these choices:
Icon Suites, cicns or PICTs.


Since Resorcerer no longer has a Icon/cicn editor that works in OSX (2.4.1,
the version that works best natively in 10, just puts up
"Sorry, Internal bug. Editor not yet supported; please use the Classic
Version",
and it's not likely to ever *be* supported), I thought I'd ask what mechanism
and editing apps others are using with IB for Carbon (and CodeWarrior, if that
has an impact).


We can use PICTs and insert them into our shrinking rsrc files with
Resorcerer, but I was wondering if there were newer approaches:

-Can PNG/TIFF files be turned into icon refs/ registered icons? Is there a
straightforward tutorial/ documentation /sample code on doing this (the icon
registration process)? I remember lots of traffic/thrashing about this long
ago on carbon-dev, and lost track of the thread.


-Does someone have a better icon resource editor to recommend, with a simple
UI, works natively in OSX, and that *doesn't* assume we're Photoshop gurus?
Price isn't a grave concern- We'll trade money for productivity, gladly.


IS there *any* method w/CodeWarrior projects (organization of files in a
directory, etc) to get the "Test Interface" function to display the pictures
for the buttons? Does this function display button images for Carbon apps if
we were to migrate to ProjectBuilder/XCode? Does it work at all for Carbon?


Thanks for any pointers...

Have the answers to this question gotten any easier since last Fall? I looked at the archives and saw Larry's responses, but we're basically in the same boat.


We want to put a bunch of TIFFs or PNGs in the Resources folder of our app and then create various controls (mostly bevel buttons) in Interface Builder that reference the images stored in the Resources folder of our app's bundle.

This seems like a very basic need and it seems like we're missing something really obvious in Interface Builder. It can't be that convoluted...can it?

Like Jeffrey, we are using carbon and CW (9.2) and want to move away from Resorcerer and resource file resources in favor of IB and the Resources folder of the app package.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Fwd: Creating Carbon bevel picture buttons w/Interface Builder (From: Bryan Pietrzak <email@hidden>)

  • Prev by Date: how to save state of a button...
  • Next by Date: Problem with renaming extensions with shared objects
  • Previous by thread: Fwd: Creating Carbon bevel picture buttons w/Interface Builder
  • Next by thread: Debugger key focus problem?
  • Index(es):
    • Date
    • Thread