Jump to content

GUI system


Ywa
 Share

Recommended Posts

Several people here have integrated CEGUI with Leadwerks.

 

I wrote an article about it some time ago: http://leadwerks.com/werkspace/index.php?/page/resources/_/programming/cpp/leadwerks-and-cegui-r30

 

I do not think it would be a good idea to integrate existing GUI libraries in the engine. People should have the freedom to pick whatever GUI library they want and not be stuck with the one Josh decides to roll in the engine. Leadwerks should just stick to doing what it's great at. Rendering 3D graphics.

 

EDIT: think you mixed up GWEN and CEGUI. CEGUI has an OpenGL renderer included. Judging by GWEN's website, it does not.

 

We don't have renderers for OpenGL, or OGRE yet - would be very interested in those.

Link to comment
Share on other sites

Several people here have integrated CEGUI with Leadwerks.

 

I wrote an article about it some time ago: http://leadwerks.com/werkspace/index.php?/page/resources/_/programming/cpp/leadwerks-and-cegui-r30

It's difficult to use in Delphi. Plus it's also nearly impossible for Lua users.

 

I do not think it would be a good idea to integrate existing GUI libraries in the engine. People should have the freedom to pick whatever GUI library they want and not be stuck with the one Josh decides to roll in the engine.

Yes, however. You could still load your own GUI system in that case.

 

EDIT: think you mixed up GWEN and CEGUI. CEGUI has an OpenGL renderer included. Judging by GWEN's website, it does not.

It does have one. It's not at the website, but the SVN contains one made by the community. :)

Link to comment
Share on other sites

In that case I can see why you would request a GUI system to be built in although I also feel that there is something to be said for picking the right language for the job. This just seems like LE on hard mode :)

 

Anyway, as long as I am not forced to use the LE implementation of whatever GUI library Josh may or may not roll in then I am impartial to the request.

Link to comment
Share on other sites

In that case I can see why you would request a GUI system to be built in although I also feel that there is something to be said for picking the right language for the job. This just seems like LE on hard mode :)

Leadwerks on Delphi works great (thanks to Wchris his header converter). It's just that it takes a lot of time to convert GWEN or CEGUI headers to Delphi and make libraries that work with it.

 

Plus, I really think a mature game engine (although Leadwerks isn't only for game) should have a build in GUI system. Same with all other features.

Link to comment
Share on other sites

I'm in favor of providing a built-in skinnable GUI designed for games. I think we'll get a better result with this than a third party library.

Isn't that what LGui is for in the SDK? yet a build in system doesn't seem bad at all. People don't have to use if they don't want to.

 

I don't see a reason why Lua wouldn't be suited for creating a gui. Old video WIP:

http://www.youtube.com/watch?v=Ai-c0Vyop1w

Link to comment
Share on other sites

Isn't that what LGui is for in the SDK? yet a build in system doesn't seem bad at all. People don't have to use if they don't want to.

 

I don't see a reason why Lua wouldn't be suited for creating a gui.

 

Because it'll be a cold day in hell when I learn LUA :)

 

No, seriously, I think it is much easier if we can just create GUI's in HTML/XML and then load them via some core engine command rather then forcing people to code GUI's in LUA. I feel GUI's should be data-driven and not hardcoded.

 

Besides, you can use all functions in LE right now in any programming language you wish without restriction. I'd hate to see that change.

Link to comment
Share on other sites

Why does it need to be in LUA? I can't see any advantage over having a data-driven HTML/XML format that can be loaded through an engine command, exposed to all languages that can be used with LE.

 

Coding a GUI instead of designing it with highly available WYSIWYG editors is just lunacy.

Link to comment
Share on other sites

I'd prefer an internal engine GUI (scalable whenever is possible, so everyone can however integrate more GUIs like CEGUI or WebKit or whatever they prefer) which doesn't require any other external library. Automatic mantain ratio on resolution switch would be also a great feature (yes I know we can do on our own but would be nice if the GUI system handles it automatically).

?? FRANCESCO CROCETTI ??

http://skaredcreations.com

Link to comment
Share on other sites

The Gui should be written in flowgraphs. Any problems with that? :)

;)

Wha-? How unproductive is that?

Anyhow, XML based would be a good approach in my opinion, with event handlers linking to reflection or DLL calls for native code. Somehow like XAML does it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...