I'm trying to make a chat room layout, using the pre-made console layout from the tutorial, and it works reasonably well. I'm trying to extend it by adding a side menu for stuff like your chat name and what text color you want.
Here's the big problem, so first of all I couldn't get the ColourPicker (or ColourPickerControls) to work at all, it would crash CEED all the time, claiming the windowFactory didn't have a base window type for a "ColourPicker".
After lots of hacking around, I stumbled upon a solution of sorts; if I added <WindowSet filename="CEGUICommonDialogs" /> to the start of the VanillaCommonDialogs.scheme include header, I could add and use the ColourPicker in CEED.
But now CEGUI won't load the VanillaCommonDialogs scheme, throwing a CEGUI::GenericException when I call CEGUI::SchemeManager::getSingleton().createFromFile("VanillaCommonDialogs.scheme");
If I remove the <WindowSet filename="CEGUICommonDialogs" /> from the VanillaCommonDialogs.scheme, CEGUI starts up just fine, but I can no longer load my layout in CEED. It's a catch-22!
I don't quite know how to generate or find error log files for you to view. If there is anything more I can do to explain or clarify my predicament, I would be more than happy to do so.
Thank you in advance for any help.
Edit: I forgot to mention, I read the comment in VanillaCommonDialogs.scheme, and I'm also loading in VanillaSkin.Scheme in my engine.
This is how I load in my schemes:
Code: Select all
CEGUI::SchemeManager::getSingleton().createFromFile("TaharezLook.scheme");
CEGUI::SchemeManager::getSingleton().createFromFile("AlfiskoSkin.scheme");
CEGUI::SchemeManager::getSingleton().createFromFile("VanillaSkin.scheme");
CEGUI::SchemeManager::getSingleton().createFromFile("VanillaCommonDialogs.scheme");

).