CEGUI Layout Editor 0.5.0 RC2

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

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 » Mon Nov 20, 2006 08:29

hi slicky,

i will try to verify this asap. Thanks for the details.

Sjizo
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Thu Aug 31, 2006 08:44

Postby Sjizo » Fri Nov 24, 2006 15:22

Hi all,
today I decided to try out the layout editor for the first time and after some hassle to get it to work i became instantly fond of using it. It's a nice tool that simplifies life a lot ;) However I have already noticed one thing and have a feature request :).
bug: When I set a colour in the editor for text, the text shows in the editor in that colour but when I load the xml in my application the text is just white.
feature request: I noticed that for a static text you can set the colour but for the text of, for example a button, you cannot set the text colour, would be cool if you could set that too.

ps
great job on the editor really like it

vr
Just popping in
Just popping in
Posts: 19
Joined: Thu Oct 12, 2006 20:57

A few issues with CE layout editor

Postby vr » Mon Nov 27, 2006 11:42

Hi all.
I tried to load a layout file containing all widgets copied from

http://www.cegui.org.uk/wiki/index.php/WidgetGalore

When loading this into the layout editor (or loading it using lua scripts) I get the following error:

Message: GUILayout_xmlHandler::startElement - layout loading has been aborted since no WindowFactory is available for 'TaharezLook/TabPane' objects


Looking into the TaharezLook.scheme I noticed that there are things in it that is not available in CELayoutEditor, for example HorizontalScroll? etc.

How come?

Another problem is that the WYSWIG view of the layout is not updated until the widget (or really the background image) is touched with the mouse, so changing a value in the property box is not reflected immediately.

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 » Mon Nov 27, 2006 12:44

Hi,

welcome to the forums :-)

to answer your layout question: in 0.5 there is no TabPane anymore. You should replace "Taharezlook/TabPane" by "DefaultWindow".

I also noticed that the file has __auto_ windows which shouldn't be there. That's not the author's fault btw. Can you remove all "<AutoWindow" blocks from the file as well? After that you should be fine!

I am however not sure if this layout will show the tabs. I think they are a "preparation" for the corresponding source code which is earlier in that wiki document.

Good luck :-)

vr
Just popping in
Just popping in
Posts: 19
Joined: Thu Oct 12, 2006 20:57

Events

Postby vr » Mon Nov 27, 2006 14:46

Well, now when I have you online :)

Ok, so what you are saying is that, dont use tabs right now?
Because they do work with the WindowsLook.
I was fiddling along ok until I got problems with event callbacks (see below) and the fact that I cant use ScrollablePane because they dont save children to file.



Also, Is there a way to get the identities (names) of all events for a widget in lua?

There is a method w:subscribeEvent("ScrollPosChanged", "radiusChangeHandler")

And depending on the type of w, there are different events.
Now I havent found a way to find out what events that are available.
For example Checkbox has a onSelectStateChange, but that doesnt work (nothing happens).


Sorry if this is not the appropriate forum?

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 » Mon Nov 27, 2006 17:55

You can use tabs, also from the editor. I was talking about the demo layout from the wiki page.

Scrollable pane does not save children, which is a known bug:
http://www.cegui.org.uk/mantis/view.php?id=127

I would not know of the lua question. But cegui widget events can be found in the Static Public Attributes part of the doxygen documentation of each widget. But maybe you mean a dynamic query for them?

HTH.

PS. You might post lua questions in one of the help forums please.

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 » Sun Dec 03, 2006 11:38

Slicky wrote:I think there's a bug with at least the align width command.

    -Create a blank layout
    -Add two buttons
    -Resize the width of the first one
    -Select the first and also select the second (to show which you want to be the reference)
    -Choose align width
    -The second button shoots to the left of the screen and its left and right scale values are messed up


Yes this is a bug, added to mantis:
http://www.cegui.org.uk/mantis/view.php?id=131

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 » Mon Dec 04, 2006 21:48


Slicky
Quite a regular
Quite a regular
Posts: 63
Joined: Wed Jan 12, 2005 12:06

Postby Slicky » Tue Dec 05, 2006 04:11

Thanks.

I'll have to check out what dependencies etc are needed. I think I had a tough time compiling it last time I tried.

Sjizo
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Thu Aug 31, 2006 08:44

Postby Sjizo » Wed Dec 06, 2006 09:18

Sjizo wrote:Hi all,
today I decided to try out the layout editor for the first time and after some hassle to get it to work i became instantly fond of using it. It's a nice tool that simplifies life a lot ;) However I have already noticed one thing and have a feature request :).
bug: When I set a colour in the editor for text, the text shows in the editor in that colour but when I load the xml in my application the text is just white.
feature request: I noticed that for a static text you can set the colour but for the text of, for example a button, you cannot set the text colour, would be cool if you could set that too.

ps
great job on the editor really like it


I noticed there hasn't been a reply to this. ScriptKid have you read it?

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 » Wed Dec 06, 2006 12:52

Sorry,

i read it but didn't reply. It's a known issue. I will give it a look in the next days :-)

Sjizo
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Thu Aug 31, 2006 08:44

Postby Sjizo » Thu Dec 07, 2006 09:57

Ok thank you :) tought you would have read it, but wasn't sure.

User avatar
Ludi
Quite a regular
Quite a regular
Posts: 59
Joined: Sun Aug 13, 2006 12:33

Postby Ludi » Thu May 03, 2007 20:17

Why is it not possible to add Scrollbars within the Editor? You can open layouts, which contain them, but it's not possible to add them via "Add window".

User avatar
Evak
Not too shy to talk
Not too shy to talk
Posts: 32
Joined: Mon Apr 17, 2006 05:29
Contact:

Postby Evak » Sat May 12, 2007 23:27

some way to lock gadgets once they are the correct size would be awesome for people like me doing applications with pixel perfect non scaling GUI's. At the moment if it's quite hard to reoranize a frame and content.

Image


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 7 guests