Removed debug and updated to new texture names.
This commit is contained in:
parent
c8415dd794
commit
061991494e
@ -242,8 +242,8 @@ namespace RhythmBullet
|
|||||||
Skin skin = new Skin(assets.Get<TextureAtlas>("UI"), assets.Get<Texture2D>("cursor"));
|
Skin skin = new Skin(assets.Get<TextureAtlas>("UI"), assets.Get<Texture2D>("cursor"));
|
||||||
skin.AddColor("default", Color.White);
|
skin.AddColor("default", Color.White);
|
||||||
|
|
||||||
TextButtonSkinDefinition textButtonSkinDefinition = new TextButtonSkinDefinition("Rounded9pButton-down", "Rounded9pButton");
|
TextButtonSkinDefinition textButtonSkinDefinition = new TextButtonSkinDefinition("rectangle-button-down", "rectangle-button");
|
||||||
textButtonSkinDefinition.disabledRegion = "Rounded9pButton-disabled";
|
textButtonSkinDefinition.disabledRegion = "rectangle-button-disabled";
|
||||||
|
|
||||||
skin.AddDefinition(textButtonSkinDefinition);
|
skin.AddDefinition(textButtonSkinDefinition);
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ using RecrownedAthenaeum.UI.Modular.Modules;
|
|||||||
using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
|
using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
|
||||||
using RecrownedAthenaeum.UI.SkinSystem;
|
using RecrownedAthenaeum.UI.SkinSystem;
|
||||||
using RecrownedAthenaeum.UI.SkinSystem.Definitions;
|
using RecrownedAthenaeum.UI.SkinSystem.Definitions;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace RhythmBullet.Screens.MainMenu
|
namespace RhythmBullet.Screens.MainMenu
|
||||||
{
|
{
|
||||||
@ -18,7 +19,6 @@ namespace RhythmBullet.Screens.MainMenu
|
|||||||
|
|
||||||
internal MainPage() : base(0, 0)
|
internal MainPage() : base(0, 0)
|
||||||
{
|
{
|
||||||
Debugging = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Initialize(ContentManagerController assets, ISkin skin)
|
protected override void Initialize(ContentManagerController assets, ISkin skin)
|
||||||
|
Loading…
Reference in New Issue
Block a user