error parsing layout in 1.4

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
walaber
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Sun Jan 23, 2005 10:20
Contact:

error parsing layout in 1.4

Postby walaber » Sat Feb 11, 2006 18:15

I have a bunch of layouts that worked with version 1.3, that no longer load with version 1.4, they all give me an "window with name xxx already exists" error. below is an example .xml that won't load:

Code: Select all

<?xml version="1.0" ?>
<GUILayout>
   <Window Type="DefaultWindow" Name="Multi_FreeJump">
      <Property Name="UnifiedAreaRect" Value="{{0.000000,0.000000},{0.000000,0.000000},{1.000000,0.000000},{1.000000,0.000000}}" />
      <Window Type="WindowsLook/Checkbox" Name="Multi_FreeJump/GlobalSettingsON">
         <Property Name="Text" Value="Use Global Settings" />
         <Property Name="UnifiedAreaRect" Value="{{0.000000,0.000000},{0.000000,0.000000},{1.000000,0.000000},{0.120000,0.000000}}" />
         </Window>
      <Window Type="WindowsLook/Slider" Name="Multi_FreeJump/GlobalSpeed">
         <Property Name="ClickStepSize" Value="0.050000" />
         <Property Name="UnifiedAreaRect" Value="{{0.100000,0.000000},{0.250000,0.000000},{0.900000,0.000000},{0.350000,0.000000}}" />
         </Window>
      <Window Type="WindowsLook/Slider" Name="Multi_FreeJump/GlobalStrictness">
         <Property Name="ClickStepSize" Value="0.050000" />
         <Property Name="UnifiedAreaRect" Value="{{0.100000,0.000000},{0.500000,0.000000},{0.900000,0.000000},{0.600000,0.000000}}" />
         </Window>
      <Window Type="WindowsLook/StaticText" Name="Multi_FreeJump/GlobalSpeedTitle">
         <Property Name="FrameEnabled" Value="False" />
         <Property Name="HorzFormatting" Value="HorzCentred" />
         <Property Name="Text" Value="Global Game Speed" />
         <Property Name="UnifiedAreaRect" Value="{{0.100000,0.000000},{0.180000,0.000000},{0.900000,0.000000},{0.280000,0.000000}}" />
         </Window>
      <Window Type="WindowsLook/StaticText" Name="Multi_FreeJump/GlobalStrictnessTitle">
         <Property Name="FrameEnabled" Value="False" />
         <Property Name="HorzFormatting" Value="HorzCentred" />
         <Property Name="Text" Value="Global Game Strictness" />
         <Property Name="UnifiedAreaRect" Value="{{0.100000,0.000000},{0.420000,0.000000},{0.900000,0.000000},{0.520000,0.000000}}" />
         </Window>
      </Window>
</GUILayout>

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:

Postby scriptkid » Mon Feb 13, 2006 13:50

Hello Walaber,

thanks for posting. I'll try and debug it myself.

Bye.

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:

Postby scriptkid » Tue Feb 14, 2006 22:01

Hi again,

i was perfectly able to load it. See this screenshot:
http://www.2dgame-tutorial.com/tmp/SampleLayout.PNG

Are you sure you don´t load it more then once by accident?

Please let me know,

Good luck!

User avatar
walaber
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Sun Jan 23, 2005 10:20
Contact:

Postby walaber » Tue Feb 14, 2006 23:59

okay, I know the problem is on my side now... I'm sure I can figure out the error.

thanks for investigating!


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 2 guests