Search found 21 matches
- Sat Jun 26, 2010 08:33
- Forum: Help
- Topic: Menu System
- Replies: 8
- Views: 8783
Re: Menu System
Hi! I tried this. The code compiles fine. But Application Window opens and closes in a sudden. Then a window opens showing the error "Data Execution Prevention". The Error details has: Problem signature: Problem Event Name: BEX Application Name: CricCEGUI.exe Application Version: 0.0.0.0 A...
- Fri Jun 25, 2010 10:50
- Forum: Help
- Topic: Menu System
- Replies: 8
- Views: 8783
Re: Menu System
Hi! I've tried injecting Events also. Here is the code: #include "irrlicht.h" #include "CEGUI.h" #include "CEGUIIrrlichtRenderer.h" #include "CEGUIWindowManager.h" #include "CEGUIDefaultResourceProvider.h" #include "CEGUIButtonBase.h" using...
- Fri Jun 25, 2010 07:01
- Forum: Help
- Topic: Menu System
- Replies: 8
- Views: 8783
Re: Menu System
Hi! Sorry! I've done a mistake. I missed the "EventArgs e" parameter in all the four Handlers. The code compiles fine. The problem is: (i)When I run, Initial Window opens with four Buttons.But When I click the buttons nothing happens. Atleast when I click the "Play Button" new wi...
- Wed Jun 23, 2010 09:16
- Forum: Help
- Topic: Menu System
- Replies: 8
- Views: 8783
Menu System
Hi! I've to prepare a menu. In which I've to load four buttons in the initial page. If I click one button(e.g. Play button) the menu has to load with two image holders and two buttons(back and next buttons). If I click the back button, I should be able to go to the initial page. Similarly next butto...
- Tue Jun 22, 2010 14:25
- Forum: Help
- Topic: Menu System
- Replies: 1
- Views: 1621
Menu System
Hi! I've to prepare a menu. In which I've to load four buttons in the initial page. If I click one button(e.g. Play button) the menu has to load with two image holders and two buttons(back and next buttons). If I click the back button, I should be able to go to the initial page. Similarly next butto...
- Thu Jun 17, 2010 14:54
- Forum: Help
- Topic: Application Crash
- Replies: 2
- Views: 1951
Application Crash
Hi! This is my first Program in CEGUI. My application crashes both in debug and release modes.Here is the code: #include "irrlicht.h" #include "CEGUI.h" #include "CEGUIIrrlichtRenderer.h" #include "CEGUIWindowManager.h" using namespace CEGUI; using namespace i...
- Wed Jun 16, 2010 13:56
- Forum: Help
- Topic: Can't create Irrlicht Renderer
- Replies: 2
- Views: 2292
Can't create Irrlicht Renderer
Hi! I've compiled CEGUI with Irrlicht Engine. My first project shows the following error. main.cpp(18) : error C2664: 'CEGUI::IrrlichtRenderer::IrrlichtRenderer(irr::IrrlichtDevice &)' : cannot convert parameter 1 from 'irr::IrrlichtDevice *' to 'irr::IrrlichtDevice &' #include "irrlich...
- Tue Sep 16, 2008 11:40
- Forum: Help
- Topic: Problem loading Scheme File.
- Replies: 10
- Views: 5613
Hi! I've resolved the exceptions. But the Popup Menu is not shown up when I press 'F1' Key. There is no message in the log file also. I've posted the same code (corrected according to ur suggestions). Sorry to disturb u again and again. But I don't know what modification I've to make to display the ...
- Tue Sep 16, 2008 05:03
- Forum: Help
- Topic: Problem loading Scheme File.
- Replies: 10
- Views: 5613
Hi! menu2 is a local variable only. Stack trace shows this: CEGUI::MenuBase = {d_itemSpacing=??? d_popupItem=??? d_allowMultiplePopups=??? } Onemore thing I forget to tell. In the Console Window, a warning is displayed: CEGUI::WindowFactoryManager::getFactory - A WindowFactory object, an alias, or m...
- Mon Sep 15, 2008 12:30
- Forum: Help
- Topic: Problem loading Scheme File.
- Replies: 10
- Views: 5613
I set Breakpoint near this line:
When I execute using F10 I can't continue beyond this line:
Exception occurs at the above line. What to do?
Code: Select all
case osgGA::GUIEventAdapter::KEY_F1:
When I execute using F10 I can't continue beyond this line:
Code: Select all
if(!menu2->isVisible())
Exception occurs at the above line. What to do?
- Mon Sep 15, 2008 11:13
- Forum: Help
- Topic: Problem loading Scheme File.
- Replies: 10
- Views: 5613
- Fri Sep 12, 2008 06:11
- Forum: Help
- Topic: Problem loading Scheme File.
- Replies: 10
- Views: 5613
- Thu Sep 11, 2008 10:08
- Forum: Help
- Topic: Problem loading Scheme File.
- Replies: 10
- Views: 5613
Problem loading Scheme File.
Hi! I've already posted a question on Popup Menu. This is also related to that question only. The menu is loading in the GUI Window perfectly. But I want another menu to be displayed if the user presses F1 when animation is playing. GUI code and Animation code is in the same project as separate file...
- Wed Sep 10, 2008 10:04
- Forum: Help
- Topic: Popup Menu
- Replies: 2
- Views: 2161
- Tue Sep 09, 2008 09:33
- Forum: Help
- Topic: Popup Menu
- Replies: 2
- Views: 2161
Popup Menu
Hi! I've used the following code to create a Popup Menu when 'F1' Key is pressed. bool KeyPressed(const dtCore::Keyboard* keyboard, int key) { switch( key ) { case osgGA::GUIEventAdapter::KEY_F1: { try { menu1 = static_cast<CEGUI::PopupMenu*>(wm->createWindow ...