/// <summary> /// Gets the color of a standing status. /// </summary> /// <param name="status">The standing status.</param> /// <exception cref="NotImplementedException"></exception> /// <returns></returns> private static Color GetStatusColor(StandingStatus status) { if (Settings.UI.SafeForWork) { return(Color.Black); } switch (status) { case StandingStatus.Neutral: return(Color.FromArgb(255, 178, 178, 178)); case StandingStatus.Terrible: return(Color.FromArgb(255, 191, 0, 0)); case StandingStatus.Bad: return(Color.FromArgb(255, 255, 89, 0)); case StandingStatus.Good: return(Color.FromArgb(255, 51, 127, 255)); case StandingStatus.Excellent: return(Color.FromArgb(255, 0, 38, 153)); default: throw new NotImplementedException(); } }
/// <summary> /// Gets the color of a standing status. /// </summary> /// <param name="status">The standing status.</param> /// <exception cref="NotImplementedException"></exception> /// <returns></returns> private static Color GetStatusColor(StandingStatus status) { if (Settings.UI.SafeForWork) return Color.Black; switch (status) { case StandingStatus.Neutral: return Color.FromArgb(255, 178, 178, 178); case StandingStatus.Terrible: return Color.FromArgb(255, 191, 0, 0); case StandingStatus.Bad: return Color.FromArgb(255, 255, 89, 0); case StandingStatus.Good: return Color.FromArgb(255, 51, 127, 255); case StandingStatus.Excellent: return Color.FromArgb(255, 0, 38, 153); default: throw new NotImplementedException(); } }