Code: Select all
IGUITabControl* test = GUIEnv->addTabControl(rect<s32>(700, 50, 1200, 700));
test->addTab(L"Movement");
IGUIStaticText* moveForward = GUIEnv->addStaticText(L"Move Forward", rect<s32>(5, 5, 105, 25), false, false, test->getTab(0));
rect<s32> editRect(460, 0, 480, 20);
IGUIEditBox* moveForwardEdit = GUIEnv->addEditBox(L"W", editRect, false, moveForward, 100);
moveForwardEdit->setNotClipped(true);
//... every loop this is called:
test->draw();