bool configIcon(string key, string value, Configuration.Options options) { iconName_ = value; icon_ = Icon.getIcon(value); if (icon_ == null) { log(Console.LogType.Error, $"Invalid icon name:{value}"); return(false); } return(true); }
bool configIcon(string key, string value, Configuration.Options options) { iconName_ = value; icon_ = Icon.getIcon(iconName_); if (options.Count >= 1) { iconColor_ = options.asColor(0, Template.FontColor); iconUseColor_ = true; } else { iconUseColor_ = false; } return(true); }