CELayoutEditor 0.6.3 load resource error
Posted: Wed Jul 13, 2011 03:55
I move my custom xml file: common.scheme, common.looknfeel, common.imageset, common.png to datafiles folder of CELayoutEditor. All files work correctly in my project, I just wanna test CELayoutEditor. It throws exception in start:
==================================================
CELayoutEditor has detected and caught an exception. The following detailed info is available:
Description: Error
Exception Location: EditorFrame::LoadData
Exception Message: Scheme::loadResources - The Imageset created by file 'Common.imageset' is named 'Common', not '' as required by Scheme 'Common'.
Exception Filename: ..\..\..\src\CEGUIScheme.cpp
Exception Line: 197
==========================================================
Here is my scheme:
<?xml version="1.0" ?>
<GUIScheme Name="Common">
<Imageset Filename="Common.imageset"/>
<LookNFeel Filename="Common.looknfeel" />
....
</GUIScheme>
And here is my imageset:
<?xml version="1.0" encoding="us-ascii"?>
<Imageset Name="Common" Imagefile="Common.png" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
<Image Name="GrayedOut" XPos="7" YPos="7" Width="28" Height="21" />
...
</Imageset>
I don't know what wrong with my files.
==================================================
CELayoutEditor has detected and caught an exception. The following detailed info is available:
Description: Error
Exception Location: EditorFrame::LoadData
Exception Message: Scheme::loadResources - The Imageset created by file 'Common.imageset' is named 'Common', not '' as required by Scheme 'Common'.
Exception Filename: ..\..\..\src\CEGUIScheme.cpp
Exception Line: 197
==========================================================
Here is my scheme:
<?xml version="1.0" ?>
<GUIScheme Name="Common">
<Imageset Filename="Common.imageset"/>
<LookNFeel Filename="Common.looknfeel" />
....
</GUIScheme>
And here is my imageset:
<?xml version="1.0" encoding="us-ascii"?>
<Imageset Name="Common" Imagefile="Common.png" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
<Image Name="GrayedOut" XPos="7" YPos="7" Width="28" Height="21" />
...
</Imageset>
I don't know what wrong with my files.