image background
-
SilverGrom
image background
how can i display background's image in the tutorial of user interface ?
-
DarkWhoppy
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact:
Use a GUIImage or ITexture and make sure its the size of the window... (download my PacBot - Aura demo thing...its got an example of that in the MainMenu source)
URL: http://www.phyer.net/whoppyarts/
URL: http://www.phyer.net/whoppyarts/
Gui example
Code: Select all
gui::IGUIEnvironment* guienv = device->getGUIEnvironment();
gui::IGUIImage* img = guienv->addImage(core::rect<int>(0,0,640,480));
img->setImage(driver->getTexture("background.tga"));