Hello
A day I found a topic where messages output are drawn on a gui element. I don't remember how I have done to find it.
On this topic a man presents his code which allows to show the debug. I want to study that.
Could you help me to find this topic ?
Console debug on gui element
maybe this can help you:
http://irrlicht.sourceforge.net/phpBB2/ ... ght=logger
http://irrlicht.sourceforge.net/phpBB2/ ... ght=logger
You could do something like he's doing: making an eventreceiver, make it capture the log events and write them to a gui object:
I'm not good at the irrlicht gui, but i'm sure you can figure it out!
Good luck!
Code: Select all
class MyEventReceiver : public IEventReceiver
{
public:
virtual bool OnEvent(SEvent event)
{
if (event.EventType == irr::EET_LOG_TEXT_EVENT)
{
?? = event.LogEvent.Text //put this text where you want it
};
return false;
}
};
Good luck!