Пример #1
0
 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;
        }