drawing text in demo keep lost.why?
Posted: Fri Aug 12, 2005 10:02 am
hi forum,
hemmmmm....i'd try to find this problem for 6 hours, but i don't get the answer.
the problem is very-very simple. i just want to make a drawing text like in turtorial 6.
i write this code in demo main program
first, it work.it show the text in createLoadingScreen. but after loading screen, the text is lost.
i'd try to disable backColor.set(255,90,90,156), but nothing is happen.
the text still lost. it seems that some thing was erase the text when the void change from createLoadingScreen() to loadSceneData().
maybe you have the same problem like me.
thanks in advance.
regards,
ijo coim
hemmmmm....i'd try to find this problem for 6 hours, but i don't get the answer.
the problem is very-very simple. i just want to make a drawing text like in turtorial 6.
Code: Select all
if (keterangan)
{swprintf ( tmp_min, 100, L"AKTIFa");
keterangan->draw(tmp_min,core::rect<s32>(200,10,300,30),video::SColor(255,148,255,0));}
Code: Select all
while(device->run() && driver)
{
if(device->isWindowActive())
...
}
i'd try to disable backColor.set(255,90,90,156), but nothing is happen.
the text still lost. it seems that some thing was erase the text when the void change from createLoadingScreen() to loadSceneData().
maybe you have the same problem like me.
thanks in advance.
regards,
ijo coim