Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,706
6,289
OK, so I was polishing up the graphics of my program... getting everything to line up nicely and stuff like that. And I started thinking... geez, these buttons are really ugly. I mean they look fine on Apple's programs... but the rest of my interface has this glassy-black theme. The options for changing buttons are rather pitiful in Interface Builder... so I decided to open Dashcode (which is capable of making much nicer buttons... with options like glass and repressed... and gradiant and color choices... and I could go on and on.)

Now that I've designed some nice buttons though... I'm finding it's difficult to move them into interface builder.

Right now I'm taking a screen shot of each button, then opening it in preview and cropping/applying instant alpha, then dragging the image into my resource folder, and using the image as a background for each button. And I have to do this for each state too (so I can have highlighted buttons and pressed buttons rather than just being static.)

There's got to be an easier way. I guess this question is more about Dashcode... how can I easily save a button I make in dashcode as an image that I can use in other programs (namely Interface Builder although I can see myself also wanting to use the buttons in interactive keynote slideshows.) Preserving the effects and transparency is a must.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.