CELayoutEditor and ScriptingMod don't go together

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Sponge
Just popping in
Just popping in
Posts: 16
Joined: Tue Nov 08, 2005 18:17
Location: Fryslan, The Netherlands
Contact:

CELayoutEditor and ScriptingMod don't go together

Postby Sponge » Tue Nov 08, 2005 18:32

Hi,

I can load the demo samples perfectly with Lua. When I try to load my own simple layout, made using the editor, I get a whole list of exceptions. Visual C++:

Code: Select all

First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.
First-chance exception at 0x7c59bc3f in Game.exe: Microsoft C++ exception: CEGUI::UnknownObjectException @ 0x00128604.


Logfile:

Code: Select all

08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'BackgroundImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'BottomFrameImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'BottomLeftFrameImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'BottomRightFrameImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'LeftFrameImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'RightFrameImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'TopFrameImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'TopLeftFrameImage' available in the set.
08/11/2005 19:29:28 (Error)   Exception: There is no Property named 'TopRightFrameImage' available in the set.


Part from the actual layout file:

Code: Select all

<Window Type="TaharezLook/MultiLineEditbox" Name="Demo8/txtLog" >
<Property Name="ID" Value="3" />
<Property Name="BackgroundImage" Value="set:TaharezLook image:StaticBackdrop" />
<Property Name="BottomFrameImage" Value="set:TaharezLook image:StaticBottom" />
<Property Name="BottomLeftFrameImage" Value="set:TaharezLook image:StaticBottomLeft" />
<Property Name="BottomRightFrameImage" Value="set:TaharezLook image:StaticBottomRight" />
<Property Name="LeftFrameImage" Value="set:TaharezLook image:StaticLeft" />
<Property Name="RightFrameImage" Value="set:TaharezLook image:StaticRight" />
<Property Name="TopFrameImage" Value="set:TaharezLook image:StaticTop" />
<Property Name="TopLeftFrameImage" Value="set:TaharezLook image:StaticTopLeft" />
<Property Name="TopRightFrameImage" Value="set:TaharezLook image:StaticTopRight" />
<Property Name="UnifiedAreaRect" Value="{{0.008543,0.000000},{0.066082,0.000000},{0.962059,0.000000},{0.869686,0.000000}}" />
<Property Name="UnifiedMaxSize" Value="{{1.000000,0.000000},{1.000000,0.000000}}" />
</Window>


I guess the easiest methods is to remove these entries from the file, but maybe it's just something else that's going on? :)

Regards,

Sponge :)

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: CELayoutEditor and ScriptingMod don't go together

Postby lindquist » Tue Nov 08, 2005 18:38

I don't believe we ever had custom frame image properties on the MultiLineEditbox.

This would seem like a bug in the editor, or in the scheme file used (mapping static to taharez/multilineeditbox.. unlikely...)

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: CELayoutEditor and ScriptingMod don't go together

Postby scriptkid » Wed Nov 09, 2005 09:44

I submitted a bug for it. Thanks for mentioning. The build-in window-saver seems to write too much information. I have to look into it.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: CELayoutEditor and ScriptingMod don't go together

Postby scriptkid » Sat Jan 07, 2006 17:49

Hi,

i cannot reproduce this error. When i create a multin lined editbox now, it only saves:

<Window Type="TaharezLook/MultiLineEditbox" Name="mleditbox" >
<Property Name="Font" Value="Tahoma-12" />
<Property Name="MaxTextLength" Value="1073741823" />
<Property Name="MouseCursorImage" Value="set:TaharezLook image:MouseTextBar" />
<Property Name="Text" Value="
" />
<Property Name="UnifiedAreaRect" Value="{{0.100000,0.000000},{0.100000,0.000000},{0.350000,0.000000},{0.350000,0.000000}}" />
<Property Name="UnifiedMaxSize" Value="{{1.000000,0.000000},{1.000000,0.000000}}" />
</Window>

Can you test again with the most recent version of the editor?

Thanks and just let me know if you get the error again.


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 3 guests