I'm having trouble loading imagesets. It seems like you can only have one loaded at a time.
If I go:
// load the UI imageset
CEGUI::SchemeManager::getSingleton().loadScheme((CEGUI::utf8*)"TaharezLook.scheme");
mGUISystem->setDefaultMouseCursor((CEGUI::utf8*)"TaharezLook", (CEGUI::utf8*)"MouseArrow");
mGUISystem->setDefaultFont((CEGUI::utf8*)"Tahoma-12");
// load my imageset
CEGUI::ImagesetManager imagesetManager=CEGUI::ImagesetManager::getSingleton();
imagesetManager.createImageset("mainscreen.imageset");
CEGUI::Window* sheet = CEGUI::WindowManager::getSingleton().loadWindowLayout("mainscreen.layout");
mGUISystem->setGUISheet(sheet);
I don't see the mouse.
But if I go:
// load my imageset
CEGUI::ImagesetManager imagesetManager=CEGUI::ImagesetManager::getSingleton();
imagesetManager.createImageset("mainscreen.imageset");
// load the UI imageset CEGUI::SchemeManager::getSingleton().loadScheme((CEGUI::utf8*)"TaharezLook.scheme");
mGUISystem->setDefaultMouseCursor((CEGUI::utf8*)"TaharezLook", (CEGUI::utf8*)"MouseArrow");
mGUISystem->setDefaultFont((CEGUI::utf8*)"Tahoma-12");
CEGUI::Window* sheet = CEGUI::WindowManager::getSingleton().loadWindowLayout("mainscreen.layout");
mGUISystem->setGUISheet(sheet);
I get UI images instead of my images in my layout?
What is the correct way to work with multiple imagesets?
Problem with multiple ImageSets
Moderators: CEGUI MVP, CEGUI Team
Re: Problem with multiple ImageSets
there is no problem with having multiple imagesets. make sure that you defined your own image file in your imageset file and that you use your own elements in your scheme, not those of TaharezLook!
cheers
boto
cheers
boto
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: Bing [Bot] and 2 guests