csim.xul  |  csim.js  |  options.xul  |  options.js  |  about.xul  |  consts.js  |  screen.js  |  platform.js  |  csim.dtd  |  csim.css  |  b2a.c

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://csim/skin/csim.css" type="text/css"?>

<dialog
   title          = "Advanced options"
   xmlns          = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   buttons        = "accept, cancel"
   ondialogaccept = "return closedOk();"
   ondialogcancel = "return;">

  <groupbox>
    <caption label="CPU settings"/>
    <grid>
      <columns>
        <column/>
        <column flex="1"/>
        <column/>
      </columns>
      <rows>
        <row>
          <label value="Delay between instructions"/>
          <spacer/>
          <textbox id="opt-cpu-delay" maxlength="10" style="width: 8em;"/>
        </row>
      </rows>
    </grid>  
  </groupbox>

  <groupbox>
    <caption label="Device settings"/>
    <grid>
      <columns>
        <column/>
        <column flex="1"/>
        <column/>
      </columns>
      <rows>
        <row>
          <label value="Screen delay multiplicator"/>
          <spacer/>
          <textbox id="opt-dev-scrdelay" maxlength="10" style="width: 8em;"/>
        </row>
        <row>
          <label value="Screen buffer size"/>
          <spacer/>
          <textbox id="opt-dev-scrbuffer" maxlength="10" style="width: 8em;"/>
        </row>
        <row>
          <label value="MPDI file path"/>
          <spacer/>
          <textbox id="opt-dev-mpdifileloc" maxlength="1024" style="width: 8em;"/>
        </row>
        <row>
          <label value="MPDO file path"/>
          <spacer/>
          <textbox id="opt-dev-mpdofileloc" maxlength="1024" style="width: 8em;"/>
        </row>
      </rows>
    </grid>  
  </groupbox>

  <groupbox>
    <caption label="History settings"/>
    <grid>
      <columns>
        <column/>
        <column flex="1"/>
        <column/>
      </columns>
      <rows>
        <row>
          <checkbox id="opt-history-limit" checked="true" label="Limit number of entries to"/>
          <spacer/>
          <textbox id="opt-history-size" maxlength="10" style="width: 8em;"/>
        </row>
        <row>  
          <checkbox id="opt-history-lasttop" checked="true" label="Last instruction on top"/>
          <spacer/>
          <spacer/>
        </row>
      </rows>
    </grid>  
  </groupbox>
  
  <script type="application/x-javascript" src="options.js"/>

</dialog>