CEGUI for ui and ogre as engine

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

Moderators: CEGUI MVP, CEGUI Team

chybin
Just popping in
Just popping in
Posts: 8
Joined: Fri Jun 02, 2006 10:20
Contact:

CEGUI for ui and ogre as engine

Postby chybin » Tue Jun 13, 2006 10:28

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.

User avatar
Dalfy
CEGUI Team (Retired)
Posts: 130
Joined: Tue Oct 11, 2005 16:13
Location: Paris, FRANCE
Contact:

Postby Dalfy » Tue Jun 13, 2006 12:10

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.

chybin
Just popping in
Just popping in
Posts: 8
Joined: Fri Jun 02, 2006 10:20
Contact:

own style cegui

Postby chybin » Wed Jun 14, 2006 01:32

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

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Wed Jun 14, 2006 03:30

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.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests