PKHeX/PKHeX.WinForms/Settings/HoverSettings.cs
Kurt 2c541ad422
Update to .NET 10 (#4676)
* Update to .NET 10
* Property fields
* API signature updates
* Extension method blocks

* Completed dark mode support
  Outside of my control:
- vertical tab control (pkm editor)
- datetimepicker controls
- lgpe event flags (no idea)
- some control types having white-borders when they should really be gray

Box background is 50% transparency to effectively darken the image.

* Custom legality report popup
* Event diff dialog, version select dialog
* Add quick overwrite popup for export sav
* Extension methods
* Dark Mode: glow currently editing sprite
* Add invalid encounter hint for trade evolutions
* Extension properties
* Append legality hint on hover card
* Slot image loading: clear the screen-reader description if a slot is empty/invalid, rather than retain the previous description. Changing boxes would easily confuse users on this.
2025-12-31 01:42:05 -06:00

35 lines
1.2 KiB
C#

using System.Drawing;
using PKHeX.Core;
namespace PKHeX.WinForms;
public sealed class HoverSettings
{
[LocalizedDescription("Show PKM Slot Preview on Hover")]
public bool HoverSlotShowPreview { get; set; } = true;
[LocalizedDescription("Show Encounter Info on Hover")]
public bool HoverSlotShowEncounter { get; set; } = true;
[LocalizedDescription("Show all Encounter Info properties on Hover")]
public bool HoverSlotShowEncounterVerbose { get; set; }
[LocalizedDescription("Show first Legality Check message if Illegal on Hover")]
public bool HoverSlotShowLegalityHint { get; set; } = true;
[LocalizedDescription("Show PKM Slot ToolTip on Hover")]
public bool HoverSlotShowText { get; set; } = true;
[LocalizedDescription("Play PKM Slot Cry on Hover")]
public bool HoverSlotPlayCry { get; set; } = true;
[LocalizedDescription("Show a Glow effect around the PKM on Hover")]
public bool HoverSlotGlowEdges { get; set; } = true;
[LocalizedDescription("Show Showdown Paste in special Preview on Hover")]
public bool PreviewShowPaste { get; set; } = true;
[LocalizedDescription("Show a Glow effect around the PKM on Hover")]
public Point PreviewCursorShift { get; set; } = new(16, 8);
}