Two quick questions
Firstly, no matter what i do, i cannot seem to have any gui elements after i've loaded an irr scene. i would like to have some buttons overlaying the irr scene, but they just dont show when i run the scene.
Secondly, After i used Fadein();, my GUI elements (buttons etc) appear frozen.. any ideas?
thansk guys!
Gui Questions
-
- Posts: 22
- Joined: Thu Aug 23, 2007 12:39 pm
Ok i fixed the first problem, the gui was drawn too early. i put guienv->draw after smgr-> draw and it was fine.
FadeIn is part of the gui. i dunno why it freezes the gui, but the even reciver works fine before i call fadeIn.
Also, when i do:
smgr->getActiveCamera()->setInputReceiverEnabled(false);
and then:
smgr->getActiveCamera()->setInputReceiverEnabled(true);
my app crashes.. any ideas why?
thanks all.
FadeIn is part of the gui. i dunno why it freezes the gui, but the even reciver works fine before i call fadeIn.
Also, when i do:
smgr->getActiveCamera()->setInputReceiverEnabled(false);
and then:
smgr->getActiveCamera()->setInputReceiverEnabled(true);
my app crashes.. any ideas why?
thanks all.