Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-06-2009, 08:59 PM   #51 (permalink)
atomriot
Registered Member
 
Join Date: Jul 2009
Posts: 8
atomriot is on a distinguished road
Default

first off, great tutorials! i have not ever ventured into open gl of any flavor and these were very descriptive. i couldn't help but get lost playing while reading through your tutorials.

i do have a question though regarding the click handling. you show how to capture the clicks and test the area to see if its within the square, is this the only way to do this?

my real question is if i have 4 or 5 or more button areas (squares or other gl drawn shapes), do i just have to test to see where the click was in a bunch of ifs? or can you assign some sort of actual type to those squares and have those square inherit the touch events and act like a normal button?

thanks for any guidance.
atomriot is offline   Reply With Quote
 

» Advertisements
» Online Users: 557
21 members and 536 guests
Alexj17, armmzz, avors, baja_yu, bazookaBen, chiataytuday, ditren, Droverson, G-Power, givensur, hambeast, idiot_2008, ITCreative, KZS, linda368, linkmx, michaelhansen, NetGuru, oceanlablight, Rudy, wildvlad
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,541
Threads: 93,723
Posts: 401,259
Top Poster: BrianSlick (7,954)
Welcome to our newest member, linda368
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:55 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.