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.
-
killer7
- Posts: 14
- Joined: Fri Dec 10, 2004 2:42 am
- Location: Chicago, USA
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?
-
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
-
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!