I want to make a FPS and debugging info overlay similar to the one in the bottom of this image http://www.ogre3d.org/tikiwiki/dl1692&display but without using SDKTrays or OIS, can anyone give me a snippet code (C++) for it. Also I want to customize its look, I mean changing its font and background color. Thanks in advance.
Simple as adding the 40 lines class file to your project loading a font of your choice and calling
Don't forget to initialize and remove the text overlay!
You can change it color on the initialization of the overlay:
And the font on the fontdef file.
Not sure about the background, but you can easily add another overlay behind the text modifying the addTextBox method.