How to get the pointer? Please Help me!

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
killer7
Posts: 14
Joined: Fri Dec 10, 2004 2:42 am
Location: Chicago, USA

How to get the pointer? Please Help me!

Post by killer7 »

ok, for instance:

Code: Select all

guienv->addButton(rect<s32>(170,150,300,175), 0, 10, L"Test");
How would i get the pointer to the checkbox?
Know modeling?

Got spare time?

Email me: moe@cgispy.com
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Well, try it like this:

Code: Select all

IGUIButton* myButton = addButton(rect<s32>(170,150,300,175), 0, 10, L"Test"); 

CU
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
killer7
Posts: 14
Joined: Fri Dec 10, 2004 2:42 am
Location: Chicago, USA

Post by killer7 »

you were rite, almost

Code: Select all

 IGUIButton* myButton = guienv->addButton(rect<s32>(170,150,300,175), 0, 10, L"Test");
note: guienv->

Thanks for your help, real life saver!
Know modeling?

Got spare time?

Email me: moe@cgispy.com
Post Reply