Exemplo n.º 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);
 }
Exemplo n.º 2
0
 private void ApplyType(FontStringType type)
 {
     this.text = type.text;
 }
Exemplo n.º 3
0
 private void ApplyFontStringType(FontStringType fontStringType)
 {
     this.util.CreateObject(fontStringType, this);
 }