Displaying A Number with the GUI

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mR.haHN
Posts: 49
Joined: Wed May 03, 2006 5:37 pm

Displaying A Number with the GUI

Post by mR.haHN »

Hi,
Again, I searched the API ref and I didnt find what I was looking for - how do I display an integer number with the GUI ?
Cleves
Posts: 224
Joined: Mon Sep 08, 2003 6:40 pm

Post by Cleves »

You can turn it into a string, and then using c_str() function display it as static text :D

Code: Select all


stringw temp;
temp+=5;
setText(temp.c_str())

Post Reply