Code: Select all
IGUIFont* font = device->getGUIEnvironment()->getFont("images/courier.bmp");
while(device->run())
{
driver->beginScene(true, true, SColor(0,192,192,192));
font->draw(L"Also mixing with 3d graphics is possible.",rect<s32>(10,10,300,60),SColor(255,255,255,0));
smgr->drawAll();
guienv->drawAll();
driver->endScene();
}