iDevGames Forums
My Gift to You: New UIButton Skins - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: My Gift to You: New UIButton Skins (/thread-1970.html)



My Gift to You: New UIButton Skins - Nick - Jan 1, 2009 07:06 PM

I don't know about you guys, but I hate the rounded rectangle button in the iPhone SDK. So I took some time the other day and whipped up a couple of new textures for my game and figured I'd give them out to anyone else who wants them. They're 29x46 so they work just like the custom button skin in the Apple samples (use the stretchedImageWithLeftCapWidth:topCapHeight: passing in 12 and 12 for each value to generate the final image for each button). I did a brief write up on it for anyone who cares to read it.

Anyway, enough blabbering, here are the two images:

[Image: custombuttonnormal.png][Image: custombuttonpressed.png]

Personally I'm a big fan of these over the default button skin as they match the rest of the UI elements like the slider, switch, and segmented control. Hopefully they find use with some of you as well.


My Gift to You: New UIButton Skins - AnotherJake - Jan 1, 2009 07:18 PM

Hey, thanks for sharing Nick! Yeah that default button is fu-gly. I have no idea why they went that direction.


My Gift to You: New UIButton Skins - kodex - Jan 1, 2009 10:04 PM

Also if anyone is interested I made red/green ones for a project I did a while back. They clone out exactly like Mail App's delete button.


[Image: greenButton.png] [Image: redButton.png]

And an example of how they look filled out
[Image: example.JPG]


My Gift to You: New UIButton Skins - funkboy - Jan 1, 2009 10:08 PM

Thanks for sharing everyone! It would be great to have more of these kinds of designs available...