From 1d1eab528a5b6d12f63edafa4d14bdde0f88e219 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 6 Apr 2026 16:29:20 -0700
Subject: [PATCH] Added on-screen buttons for the easter egg dialogs
---
Data/UI/main.xml | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/Data/UI/main.xml b/Data/UI/main.xml
index 252be61e..367eaf7b 100644
--- a/Data/UI/main.xml
+++ b/Data/UI/main.xml
@@ -239,8 +239,14 @@
<!-- Hidden action buttons -->
<Button name="ToggleFullscreen" template="HotkeyOnly" hotkey="ALT-Return" action="toggle_fullscreen"/>
<Button name="Screenshot" template="HotkeyOnly" hotkey="F3" action="screenshot"/>
- <Button name="Cheat" template="HotkeyOnly" hotkey="L" action="cheat" clickSound="124"/>
- <Button name="Special" template="HotkeyOnly" hotkey="X" action="show_dawn" clickSound="128"/>
+ <Button name="Cheat" hotkey="L" action="cheat" clickSound="124">
+ <Size w="16" h="16"/>
+ <Anchor anchorFrom="TOPLEFT" anchorTo="TOPLEFT" anchor="image"/>
+ </Button>
+ <Button name="Special" hotkey="X" action="show_dawn" clickSound="128">
+ <Size w="16" h="16"/>
+ <Anchor anchorFrom="TOPRIGHT" anchorTo="TOPRIGHT" anchor="image"/>
+ </Button>
<Button name="SetVolume0" template="HotkeyOnly" hotkey="0" action="setvolume0"/>
<Button name="SetVolume1" template="HotkeyOnly" hotkey="1" action="setvolume1"/>
<Button name="SetVolume2" template="HotkeyOnly" hotkey="2" action="setvolume2"/>
@@ -443,6 +449,16 @@
<Anchor anchorFrom="TOP" anchorTo="BOTTOM" anchor="ZapButton" y="4"/>
</Button>
+ <!-- Hidden action buttons -->
+ <Button name="Cheat" template="HotkeyOnly" hotkey="L" action="cheat" clickSound="124">
+ <Size w="16" h="16"/>
+ <Anchor anchorFrom="TOPLEFT" anchorTo="TOPLEFT" anchor="image"/>
+ </Button>
+ <Button name="Special" template="HotkeyOnly" hotkey="X" action="show_dawn" clickSound="128">
+ <Size w="16" h="16"/>
+ <Anchor anchorFrom="TOPRIGHT" anchorTo="TOPRIGHT" anchor="image"/>
+ </Button>
+
<!-- Version -->
<Label name="version" font="Geneva:9">
<Anchor anchorFrom="BOTTOMLEFT" anchorTo="BOTTOMLEFT" anchor="image" x="18" y="4"/>