Search found 9 matches
- Wed Nov 16, 2005 18:48
- Forum: Modifications / Integrations / Customisations
- Topic: Problems with DLL (Vector2) over VC7.1 using Ogre;
- Replies: 6
- Views: 3972
Re: Problems with DLL (Vector2) over VC7.1 using Ogre;
If you're sure you linked against the correct lib, make sure the correct DLL is being loaded when the app launches. You can do by checking the date. If you build 0.4.0 yourself it will be whatever date/time you built it. The CEGUIBase_d.dll that ships with the OgreSDK is dated 9/25/2005, if its that...
- Wed Nov 09, 2005 21:22
- Forum: Modifications / Integrations / Customisations
- Topic: Problems with DLL (Vector2) over VC7.1 using Ogre;
- Replies: 6
- Views: 3972
Re: Problems with DLL (Vector2) over VC7.1 using Ogre;
I had this same bug and it took me 3 days to find. The problem is the input library (the .lib the compiler generates when it builds a DLL that exports symbols), if the version your target application is linking to is not the exact lib built with the DLL that is loaded at run time you get the error d...
- Tue Sep 13, 2005 17:21
- Forum: Modifications / Integrations / Customisations
- Topic: how to change the focus between EditBoxs
- Replies: 1
- Views: 1519
Re: how to change the focus between EditBoxs
I'm not sure if CEGUI directly supports tabbing between input fields, but if it doesn't here is what I would recommend: Keep a circular queue of every edit box in the active window. Call one of your edit boxes 1, and place him at the front of the queue. When the user presses TAB move 1 to the back o...
- Wed Aug 03, 2005 13:53
- Forum: Modifications / Integrations / Customisations
- Topic: Clearing windows
- Replies: 6
- Views: 4063
Re: Clearing windows
Beware of destroying windows that currently have an event firing. It will crash your program, and its a pain to track down.
- Wed Jul 13, 2005 13:36
- Forum: Modifications / Integrations / Customisations
- Topic: disabling the GUI sheet
- Replies: 4
- Views: 2946
Re: disabling the GUI sheet
Wrap all of the widgets in that sheet in a default window and then hide the window when you want it to go away and show it when you want it back. This is how I do in game system menus and also how I add things to the dead pool. There is probably a better way, and I'd like to know what it is as well.
- Mon Jun 27, 2005 03:22
- Forum: Modifications / Integrations / Customisations
- Topic: Combo box not dropping
- Replies: 5
- Views: 4498
Re: Combo box not dropping
Hope this helps void SkirmishMenuHandler::SetupHandlers() { //load the available databases /* CEGUI::Combobox* win = (CEGUI::Combobox*)CEGUI::WindowManager::getSingleton().getWindow("FleetDesigner/FleetDropDown"); std::list<std::string> fleets = BlueEng...
- Mon May 02, 2005 12:10
- Forum: Modifications / Integrations / Customisations
- Topic: Combo box not dropping
- Replies: 5
- Views: 4498
Re: Combo box not dropping
I found the problem. I forgot to tell Ogre to pass the clicked event for this widget to CEGUI. However now I get a new problem. Does a combobox not support the EventMouseEnters and EventMouseLeaves events? Because these subscriptions are not firing. mEventSubscriptions.push_back( wMgr.getWindow&...
- Sun May 01, 2005 17:43
- Forum: Modifications / Integrations / Customisations
- Topic: Combo box not dropping
- Replies: 5
- Views: 4498
Combo box not dropping
When I display a combo box which I have loaded with strings (code below) the combo box doesn't "drop". I used the Ogre GUI demo as the basis for this. Has anyone ever run into this problem before? CEGUI::Combobox* win = (CEGUI::Combobox*)CEGUI::WindowManager::getSingleton()...
- Mon Mar 21, 2005 14:48
- Forum: Modifications / Integrations / Customisations
- Topic: PushButton not subscribing
- Replies: 6
- Views: 4067
PushButton not subscribing
I'm trying to put a button on the gui to start an ogre animation. The MouseEnters and Leaves events register and firing correctly, but the button push does not. Below is the code, any help would be greatly appreciated. CEGUI::Window* sheet = CEGUI::WindowManager::getSingleton().loadWindowLay...