v0.5, amazing sorts and categories, no longer ugly. 💃

This commit is contained in:
JavidPack
2018-08-07 07:06:01 -06:00
parent 5661e04193
commit a56055c6c0
42 changed files with 2057 additions and 236 deletions

View File

@@ -0,0 +1,23 @@
using Microsoft.Xna.Framework.Graphics;
namespace ItemChecklist.UIElements
{
internal class UIHoverImageButton : UIImageButton
{
internal string hoverText;
public UIHoverImageButton(Texture2D texture, string hoverText) : base(texture)
{
this.hoverText = hoverText;
}
protected override void DrawSelf(SpriteBatch spriteBatch)
{
base.DrawSelf(spriteBatch);
if (IsMouseHovering)
{
ItemChecklistUI.hoverText = hoverText;
}
}
}
}