PKHeX/PKHeX.WinForms/Subforms/Misc/EntitySummaryImage.cs
Kurt bc809af06c Split PKHeX.Drawing into subprojects
Allows trimmed dll usage by keeping pkm sprites in one project, and all other cosmetic UI stuff in another project
2021-11-27 15:48:08 -08:00

20 lines
559 B
C#

using System.Drawing;
using PKHeX.Core;
using PKHeX.Drawing.PokeSprite;
namespace PKHeX.WinForms
{
/// <summary>
/// Bind-able summary object that can fetch sprite and strings that summarize a <see cref="PKM"/>.
/// </summary>
public sealed class EntitySummaryImage : EntitySummary
{
public Image Sprite => pkm.Sprite();
public override string Position { get; }
public EntitySummaryImage(PKM p, GameStrings strings, string position) : base(p, strings)
{
Position = position;
}
}
}