예제 #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;
        }