Fix switching PCs when editing spells. Fix #66

This commit is contained in:
2025-05-27 11:11:00 -05:00
parent 961a5b3e1c
commit fe055e8203
3 changed files with 66 additions and 24 deletions

View File

@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!-- NOTE: This file should be updated to use relative positioning the next time it changes. -->
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog defbtn='keep' escbtn='cancel'>
<pict type='dlog' num='7' top='6' left='6'/>
<text name='keep-msg' top='6' left='49' width='256' height='32'>
Keep changes to {{PC}}'s spells before editing someone else?
</text>
<button name='cancel' type='regular' top='43' left='109'>Cancel</button>
<button name='revert' type='regular' top='43' left='175'>Discard</button>
<button name='keep' type='regular' top='43' left='240'>Keep</button>
</dialog>

View File

@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<!-- NOTE: This file should be updated to use relative positioning the next time it changes. -->
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog defbtn='done' escbtn='done'>
<dialog defbtn='done' escbtn='cancel'>
<!--
TODO: Add width attributes to the LEDs
-->
@@ -68,6 +68,7 @@
<led name='spell60' state='off' top='248' left='268'/>
<led name='spell61' state='off' top='260' left='268'/>
<led name='spell62' state='off' top='272' left='268'/>
<button name='cancel' type='regular' top='310' left='358'>Cancel</button>
<button name='done' type='done' top='310' left='422'/>
<button name='left' type='left' def-key='left' top='310' left='12'/>
<button name='right' type='right' def-key='right' top='310' left='79'/>