i have simply gui application with a lot of buttons, tabs, static text and one image in background.
When I add inFader before creating gui elements, it works and looks great.
When I add inFader after creating gui elements , it works also and even looks better, but... the application does not work. The buttons and tabs are dead.
I want to use that fader between switching tabs, so i need to set it after creating gui.
the code of my fader is:
Code: Select all
gui::IGUIInOutFader* fader = device->getGUIEnvironment()->addInOutFader();
fader->setColor(video::SColor(0,0,0,255));
fader->fadeIn(1000);