colored text (Garan! Help! lol)
Okay, I'm calling uncle.
I'm trying to display colored text in a LOTRO window. I've got the strings formatted in the way that works in the in-game chat window. But when I put those strings into a label ( :AppendText ) the <> commands aren't treated as distinguished.
The API documentation is (as so often the case) no help whatsoever, as it gives no details about what the format of the string passed to AppendText() should be.
I know it's *possible* to do this -- since Garan's Rainbow has a text field ("Preview") with multiple colors in it. But if I've puzzled my way through that code correctly, each clip of text with a different color is a new Label structure.
Does this mean there's no built-in way to have text of varying color within the same single structure... or is that just a Label restriction? Because a sizeable block of text, in different colors, where each discrete block has to be its own Label structure... that's a HUGE overhead in unnecessary memory and processing just to get variably colored text!
ARGH.
Please, Garan, say it ain't so!!!
Is there any way to hook into the routines that drive the in-game chat interface... the ones which happily process the <rgb> and <select> and similar code?...
Or *something* to reduce the requisite overhead to something reasonable?
I just need a static, multi-colored text display...