Search found 6 matches
- Tue Jun 08, 2010 10:52
- Forum: Help
- Topic: Destroying windows properly
- Replies: 2
- Views: 1699
Re: Destroying windows properly
Hello, After some more research I found out that before calling the 'winMgr.destroyWindow(_window);', every events must be removed from the child objects by calling: childbutton->RemoveAllEvents(); When I do this the memory leak detector doesn't complain anymore! :D If this is true, then it is not e...
- Tue Jun 08, 2010 10:29
- Forum: Help
- Topic: Destroying windows properly
- Replies: 2
- Views: 1699
Destroying windows properly
Hello, I know this issue has already been disccussed in these forums and the as far as I understood the proper way to destroy a window and all their children is to call: CEGUI::WindowManager& winMgr = CEGUI::WindowManager::getSingleton(); winMgr.destroyWindow(_window); However, I have some doubt...
- Fri Jan 29, 2010 14:41
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED] How to embed an Ogre viewport into a CEGUI::Window
- Replies: 2
- Views: 3731
Re: How to embed an Ogre viewport into a CEGUI::Window
Yes, that's it. The approach is that one. and it all explained in Basic Tutorial 7 of Ogre Wiki page.
Anyone who as the same problem, just follow the tutorial.
Thank you for your help.
Anyone who as the same problem, just follow the tutorial.
Thank you for your help.
- Fri Jan 29, 2010 10:44
- Forum: Modifications / Integrations / Customisations
- Topic: [SOLVED] How to embed an Ogre viewport into a CEGUI::Window
- Replies: 2
- Views: 3731
[SOLVED] How to embed an Ogre viewport into a CEGUI::Window
Hello, I would like to display an Ogre viewport inside a CEGUI dialog box. Is there any CEGUI window type that is oriented for this purpose? I think this may be an usual thing to do (with Ogre or any other graphics engine) but I didn't find any topics on this. If there is can you point out to those?...
- Wed Jan 06, 2010 15:59
- Forum: Help
- Topic: [SOLVED] Detection of ListBox items
- Replies: 2
- Views: 1367
Re: [SOLVED] Detection of ListBox items
Yes, that's it! I only had to call handleUpdatedItemData() after changing the colours.
Thank you.
PS: I'm using 0.7.1 version.
Thank you.
PS: I'm using 0.7.1 version.
- Wed Jan 06, 2010 14:34
- Forum: Help
- Topic: [SOLVED] Detection of ListBox items
- Replies: 2
- Views: 1367
[SOLVED] Detection of ListBox items
Hello, I want to have a list box that changes the colour of each item when the mouse cursor crosses it. This will be the detection colour for the item. The if the left button is clicked, the item changes from the detection colour to a selection colour. I've written the following code but it doesn't ...