Files
oboe/rsrc/dialogs/edit-scenario-details.xml

51 lines
3.0 KiB
XML

<?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='okay' escbtn='cancel'>
<pict type='dlog' num='16' top='8' left='8'/>
<text size='large' top='6' left='50' width='256' height='17'>Scenario Details</text>
<text top='23' left='50' width='372' height='53'>
This is where you can define the various pieces of information the user will see when deciding whether or not to play your scenario.
The meanings of all these fields are given in the documentation.
</text>
<text name='title-label' top='65' left='50' width='120' height='14'>Title:</text>
<field name='title' relative='pos-in pos-in' rel-anchor='prev' top='0' left='131' width='243' height='16' max-chars='30'/>
<text name='version-label' relative='pos-in pos-in' anchor='title-label' top='20' left='0' width='120' height='14'>Version number:</text>
<field name='ver1' relative='pos-in neg' rel-anchor='prev' type='uint' top='1' left='131' width='43' height='16'/>
<field name='ver2' relative='pos-in' rel-anchor='prev' type='uint' top='0' left='53' width='43' height='16'/>
<field name='ver3' relative='pos-in' rel-anchor='prev' type='uint' top='0' left='53' width='43' height='16'/>
<text name='teaser1-label' top='102' left='50' width='120' height='14'>Teaser:</text>
<field name='teaser1' top='104' left='181' width='243' height='47'/>
<text name='teaser2-label' top='150' left='50' width='120' height='14'></text>
<field name='teaser2' top='159' left='181' width='243' height='47'/>
<text name='author-label' top='212' left='50' width='160' height='14'>Author:</text>
<field name='author' top='214' left='181' width='243' height='16'/>
<text name='contact-label' top='233' left='50' width='160' height='14'>Contact Information<br/>(optional):</text>
<field name='contact' top='234' left='181' width='243' height='35'/>
<text top='285' left='50' width='50' height='14'>Rating:</text>
<group name='rating'>
<led name='rate1' state='off' top='288' left='107'>G</led>
<led name='rate2' state='off' top='305' left='107'>PG</led>
<led name='rate3' state='off' top='322' left='107'>R</led>
<led name='rate4' state='off' top='339' left='107'>NC-17</led>
</group>
<text top='285' left='199' width='71' height='14'>Difficulty:</text>
<!--
TODO: Isn't there a level cap? If so, this should probably say "30-cap" (with cap replaced with the actual cap) rather than 30+.
-->
<group name='difficulty'>
<led name='lvl1' state='off' top='288' left='281'>Low Level (1-8)</led>
<led name='lvl2' state='off' top='305' left='281'>Medium Level (9-18)</led>
<led name='lvl3' state='off' top='322' left='281'>High Level (19-30)</led>
<led name='lvl4' state='off' top='339' left='281'>Very High Level (30+)</led>
</group>
<button name='okay' type='regular' top='354' left='395'>OK</button>
<button name='cancel' type='regular' relative='neg pos-in' rel-anchor='prev' top='0' left='71'>Cancel</button>
</dialog>