mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-12 08:06:46 -05:00
27 lines
699 B
C#
27 lines
699 B
C#
using System.Drawing;
|
|
|
|
namespace PKHeX.WinForms.Controls;
|
|
|
|
/// <summary>
|
|
/// Tracks the background images for a slot, including the original and current backgrounds.
|
|
/// </summary>
|
|
public sealed class SlotTrackerImage
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the original background image of the slot.
|
|
/// </summary>
|
|
public Image? OriginalBackground { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the current background image of the slot.
|
|
/// </summary>
|
|
public Image? CurrentBackground { get; set; }
|
|
|
|
/// <summary>
|
|
/// Resets the background images to null.
|
|
/// </summary>
|
|
public void Reset()
|
|
{
|
|
OriginalBackground = CurrentBackground = null;
|
|
}
|
|
}
|