Code: Select all
root->setPosition(CEGUI::UVector2(cegui_reldim(0.0f), cegui_reldim( 0.0f)));
root->setSize(CEGUI::UVector2(cegui_reldim(1.0f), cegui_reldim( 1.0f)));
It renders fine but when I set my position and size like this:
Code: Select all
root->setPosition(CEGUI::UVector2(cegui_absdim(0), cegui_absdim( 0)));
root->setSize(CEGUI::UVector2(cegui_absdim(640), cegui_absdim( 480)));
I don't see anything. Is this normal and why? How can I absolutely position the root window?
EDIT: Absolutely positioned anything does not work right. The offset in the UDim is a relative offset too! How do I absolutely position stuff?!