mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 16:33:24 +00:00
94baab1c45
With the approaching games, PKM sprites are a different size from the 3DS era (as already hinted by LGPE, which has 56x68). It'll be a little easier to manage with this portion of the library walled off from the rest of the codebase. Eventually the net46 target will use fody or something to merge in these extra dependency dll's automatically to not disturb the usual exe/dll experience.
18 lines
No EOL
431 B
C#
18 lines
No EOL
431 B
C#
using System.Drawing;
|
|
using PKHeX.Core;
|
|
using PKHeX.Drawing;
|
|
|
|
namespace PKHeX.WinForms
|
|
{
|
|
/// <summary>
|
|
/// Bindable summary object that can fetch sprite and strings that summarize a <see cref="PKM"/>.
|
|
/// </summary>
|
|
public class PKMSummaryImage : PKMSummary
|
|
{
|
|
public Image Sprite => pkm.Sprite();
|
|
|
|
public PKMSummaryImage(PKM p, GameStrings strings) : base(p, strings)
|
|
{
|
|
}
|
|
}
|
|
} |