CELayoutEditor

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

virious
Just popping in
Just popping in
Posts: 4
Joined: Wed Aug 12, 2009 08:00

CELayoutEditor

Postby virious » Wed Aug 12, 2009 08:04

Hello, it's my first post here :).

I have a problem. How can I save "Image" property of "TaharezLook/StaticImage" type? The CELayoutEditor doesn't want to save it to the ".layout" file :( . And also, where the image (".png" file) should be located?

I just found information:

Image

Property to get/set the image for the FalagardStaticImage widget. Value should be "set:[imageset name] image:[image name]".


But my quesion is: it cannot be done automatically from CELayoutEditor?

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: CELayoutEditor

Postby Jamarr » Wed Aug 12, 2009 16:09

Open the file CELayoutEditor.ini and add Image,text; to the end of the SupportedProperties entry.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

virious
Just popping in
Just popping in
Posts: 4
Joined: Wed Aug 12, 2009 08:00

Re: CELayoutEditor

Postby virious » Wed Aug 12, 2009 19:40

Jamarr wrote:Open the file CELayoutEditor.ini and add Image,text; to the end of the SupportedProperties entry.


I've had that text already in CELayoutEditor.ini. So this is not the cause of this problem :( .

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

Postby scriptkid » Thu Aug 13, 2009 07:13

Hi,

This post might help: viewtopic.php?f=7&t=2804

You basically need to type the same format, as you would do in XML directly.

And also, where the image (".png" file) should be located?


The editor uses Cegui's internal resource loading mechanism. Have a look at the INI file's ImagesetPath setting. That's the directory where the editor (Cegui actually) loads your imagesets. In the Imageset files themself, you should say which image file it uses. That path is relative from the Imageset directory itself.

HTH.
Check out my released snake game using Cegui!


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 2 guests