Widget names auto prefix

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

Moderators: CEGUI MVP, CEGUI Team

Krismu
Just popping in
Just popping in
Posts: 2
Joined: Sun Dec 30, 2012 22:29

Widget names auto prefix

Postby Krismu » Sun Dec 30, 2012 22:40

Hi,

I'm new to CEED, I was using CELayoutEditor 0.7.1 until now.

I noticed that widgets names are now automatically prefixed with the "path" from hierarchy widgets. This is NOT the case in the "code" tab in the editor but the saved layout file contains full paths for widgets.

This is quite a problem for me as I am used to use short names in my application for a lot of UI I've created until now and I would prefer to keep this logic.

Is there a parameter somewhere that could prevent this for happening ? Or am I forced to edit each layout file aftewards to delete prefixes ?

Thank you for your help,
K.

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

Re: Widget names auto prefix

Postby Kulik » Tue Jan 01, 2013 21:43

This is caused by the relative name change in CEGUI 1.0. The compatibility layer deals with this by prefixing everything.

Right now I am not sure how to deal with this. It should be fairly easy to add that as a checkbox somewere in settings. I will think about it.

Krismu
Just popping in
Just popping in
Posts: 2
Joined: Sun Dec 30, 2012 22:29

Re: Widget names auto prefix

Postby Krismu » Wed Jan 02, 2013 23:22

Hi,

Thanks, I will have to make replacements in the XML file then.

I also noticed that the source preview tab displays invalid xml source due to lack of upper cases of parameters names.

Great tool anyway, thanks for doing it :)

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

Re: Widget names auto prefix

Postby Kulik » Thu Jan 03, 2013 09:55

Read the manual please :) There is a damn good reason for this behavior.


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

Who is online

Users browsing this forum: No registered users and 12 guests