Code: Select all
IGUIWindow *windowOptions = guienv->addWindow(recti(100,100,700,500), false, L"OPTIONS", 0, GUI_WINDOW_OPTIONS);
windowOptions->setDrawTitlebar(false);
windowOptions->getCloseButton()->setVisible(false);
IGUIImage *windowOptionsImage = guienv->addImage(driver->getTexture("data/window_options.png"), vector2di(0,0), true, windowOptions);
windowOptionsImage->setRelativePosition(position2di(-1,-10));
windowOptionsImage->setNotClipped(true);
FS: correct
Windowed:
I guess basically it's not the best way to achieve what I want, but it's pretty easy like that and works fine in FS. I'm not sure if it's a "real" bug or a concequence of the implementation though; but maybe it is possible to do something about it?