Image Field not taking input?

Forum for support and development discussion regarding the python based unified editor tool for CEGUI, known as CEED.

Moderators: CEGUI MVP, CEGUI Team

Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

Image Field not taking input?

Postby Mars_999 » Sat Dec 31, 2011 20:12

I am trying to set my static image for a main menu texture and I can't get the image field to keep what I put in it?

set:Nexus image:title.png

Thanks!

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Image Field not taking input?

Postby Kulik » Sun Jan 01, 2012 12:37

CEED uses CEGUI 0.8, CEGUI 0.8 uses the Imageset/Image syntax for images.

These are automatically converted back to set:Imageset image:Image when you save the image (and have 0.7 set as target CEGUI version).

Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

Re: Image Field not taking input?

Postby Mars_999 » Thu Jan 05, 2012 20:56

Well I am not seeing it....

Here is what gets exported when I have .7 selected

<Window Name="Root/Background" Type="OgreTray/StaticImage">
<Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.01,0},{0.75,0},{0.271985,0}}" />
<Property Name="Font" Value="DejaVuSans-10" />
<Property Name="Name" Value="Background" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="BackgroundEnabled" Value="False" />
</Window>

vs. CELayoutEditors

<Window Type="OgreTray/StaticImage" Name="Background" >
<Property Name="Font" Value="Batang-26" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="Image" Value="set:Nexus image:MainMenuBackground" />
<Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.01,0},{0.75,0},{0.271985,0}}" />
<Property Name="BackgroundEnabled" Value="False" />
</Window>

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Image Field not taking input?

Postby Kulik » Fri Jan 20, 2012 13:40



Return to “Official Unified CEGUI Editor Tool (CEED)”

Who is online

Users browsing this forum: No registered users and 3 guests