Page 1 of 1

CEGUI for ui and ogre as engine

Posted: Tue Jun 13, 2006 10:28
by chybin
Hello,everybody
Is somebody using cegui designing UI of game ?And OGRE as engine.

Who can supply me a demo with source code using cegui as UI and ogre as engine?

Thanks a million.

Posted: Tue Jun 13, 2006 12:10
by Dalfy
there is a lot of example in the OGRE wiki and the GUI sample in OGRE. CEGUI is the default GUI toolkit provided with OGRE. There is also a tutorial on the wiki of CEGUI.

own style cegui

Posted: Wed Jun 14, 2006 01:32
by chybin
Dalfy wrote:there is a lot of example in the OGRE wiki and the GUI sample in OGRE. CEGUI is the default GUI toolkit provided with OGRE. There is also a tutorial on the wiki of CEGUI.


I see,but all the samples are very simple and the same style. I want to know how to design own style of ui using cegui in ogre engine 8)

My MSN is makiven@hotmail.com

Posted: Wed Jun 14, 2006 03:30
by Rackle
Cegui provides code to easily create a user interface with modern widgets such as buttons that users can click (hotkeys, toolbar), Editbox to accept user input (text and numbers), etc.

Download the CELayoutEditor. Create a new layout via File > New. Click on the "Add window", select "TaharezLook/Button" and then "Ok". Click on the "Add window" button again but this time change the "Available window looks" to "WindowsLook" and then select "WindowsLook/Button" and then "Ok". That gives you two buttons that users can click and your code can react to. These two buttons grant your program the same functionality but look different.

In order to create your own look, your own interface style, you'd have to create your own imageset/looknfeel components. Go to the main site an take a look at the tutorials, especially the "Skins - Tutorial For Artists" and the "Falagard" Skinning System Documentation. I have to tackle this step next so I'll write posts asking questions, clarifications, and maybe some new wiki articles.