<stringbundle id="mbrotBundle" src="chrome://mandelbrot/locale/mandelbrot.properties"/>
</stringbundleset>
+ <commandset id="mainCommands">
+ </commandset>
+
<toolbox>
<menubar>
<menu id="fileMenu" label="&fileMenu.label;">
<menupopup id="menu_palettePopup" onpopupshowing="updatePaletteMenu();" oncommand="setPalette(event.target.value);">
<menuitem type="radio" name="palette" value="bw" label="&colorBW.label;"/>
<menuitem type="radio" name="palette" value="kairo" label="&colorKairo.label;"/>
+ <menuitem type="radio" name="palette" value="rainbow-linear1" label="&colorRBLin1.label;"/>
+ <menuitem type="radio" name="palette" value="rainbow-squared1" label="&colorRBSq1.label;"/>
+ <menuitem type="radio" name="palette" value="rainbow-linear2" label="&colorRBLin2.label;"/>
+ <menuitem type="radio" name="palette" value="rainbow-squared2" label="&colorRBSq2.label;"/>
</menupopup>
</menu>
<menuitem id="imgSettings" label="&imgSettings.label;" oncommand="imgSettings();"/>
<stack>
<html:canvas id="mbrotImage" width="300" height="300"
onmousedown="mouseevent('down', event);"
- onmouseup="mouseevent('up',event);">
+ onmouseup="mouseevent('up',event);"
+ onmousemove="mouseevent('move',event);">
</html:canvas>
<button id="drawButton" label="&fileDraw.label;" oncommand="drawImage();"/>
</stack>