Page 1 of 1

text on the screen

Posted: Thu Apr 26, 2007 21:19
by mako
how can I write a text on the screen without a border?

I'm working with ogre too, and I was trying to write with the overlay system, but then the mouse of cegui appears behind this overlay, I tried with staticText but it seems that it does not exist anymore, so I read to use Window, but nothing happened.

Posted: Thu Apr 26, 2007 21:20
by Levia
window->setProperty("FrameEnabled", "false");

Posted: Thu Apr 26, 2007 21:55
by mako
do u have all the code to write a text? as I said, the text did not appeared on the screen.

Posted: Fri Apr 27, 2007 06:03
by Dalfy
StaticText still exists but it is no more a class derived from window. It is a specialization of Window defined in Look&Feel. You can still define StaticText as before.