2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
3 <?xml-stylesheet href="chrome://mandelbrot/skin/" type="text/css"?>
6 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
8 <!ENTITY % mandelbrotDTD SYSTEM "chrome://mandelbrot/locale/mandelbrot.dtd">
12 <window id="mandelbrotWindow" title="&windowTitle;"
13 width="350" height="450"
14 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
15 xmlns:html="http://www.w3.org/1999/xhtml">
16 <script type="application/x-javascript"
17 src="chrome://mandelbrot/content/mandelbrot.js"/>
20 <menu id="fileMenu" label="&fileMenu;">
21 <menupopup id="filePopup">
22 <menuitem id="fileDraw" label="&fileDraw;" oncommand="drawImage();"/>
23 <menuitem id="fileSave" label="&fileSave;" oncommand="saveImage();"/>
25 <menuitem id="fileQuit" label="&fileQuit;" oncommand="quitApp(false);"/>
30 <button id="drawButton" label="&fileDraw;" oncommand="drawImage();"/>
31 <hbox flex="1" pack="center" align="center">
32 <html:canvas id="mbrotImage" width="300" height="300"></html:canvas>