Starting with CEGUI

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
pabloa
Not too shy to talk
Not too shy to talk
Posts: 37
Joined: Mon Oct 03, 2005 09:52

Starting with CEGUI

Postby pabloa » Tue Oct 18, 2005 08:48

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?

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Re: Starting with CEGUI

Postby martignasse » Tue Oct 18, 2005 18:48

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.

User avatar
pabloa
Not too shy to talk
Not too shy to talk
Posts: 37
Joined: Mon Oct 03, 2005 09:52

Re: Starting with CEGUI

Postby pabloa » Wed Oct 19, 2005 09:25

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!!!

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Re: Starting with CEGUI

Postby martignasse » Wed Oct 19, 2005 18:50

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.

User avatar
pabloa
Not too shy to talk
Not too shy to talk
Posts: 37
Joined: Mon Oct 03, 2005 09:52

Re: Starting with CEGUI

Postby pabloa » Thu Oct 20, 2005 09:43

Yeah, I dont have knowledge because I have just start with CEGUI :D

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 :oops:

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Starting with CEGUI

Postby lindquist » Thu Oct 20, 2005 16:57

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.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 15 guests