Numbers in the Status Bar

Started by
1 comment, last by TheBlackJester 21 years, 1 month ago
Hey. I''m coding up the status bar for my editor and I''m running into a problem. I have no trouble setting parts and inserting text, but I can''t seem to figure out how to insert numbers. I would like to display the cursor position and the FPS in the status bar. Thank you.

"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I''m reaching up and reaching out. I''m reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one''s been. We''ll ride the spiral to the end and may just go where no one''s been." - Maynard James Keenan Name: TheBlackJester Team: Wildfire Games
Projects O A.D. The Last Alliance

"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I'm reaching up and reaching out. I'm reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been." - Maynard James Keenan Name: [email=darkswordtbj@hotmail.com]TheBlackJester[/email]Team: Wildfire Games
Projects O A.D.The Last Alliance

Advertisement
What exactly is your question? How to convert numerical values to text? If so, what language? If C++, are you using C strings or C++ strings? Etc. Help us out.
use sprintf() to add the number to the string and then set the string to the status bar

This topic is closed to new replies.

Advertisement