I've started using OGRE for about a month now, and I've reached the point where I want to start learning to use CEGUI. The problem is, there aren't any tutorials (that I know of), and although the GUI demo works and I can view the source code, it doesn't work when I try and reuse the code to set up my scene.
What I'm wondering is if anybody can help me get started by posting some generic code that can display a window with a button on it (or something similar). I looked through the forum in the help section, but I guess everybody but me has mastered the art of creating windows with buttons and other things.
Thanks in advance, I'm sure this information would help other CEGUI beginners like me. ^_^
CEGUI Noobie question
Moderators: CEGUI MVP, CEGUI Team
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: CEGUI Noobie question
Hi.
I wrote another post some time ago with some simple example code.
Maybe you'll find it useful:
simple example code
I wrote another post some time ago with some simple example code.
Maybe you'll find it useful:
simple example code
- kungfoomasta
- Not too shy to talk
- Posts: 34
- Joined: Wed Apr 06, 2005 08:25
Re: CEGUI Noobie question
Thanks lindquist! You really saved me there. Anybody else who needs help getting started should look at that other post.
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: CEGUI Noobie question
np, I'm glad you found it useful.
I'm not sure the guy who asked the question actually ever read my post!
I'm not sure the guy who asked the question actually ever read my post!
Re: CEGUI Noobie question
Hi kungfoomasta
Thanks to your questions some of us could start programming with CEGUI
But... i'm tryint to integrate with OGRE and I've some problems.
Could you send us your TEST CODE with OGRE and CEGUI integrated?????
It could be usefull for all (dummies ) of us
THANK YOU!
Regards,
JD
Thanks to your questions some of us could start programming with CEGUI
But... i'm tryint to integrate with OGRE and I've some problems.
Could you send us your TEST CODE with OGRE and CEGUI integrated?????
It could be usefull for all (dummies ) of us
THANK YOU!
Regards,
JD
- kungfoomasta
- Not too shy to talk
- Posts: 34
- Joined: Wed Apr 06, 2005 08:25
Re: CEGUI Noobie question
I can tell you what I did to make it work (if I remember everything well). I'm using the Ogre Source 1.0.0 package and running on .NET 2003 (7.1). I downloaded the stable release of the source for CEGUI (cegui_mk2-0.2.0.zip) and installed it to my C:. I compiled the .NET project file
C:\cegui_mk2\makefiles\win32\VC++7.1\CEGUI.sln
(I had to do some things to get it to compile them all correctly, but forgot =( ). Then I just copied the
C:\cegui_mk2\Samples\datafiles
folder into my media folder. Then you should be able to use the code lindquist gave, just substitute the
"data/schemes/TaharezLook.scheme" to
"datafiles/schemes/TaharezLook.scheme".
(make sure and do the WindowsLook one also)
Also, I had to delete the (CEGUI::utf8*) in the defineFontGlyphs line.
Hope this helps, that's what I did to get it working on my system. My system layout is no where near organized, though..(I've recently started)
C:\cegui_mk2\makefiles\win32\VC++7.1\CEGUI.sln
(I had to do some things to get it to compile them all correctly, but forgot =( ). Then I just copied the
C:\cegui_mk2\Samples\datafiles
folder into my media folder. Then you should be able to use the code lindquist gave, just substitute the
"data/schemes/TaharezLook.scheme" to
"datafiles/schemes/TaharezLook.scheme".
(make sure and do the WindowsLook one also)
Also, I had to delete the (CEGUI::utf8*) in the defineFontGlyphs line.
Hope this helps, that's what I did to get it working on my system. My system layout is no where near organized, though..(I've recently started)
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 8 guests