SpaceDude
12-12-2007 17:13:11
This is my first time on this forum so please excuse me if this question has already been asked before. I've been working on a game for about a year now, and at the start of the project I just decided to go with CEGUI without a second thought as it seemed to be the de facto GUI system to use with Ogre. But things have changed since then. One of the main things that I think CEGUI is not good at is using custom skins. So I thought I'd give QuickGUI a try. But I don't want to dive in head first and completely remove CEGUI from my game and replace it with QuickGUI. Because that would take too long and I'm not yet sure that QuickGUI fulfils all my requirements yet.
So my question is: Is it possible to use CEGUI and QuickGUI simultaneously in the same application?
To start with I have just added a main menu intro screen to the game, and I'd like to place some buttons on top of it (the buttons should be textures). All I need it to do is to switch between two textures depending on whether the mouse is hovering of the button or not. And obviously have some way of firing off an event when the mouse button is clicked.
Is there any chance of using QuickGUI to do this without stripping out all the CEGUI code? I can only think of one potential issue relating to the cursor position. If QuickGUI and CEGUI each keep track of the cursor position independently then I guess I'm in trouble. Has anybody tried this before?
So my question is: Is it possible to use CEGUI and QuickGUI simultaneously in the same application?
To start with I have just added a main menu intro screen to the game, and I'd like to place some buttons on top of it (the buttons should be textures). All I need it to do is to switch between two textures depending on whether the mouse is hovering of the button or not. And obviously have some way of firing off an event when the mouse button is clicked.
Is there any chance of using QuickGUI to do this without stripping out all the CEGUI code? I can only think of one potential issue relating to the cursor position. If QuickGUI and CEGUI each keep track of the cursor position independently then I guess I'm in trouble. Has anybody tried this before?