can you use the color tags in MultiLineEditbox ? i tried using the tags but nothing changes.
log:
Code: Select all
02/12/2010 05:22:17 (Std) ---- Version 0.7.4 (Build: Oct 11 2010 Microsoft Windows MSVC++ 10.0 32 bit) ----
02/12/2010 05:22:17 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module. TextureTarget support enabled via FBO extension. ----
02/12/2010 05:22:17 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
02/12/2010 05:22:17 (Std) ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
02/12/2010 05:22:17 (Std) ---- Scripting module is: None ----
The code from tutorial :
Code: Select all
CEGUI::Window* textComponent =
(CEGUI::Window*)CEGUI::WindowManager::getSingleton().getWindow("SomeMultilineEditbox"); // except im not trying this on statictext
textComponent->setText("This is just some text that shows how nicely [colour='FFFF0000']CEGUI
can format strings.[colour='FF00FF00'] and this is just colour [colour='FF0000FF'] formatting!");
gives this result:
ty