So here is where I'm at:
Code: Select all
gui::IGUIImage* image;
video::ITexture* background;
image->setImage(background);
Looking through the method lists i find no methods to set the GUIEnvironment and also i can't use the new keyword because the class is abstract and cannot be instantiated. I assume it's abstract with pure virtual functions for the purpose of creating a custom GUIImage class and deriving from this?
On a whim i did attempt to initialize the IGUIImage's GUIEnvironment like this:
Code: Select all
image = device->getGUIEnvironment();
Could someone fill in the blanks for me here? I'm not a noob to the C++ language but the reason for much of this engine seem unclear or vague to me.
Thanks in advance