Search found 21 matches

by rtr_18
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...
by rtr_18
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...
by rtr_18
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...
by rtr_18
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...
by rtr_18
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...
by rtr_18
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...
by rtr_18
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...
by rtr_18
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 ...
by rtr_18
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...
by rtr_18
Mon Sep 15, 2008 12:30
Forum: Help
Topic: Problem loading Scheme File.
Replies: 10
Views: 5613

I set Breakpoint near this line:

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?
by rtr_18
Mon Sep 15, 2008 11:13
Forum: Help
Topic: Problem loading Scheme File.
Replies: 10
Views: 5613

Here is the listing of What I've done for the Popup to be displayed in the Animation Window also: try { std::string schemeFileName = dtCore::FindFileInPathList("CEGUI/schemes/WindowsLookSkin"); if(!CEGUI::SchemeManager::getSingleton().isSchemePresent("Wind...
by rtr_18
Fri Sep 12, 2008 06:11
Forum: Help
Topic: Problem loading Scheme File.
Replies: 10
Views: 5613

I've used the following code to check the presence of schemeFile and load the file. But I got the same exception. std::string schemeFileName = dtCore::FindFileInPathList("CEGUI/schemes/WindowsLook.scheme"); if(CEGUI::SchemeManager::getSingleton().isSchemePresent(sch...
by rtr_18
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...
by rtr_18
Wed Sep 10, 2008 10:04
Forum: Help
Topic: Popup Menu
Replies: 2
Views: 2161

Thank u. It's working now.
by rtr_18
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 ...

Go to advanced search