mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 13:40:50 -05:00
Allows trimmed dll usage by keeping pkm sprites in one project, and all other cosmetic UI stuff in another project
21 lines
559 B
C#
21 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;
|
|
}
|
|
}
|
|
}
|