Esempio n. 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);
 }
Esempio n. 2
0
 public GuiSkin()
 {
     TextureAtlases = new List <TextureAtlas>();
     Fonts          = new List <BitmapFont>();
     NinePatches    = new List <NinePatchRegion2D>();
     _styles        = new KeyedCollection <string, GuiControlStyle>(s => s.Name);
 }