///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// Convert the value to a color /// </summary> /// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public Color ReadColor(int i) { Color color; if (!Internal.ExtractColor(Values[i], out color)) { Internal.Output("TGUI warning: Property " + Properties[i] + " in section " + m_Section + " has a bad value: '" + Values[i] + "'. Using the default white color."); } return(color); }