Convert two more dialogs

This commit is contained in:
2014-12-17 13:13:23 -05:00
parent e864d9f7eb
commit 5de6d3d661
4 changed files with 110 additions and 111 deletions

View File

@@ -0,0 +1,33 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog skin='light' defbtn='okay' debug='true'>
<!-- OK button -->
<field name='charges' top='84' left='335' width='52' height='16'/>
<button name='okay' type='regular' top='195' left='316'>OK</button>
<pict name='pic' type='dlog' num='16' top='8' left='12'/>
<text size='large' top='6' left='50' width='175' height='17'>Editing Preset Item</text>
<text top='50' left='50' width='77' height='14'>Item name:</text>
<text top='73' left='50' width='280' height='41'>
Amount (if gold or food),
or Charges (if item that can have charges,
leave at -1 if you want the item to have its default number of charges)
</text>
<text top='120' left='50' width='116' height='14'>Special Flags:</text>
<!--
TODO: Put these LED labels inside the LED elements.
-->
<text top='138' left='84' width='164' height='14'>Always here</text>
<text top='155' left='84' width='164' height='14'>Someone's property</text>
<text top='172' left='84' width='164' height='14'>Contained in something</text>
<led name='always' top='138' left='291'/>
<led name='owned' top='155' left='291'/>
<led name='contained' top='172' left='291'/>
<text name='name' framed='true' top='50' left='136' width='143' height='14'/>
<text top='28' left='50' width='97' height='14'>Item number:</text>
<text name='num' top='28' left='151' width='137' height='14'/>
<button name='choose' type='regular' top='46' left='290'>Choose</button>
<!-- Deleted button -->
<button name='cancel' type='regular' top='195' left='248'>Cancel</button>
<text top='28' left='196' width='70' height='14'>Location:</text>
<text name='loc' top='28' left='272' width='116' height='14'/>
</dialog>

View File

@@ -0,0 +1,13 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog skin='light' defbtn='okay' debug='true'>
<!-- OK button -->
<field name='text' top='34' left='55' width='293' height='98'/>
<button name='cancel' type='regular' top='141' left='222' def-key='esc'>Cancel</button>
<text top='142' left='7' width='198' height='15'>Use a | to indicate a line break.</text>
<text name='num' top='8' left='287' width='37' height='14'/>
<pict name='pic' type='dlog' num='16' top='8' left='12'/>
<text size='large' top='6' left='50' width='138' height='17'>Editing Sign</text>
<text top='8' left='197' width='89' height='14'>Sign number:</text>
<button name='okay' type='regular' top='141' left='288'>OK</button>
</dialog>