Layout Editor

Forum for general chit-chat or off-topic discussion.

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:

Layout Editor

Postby scriptkid » Thu Aug 05, 2004 16:21

Hi Eddie,

just to let you know that I'm working on the editor. Overcoming some compilation problems, also regarding boost and such, but step by step I'll manage. I hope to load my first layout this evening :-) From that point, things should go fast i guess.

Besides that, I'm writing down -per element- which properties are relevant enough to support. When I have the list complete, I'll post it here, ok?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Layout Editor

Postby CrazyEddie » Thu Aug 05, 2004 17:53

Hi,

Cool :)

Yep, posting your list here will be okay.

Looking forward to this :)

CE.

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Layout Editor

Postby spannerman » Thu Aug 05, 2004 18:18

A GUI Editor would be a big bonus :) Good luck, ScriptKid

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:

Layout Editor

Postby scriptkid » Fri Aug 06, 2004 07:54

A GUI Editor would be a big bonus :) Good luck, ScriptKid


Thanks :-) I'll do my best.

Now the compile problems are solved, I'm stuck into some linker problems. That's just the whole mix of MFC, boost, ogre, but....

After I shutdown my system last night, I though hey: why not just use the DX9 GUI renderer. The only thing I'd use Ogre for would be the resize boxes and the backgrounds, but that should be do-able with the GDI too.

I'll keep you updated on my progress...

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Layout Editor

Postby CrazyEddie » Fri Aug 06, 2004 08:25

Using the DX9 GUI renderer sounds reasonable, the resulting GUI should come out looking exactly the same whichever renderer is finally used, therefore it's a good idea to use whichever renderer makes life easiest for the layout editor.

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:

Layout Editor

Postby scriptkid » Fri Aug 06, 2004 10:03

Indeed, especcially since I already used Ogre's DX9 Render System / Window , because it's easiest to render inside an MFC view!

However users will of course be able to load the layouts in an Ogre environment.

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:

Layout Editor

Postby scriptkid » Mon Aug 09, 2004 20:55

Hi,

Eddie, the login issue was a cookie problem i guess. So here i am, still at home :-)

Below is a screenshot of my attempt to port my existing Ogre overlay editor to a CE gui layout editor:

Image

The technical issues are solved, so i can now spend my time on porting :-)

SK.

User avatar
Spoke
Quite a regular
Quite a regular
Posts: 48
Joined: Wed Jan 12, 2005 12:06
Location: Spain
Contact:

Layout Editor

Postby Spoke » Tue Aug 10, 2004 00:28

Wow.

I can tell you this is going to the THE TOOL, hehe good work man. :wink:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Layout Editor

Postby CrazyEddie » Tue Aug 10, 2004 08:06

Yes, this is looking excellent :)

I know that everybody is going to find this really useful, since laying out this stuff by hand is no fun at all.

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:

Layout Editor

Postby scriptkid » Tue Aug 10, 2004 12:14

Hi,

thanks for the positive reactions :-)

This certainly motivates me to finish this.

User avatar
saetrum
Quite a regular
Quite a regular
Posts: 55
Joined: Wed Jan 12, 2005 12:06
Location: Albuquerque, NM USA

Layout Editor

Postby saetrum » Tue Aug 10, 2004 13:07

8O 8)

Scriptkid, it's looking great. This will definately be a very useful tool.
There are 10 types of people in the world: those that understand binary and those that don't.

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:

Layout Editor

Postby scriptkid » Sat Aug 14, 2004 16:41

Hi,

I'm making good progress so I hope to upload a new screenshot soon :-) If you have excel, you can download this file:

http://www.2dgame-tutorial.com/downloads/CELayoutEditor.xls

It shows an overview of all CE system's properties and whether i will support them and/or when i will support them. This "living" doc will be re-uploaded now and then, which i will mention in this thread probably.

The number of green items seems a bit small, but i want to start with a basic implementation, therefore i have chosen the most important properties to begin with. Besides, i don't know enough about the system at the moment to 'weigh' each property. For example i don't know yet what the 'static' window and its derived classes are exactly for. I need to research those...

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:

Layout Editor

Postby scriptkid » Sun Aug 15, 2004 09:53

Thanks :-)

So I probably could use a StaticImage class to show backgrounds with? E.g. an in-game screenshot, so the users can see how their layouts will look in-game. I think i will, because i just notice that the 'dbgoverlay' also does that for the Ogre logo and such :-)

Something more about 'the list'. I think that supporting certain 'colour' values can add quite alot to usability too, but i'm on holidays from the end of august, and i'd like to put some usable binaries somewhere before i drive off ;-)

So after that there will be more green properties :-)

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:

Layout Editor

Postby scriptkid » Wed Aug 18, 2004 07:04

Last night i ported the ability to add new windows to a layout. I also filter the window names on not being "__auto_" which really cleans up the browse tree :-)

I'm going to add saving this week and then i'll test it to make it stable enough to post it somewhere before i go on holidays.

Some limitations of the first version:
-only one layout open at the same time
-only support basic properties, such as size, position and some booleans.

But it will contain (most likely):
-Multiple resolutions
-Setting a background

I'll let you know when i have a package to download :-)


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests