901 {
904
907 filter.
Split(
" ", rawFilters);
908
910
911
912 foreach (int i, string f:rawFilters)
913 {
914 int color = -1;
915 if (f.IndexOf(":") == 1)
916 {
917 string clr = f.Substring(0, 1);
918 f = f.Substring(2, f.Length() - 2);
920 }
921 else
922 {
923 if (i%2 == 1)
924 {
925 color =
ARGB(200,255,255,255);
926 }
927 }
928 filters.Insert(f);
929 colors.Insert(color);
930 }
931 }
int GetFilterColor(string color)
array< string > 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)