public YamlKeyFormat(AssetObjectClassificationColorManager colorManager)
 {
     DisplayName = "Paradox YAML Key"; //human readable version of the name
     var classificationColor = colorManager.GetClassificationColor(AssetObjectDefinitions.KeyClassificationName);
     ForegroundColor = classificationColor.ForegroundColor;
     BackgroundColor = classificationColor.BackgroundColor;
 }
示例#2
0
        public YamlNumberFormat(AssetObjectClassificationColorManager colorManager)
        {
            DisplayName = "Paradox YAML Number"; //human readable version of the name
            var classificationColor = colorManager.GetClassificationColor(AssetObjectDefinitions.NumberClassificationName);

            ForegroundColor = classificationColor.ForegroundColor;
            BackgroundColor = classificationColor.BackgroundColor;
        }