[CELayoutEditor] How to set image to StaticImage

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

E.Kiver
Just popping in
Just popping in
Posts: 12
Joined: Tue Oct 09, 2007 18:56

[CELayoutEditor] How to set image to StaticImage

Postby E.Kiver » Fri Nov 16, 2007 13:26

Hi!
The topic name is quiet self-explaining, I'm using CELayoutEditor 0.5.
I've created TaharezLook/StaticImage window, but whether I'm setting in its "Image" value to, there is still no such property as

<Property Name="Image" Value=...

in my output ".layout". But if I manually add string like:

<Property Name="Image" Value="set:HUD image:HUD_main" />

Everything works fine.
So, how to make editor add such props automaticaly?

E.Kiver
Just popping in
Just popping in
Posts: 12
Joined: Tue Oct 09, 2007 18:56

Postby E.Kiver » Fri Nov 16, 2007 15:38

Ok, I've figured something out.
If I set "Image" field to

set:TaharezLook image:ListboxSelectionBrush

It works, so I can suggest, that I need to register my HUD imageset in CELayoutEditor somehow(Like taharezlook imageset were registred).
But how?
Last edited by E.Kiver on Fri Nov 16, 2007 19:22, edited 1 time in total.

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 » Fri Nov 16, 2007 18:21

Hi,

the best thing to do is adding your own imagesets to one of the schemes which you are using. So that they will get loaded automatically with the .scheme file.

Just open the TaharezLook.scheme file to see how to add an imageset.

Good luck!


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 0 guests