示例#1
0
 public Skin()
 {
     TextureAtlases = new List <TextureAtlas>();
     Fonts          = new List <BitmapFont>();
     NinePatches    = new List <NinePatchRegion2D>();
     Styles         = new KeyedCollection <string, ControlStyle>(s => s.Name ?? s.TargetType.Name);
 }
示例#2
0
 public GuiSkin()
 {
     TextureAtlases = new List <TextureAtlas>();
     Fonts          = new List <BitmapFont>();
     NinePatches    = new List <NinePatchRegion2D>();
     _styles        = new KeyedCollection <string, GuiControlStyle>(s => s.Name);
 }