906 {
909
912 filter.
Split(
" ", rawFilters);
913
915
916
917 foreach (int i, string f:rawFilters)
918 {
919 int color = -1;
920 if (f.IndexOf(":") == 1)
921 {
922 string clr = f.Substring(0, 1);
923 f = f.Substring(2, f.Length() - 2);
925 }
926 else
927 {
928 if (i%2 == 1)
929 {
930 color =
ARGB(200,255,255,255);
931 }
932 }
933 filters.Insert(f);
934 colors.Insert(color);
935 }
936 }
int GetFilterColor(string color)
class array< Class T > TStringArray
proto string Trim()
Returns trimmed string with removed leading and trailing whitespaces.
void Split(string sample, out array< string > output)
Splits string into array of strings separated by 'sample'.
proto int ToLower()
Changes string to lowercase. Returns length.
int ARGB(int a, int r, int g, int b)