I have a staticimage/window that it created using the following:
Code: Select all
CEGUI::Texture *cetex = mguirenderer->createTexture("terrain_texture.jpg", "General");
CEGUI::Imageset* imageset = CEGUI::ImagesetManager::getSingleton().createImageset("minimapTexImageset", cetex);
imageset->defineImage("minimapImage", CEGUI::Point(0.0f, 0.0f), CEGUI::Size(cetex->getWidth(), cetex->getHeight()), CEGUI::Point(0.0f,0.0f));
mapwindow = CEGUI::WindowManager::getSingleton().getWindow("Root/MiniMap");
mapwindow->setProperty("Image", CEGUI::PropertyHelper::imageToString(&imageset->getImage("minimapImage")));
Can anyone tell me how I can draw arbitary lines/rectangles onto the window?
Thanks.