Few questions about font

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
alfabeta90
Posts: 52
Joined: Wed Dec 06, 2006 5:18 pm

Few questions about font

Post by alfabeta90 »

How to change the color of a gui static text. I was wondering if you could tell me how to make a new line in a gui static text. I tried /n and \n but ther come nothing.
raven_coda
Posts: 89
Joined: Thu Aug 17, 2006 8:11 pm
Location: Salt Lake City, UT, USA
Contact:

Post by raven_coda »

Use ->setOverrideColor(video::SColor(255,0,255,0));
on a IguiStaticText* to change it's color.

\n should work. Make sure your rect in the static text is large enough to house a line return.
Definition of an Upgrade: Take old bugs out, put new ones in.
Post Reply