Search found 16 matches

by Viper
Tue Oct 24, 2006 02:51
Forum: Help
Topic: Game crashing while using CEGUI
Replies: 2
Views: 3128

Never mind, got it. (How stupid can I be? -- I've said that here before.) Something about asking for help causes me to find the problem. I just changed it to: CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton(); This is what I have everywhere else in my code, but I forgot t...
by Viper
Tue Oct 24, 2006 02:46
Forum: Help
Topic: Game crashing while using CEGUI
Replies: 2
Views: 3128

Game crashing while using CEGUI

Okay, I'm back to working on the same old game again. I now have the problem that I have a screen with a MultiColumnList that lists the servers that a client can join. The user is supposed to select one and then click join. Here is my handler for the Join button clicked event GUIHandler(JoinClic...
by Viper
Wed Dec 14, 2005 20:53
Forum: Modifications / Integrations / Customisations
Topic: Quick Question Concerning Input Injections
Replies: 2
Views: 2748

Re: Quick Question Concerning Input Injections

Then is this perhaps something that is better done within the Windows message pump? After all, to do the message pump correctly, you need to use TranslateMessage to convert any KeyDown/KeyUp pairs into KeyPressed as an ASCII value. Also, if KeyDown/KeyUp doesn't really work, then what exactly is the...
by Viper
Sun Dec 11, 2005 21:31
Forum: Modifications / Integrations / Customisations
Topic: Quick Question Concerning Input Injections
Replies: 2
Views: 2748

Quick Question Concerning Input Injections

Just a quick question concerning input injections. Does CEGUI convert a KeyDown and a KeyPressed into a Char or do I have to do this on my own? I'm just wondering because I'm trying to convert DX codes to CEGUI codes, and InjectKeyDown/InjectKeyUp don't work, but InjectChar does and I want to make s...
by Viper
Thu Dec 08, 2005 21:32
Forum: Skins and Themes
Topic: TestaSkin, a new tool on the road
Replies: 43
Views: 45101

Re: TestaSkin, a new tool on the road

Martignasse, I had taken some time away from working on my game using CEGUI, but I'm back now. This is an excellent program, and extremely useful. Keep up the excellent work. I did notice that the selection of the skin did not seem to work correctly. When I selected, it used the one above the one th...
by Viper
Thu Dec 08, 2005 21:14
Forum: Modifications / Integrations / Customisations
Topic: Problem in debug version, but not release
Replies: 12
Views: 13056

Re: Problem in debug version, but not release

Okay, the problem may not have been with CEGUI. It is now fixed, but I can't explain exactly what I did. I had messed around with some libraries being included and changed some of the pre-compilation defines, and it now works.

Thanks, lindquist, for all of your help. It is appreciated.
by Viper
Thu Dec 08, 2005 20:20
Forum: Modifications / Integrations / Customisations
Topic: Problem in debug version, but not release
Replies: 12
Views: 13056

Re: Problem in debug version, but not release

Okay, I updated to 0.4.1, but the problem is still there. Also, by backtrace, do you mean the call stack? Before updating to 0.4.1, I remember CEGUI stuff being listed in the call stack, but not after updating, which was odd. After the update, the last thing in my call stack was my own code. Here is...
by Viper
Thu Dec 08, 2005 05:25
Forum: Modifications / Integrations / Customisations
Topic: Problem in debug version, but not release
Replies: 12
Views: 13056

Re: Problem in debug version, but not release

I will try upgrading and see if it helps. I hadn't wanted to as I was afraid that something might break, but since it's broke already :)
by Viper
Thu Dec 08, 2005 03:46
Forum: Modifications / Integrations / Customisations
Topic: Problem in debug version, but not release
Replies: 12
Views: 13056

Problem in debug version, but not release

Okay, I just switched to VS 2005 Express, and now I am having a problem with the following code: void SetupMainMenu() { CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton(); wmgr.destroyAllWindows(); CEGUI::Window* myRoot = wmgr.createWindow("De...
by Viper
Thu Dec 08, 2005 03:25
Forum: Modifications / Integrations / Customisations
Topic: Problem of event passing!
Replies: 6
Views: 4348

Re: Problem of event passing!

olivierwpz,

If you haven't yet found a solution to your problem, then i would try unsubscribing to the event for the button that you do not want to get activated. Then, when you handle the event, unsubscribe the current button and subscribe the other.

Hope this helps.
by Viper
Thu Sep 01, 2005 02:57
Forum: Modifications / Integrations / Customisations
Topic: mouse cursonr won't display
Replies: 4
Views: 3829

Re: mouse cursonr won't display

In my game, I track the absolute position of the mouse cursor and inject that and it works fine. You may want to try: void MyOwnFrameListener::mouseMoved(Ogre::MouseEvent *e) { CEGUI::System::getSingleton().injectMousePosition(XPos,YPos); } I am not very familiar wi...
by Viper
Mon Aug 29, 2005 22:36
Forum: Modifications / Integrations / Customisations
Topic: Problem with a slider
Replies: 5
Views: 4034

Re: Problem with a slider

Never mind. How stupid can I be? Changed it to: <?xml version="1.0" ?> <GUILayout> <Window Type="DefaultWindow" Name="MainMenu"> <Window Type="TaharezLook/FrameWindow" Name="TopLevel"> <Property Name="AbsoluteRect" Value="l:292.000000 ...
by Viper
Mon Aug 29, 2005 21:43
Forum: Modifications / Integrations / Customisations
Topic: Problem with a slider
Replies: 5
Views: 4034

Re: Problem with a slider

Okay, here it is: <?xml version="1.0" ?> <GUILayout> <Window Type="DefaultWindow" Name="MainMenu"> <Window Type="TaharezLook/FrameWindow" Name="TopLevel"> <Property Name="AbsoluteRect" Value="l:223.000000 t:67.000000 r:456.000000 b:382...
by Viper
Mon Aug 29, 2005 03:45
Forum: Modifications / Integrations / Customisations
Topic: Problem with a slider
Replies: 5
Views: 4034

Problem with a slider

I am trying to create a slider, but when I execute the program, I get the following exception: Unhandled exception at 0x42c80000 in SpaceRaceD.exe: 0xC0000005: Access violation reading location 0x42c80000. It always happens on this line of code: Slider->setMaxValue(100.0); Here is a more com...
by Viper
Mon Aug 29, 2005 01:53
Forum: Modifications / Integrations / Customisations
Topic: need help Handling CEGUI events
Replies: 7
Views: 5041

Re: need help Handling CEGUI events

Okay, found my problem. I was making the event subscription way too complicated. I changed: wmgr.getWindow("btnSingle")->subscribeEvent(CEGUI::ButtonBase::EventNamespace+"/"+CEGUI::ButtonBase::EventMouseEnters,CEGUI::Event::Subscriber(EventMouseOver)); to ...

Go to advanced search