Starting with CEGUI
Moderators: CEGUI MVP, CEGUI Team
Starting with CEGUI
Hi I need some help to start with cegui. I am using it with ogre. I only have two examples. I would like to undertand it but I dont know how, for me the API is not enought I need more examples. Could you email me more?
- martignasse
- Just can't stay away
- Posts: 227
- Joined: Thu Apr 14, 2005 08:10
- Location: Lyon, FRANCE
Re: Starting with CEGUI
hi,
If it's not one of you'r two example, you should look at Beginner Tutorial 6: CEGUI from the ogre wiki.
Hope it help.
If it's not one of you'r two example, you should look at Beginner Tutorial 6: CEGUI from the ogre wiki.
Hope it help.
Re: Starting with CEGUI
my two examplos are which came with ogre and the wiki example.
I believe the example must have more explanations for newbee people. PLease email me your examples!!!
I believe the example must have more explanations for newbee people. PLease email me your examples!!!
- martignasse
- Just can't stay away
- Posts: 227
- Joined: Thu Apr 14, 2005 08:10
- Location: Lyon, FRANCE
Re: Starting with CEGUI
unfortunatly, i haven't example for you.
be warned, CEGUI and ogre aren't trivial software, and if you can't deal with example in the wiki, it's maybe just because you haven't enough knowledge.
be warned, CEGUI and ogre aren't trivial software, and if you can't deal with example in the wiki, it's maybe just because you haven't enough knowledge.
Re: Starting with CEGUI
Yeah, I dont have knowledge because I have just start with CEGUI
In the code from de demo_gui from ogre appear :
The philosophy is that I create one window pointer where is possible paint cegui element. then I believe that we want obtain the window with the name OgreGuiDemo/TabCtrl/Page1/QuitButton I dont know what is that and why that hierachy relation is.
Maybe that question is stupid but it is hard to me do the correct question in other lenguaje
In the code from de demo_gui from ogre appear :
Code: Select all
CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton();
wmgr.getWindow((CEGUI::utf8*)"OgreGuiDemo/TabCtrl/Page1/QuitButton")
->subscribeEvent(
CEGUI::PushButton::EventClicked,
CEGUI::Event::Subscriber(&GuiApplication::handleQuit, this));
The philosophy is that I create one window pointer where is possible paint cegui element. then I believe that we want obtain the window with the name OgreGuiDemo/TabCtrl/Page1/QuitButton I dont know what is that and why that hierachy relation is.
Maybe that question is stupid but it is hard to me do the correct question in other lenguaje
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: Starting with CEGUI
the getWindow method of WindowManager just returns a window that has already been created. Either through XML layouts or just from C++ code.
The naming "Some/Window/With/Slased/Name" is just a name. The slashes are'nt used for anything internally, but are often used to clarify relationship between windows.
The naming "Some/Window/With/Slased/Name" is just a name. The slashes are'nt used for anything internally, but are often used to clarify relationship between windows.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 7 guests