Page 1 of 1

Image Field not taking input?

Posted: Sat Dec 31, 2011 20:12
by Mars_999
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!

Re: Image Field not taking input?

Posted: Sun Jan 01, 2012 12:37
by Kulik
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).

Re: Image Field not taking input?

Posted: Thu Jan 05, 2012 20:56
by Mars_999
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>

Re: Image Field not taking input?

Posted: Fri Jan 20, 2012 13:40
by Kulik