Behaviorally: This change makes it so that Enter will never cancel a dialog, unless that dialog only contains info to be read. Escape will never unpredictably be treated as Enter. And some dialogs without Escape to cancel, now can be canceled with Escape. A lot of this just refactors dialogs to define the cancel button at the top, not as a hotkey on a cancel button deep in the XML. I think this makes enter/escape behavior in dialogxml files more legible at a glance.
31 lines
1.4 KiB
XML
31 lines
1.4 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
|
<dialog defbtn='okay' escbtn='okay'>
|
|
<pict type='dlog' num='16' top='6' left='6'/>
|
|
<text top='6' left='50' width='420' height='33'>
|
|
Blades of Exile Scenario Editor v2.0 alpha<br/>
|
|
Created 1997, Free Open Source
|
|
</text>
|
|
<text relative='abs pos' rel-anchor='prev' top='10' left='50' width='415'>
|
|
CREDITS: <br/>
|
|
Concept, Design, Programming: Jeff Vogel <br/>
|
|
Graphics: Andrew Hunter <br/>
|
|
Title Screen: James Ernest
|
|
</text>
|
|
<text relative='abs pos' rel-anchor='prev' top='10' left='50' width='410' height='85'>
|
|
Blades of Exile is created Spiderweb Software - <br/>
|
|
"Where our aberrations become your reality." <br/><br/>
|
|
"Blades of Exile" and Spiderweb Software are trademarks of Spiderweb Software. <br/>
|
|
Open Blades of Exile is maintained by volunteer open source developers.
|
|
</text>
|
|
<text relative='abs pos' rel-anchor='prev' top='10' left='50' width='354' height='32'>
|
|
Comments and questions?
|
|
The maintainers of Open Blades of Exile want to hear them.
|
|
Open a ticket here:
|
|
</text>
|
|
<text relative='abs pos' rel-anchor='prev' top='10' left='60' width='353' colour='link' height='17'>
|
|
https://github.com/calref/cboe/issues
|
|
</text>
|
|
<button name='okay' type='regular' relative='abs pos' rel-anchor='prev' top='10' left='430'>OK</button>
|
|
</dialog>
|