I simply want to have a display of the variables current value in the window.
I looked at the tutorial 9 which had something similar
Code: Select all
gui->addEditBox(L"1.0", core::rect<s32>(100,46,130,66), true, 0, GUI_ID_X_SCALE);
IGUIElement* toolboxWnd = device->getGUIEnvironment()->getRootGUIElement()->getElementFromId(GUI_ID_DIALOG_ROOT_WINDOW, true);
toolboxWnd->getElementFromId(GUI_ID_X_SCALE, false)->setText(setText( [b]core::stringw(scale.Z).c_str() [/b]);