About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
How to make text strings in the EE::List of colored
Author Message
Babulesnik Offline
Member

Post: #1
How to make text strings in the EE::List of colored
In EE: Text is a method Text:: code, but how to do this with EE:: List. How can I use this format [color = F00] text [/ color] to EE: List or are there other options?
08-19-2011 01:24 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: How to make text strings in the EE::List of colored
Code:
struct Elm
{
   Str text;
   Color color;
};

List<Elm> list;
list.setElmTextColor(MEMBER(Elm, color));
08-24-2011 02:00 PM
Find all posts by this user Quote this message in a reply
Post Reply