Beispiel #1
0
 public FontString(UiInitUtil util, string objectType, FontStringType type, IRegion parent)
     : base(util, objectType, type, parent)
 {
     if (!string.IsNullOrEmpty(type.inherits))
     {
         this.ApplyType((FontStringType)util.GetTemplate(type.inherits));
     }
     this.ApplyType(type);
 }
Beispiel #2
0
 private void ApplyType(FontStringType type)
 {
     this.text = type.text;
 }
Beispiel #3
0
 private void ApplyFontStringType(FontStringType fontStringType)
 {
     this.util.CreateObject(fontStringType, this);
 }