mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-24 11:23:11 +00:00
bc809af06c
Allows trimmed dll usage by keeping pkm sprites in one project, and all other cosmetic UI stuff in another project
20 lines
559 B
C#
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;
|
|
}
|
|
}
|
|
}
|