Esempio n. 1
0
 public static void SetupDefaultStyle()
 {
     DefaultStyle = new UIStyle(
         MachinaClient.Assets.GetMachinaAsset <NinepatchSheet>("ui-button"),
         MachinaClient.Assets.GetMachinaAsset <NinepatchSheet>("ui-button-hover"),
         MachinaClient.Assets.GetMachinaAsset <NinepatchSheet>("ui-button-press"),
         MachinaClient.Assets.GetMachinaAsset <NinepatchSheet>("ui-textbox-ninepatch"),
         MachinaClient.Assets.GetMachinaAsset <NinepatchSheet>("ui-window-ninepatch"),
         MachinaClient.Assets.GetMachinaAsset <NinepatchSheet>("ui-slider-ninepatch"),
         MachinaClient.Assets.GetSpriteFont("DefaultFontSmall"),
         MachinaClient.Assets.GetMachinaAsset <SpriteSheet>("ui-checkbox-radio-spritesheet"),
         MachinaClient.Assets.GetMachinaAsset <Image>("ui-checkbox-checkmark-image"),
         MachinaClient.Assets.GetMachinaAsset <Image>("ui-radio-fill-image")
         );
 }
Esempio n. 2
0
 public UIBuilder(UIStyle style)
 {
     this.style = style;
 }