fix(ui): resolve retail spell slot background
Keep shared shortcut digit overlays separate from the per-ItemList background. Resolve the magic favorite list through its cross-layout inherited cell prototype and use the pinned brown/gold ItemSlot_Empty surface instead of the blue toolbar slot. Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
parent
e3605672bb
commit
09612f9981
9 changed files with 128 additions and 53 deletions
12
src/AcDream.App/UI/UiShortcutDigitGraphics.cs
Normal file
12
src/AcDream.App/UI/UiShortcutDigitGraphics.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace AcDream.App.UI;
|
||||
|
||||
/// <summary>
|
||||
/// Shared DAT digit overlays used by UIItem shortcut cells. Both gmToolbarUI and
|
||||
/// gmSpellcastingUI call UIElement_UIItem::SetShortcutNum @ 0x004E1590, so they
|
||||
/// share these number arrays. The underlying ItemSlot_Empty surface remains a
|
||||
/// per-ItemList asset selected by that list's cell prototype.
|
||||
/// </summary>
|
||||
public sealed record UiShortcutDigitGraphics(
|
||||
uint[]? RegularDigits,
|
||||
uint[]? GhostedDigits,
|
||||
uint[]? EmptyDigits);
|
||||
Loading…
Add table
Add a link
Reference in a new issue