add not-yet-working prefs menu
authorRobert Kaiser <kairo@kairo.at>
Wed, 20 Aug 2008 17:56:32 +0000 (19:56 +0200)
committerRobert Kaiser <kairo@kairo.at>
Wed, 20 Aug 2008 17:56:32 +0000 (19:56 +0200)
xulapp/chrome/mandelbrot/content/mandelbrot.xul
xulapp/chrome/mandelbrot/locales/en-US/mandelbrot.dtd

index 1b38757f9087aaed1f6aec614be64de55458703c..be37ef319f2d8445a2b48bbe5ed438ca0142918c 100644 (file)
           <menuitem id="fileQuit" label="&fileQuit;" oncommand="quitApp(false);"/>
         </menupopup>
       </menu>
+      <menu id="prefMenu" label="&prefMenu;">
+        <menupopup id="prefPopup">
+          <menu id="iterMenu" label="&iterMenu;">
+            <menupopup id="iterPopup" oncommand="setIter();">
+              <menuitem type="radio" id="iter50" label="&iter50;"/>
+              <menuitem type="radio" id="iter100" label="&iter100;"/>
+              <menuitem type="radio" id="iter500" label="&iter500;"/>
+              <menuitem type="radio" id="iter1000" label="&iter1000;"/>
+            </menupopup>
+          </menu>
+          <menu id="colorMenu" label="&colorMenu;">
+            <menupopup id="colorPopup" oncommand="setPalette();">
+              <menuitem type="radio" id="colorBW" label="&colorBW;"/>
+              <menuitem type="radio" id="colorKairo" label="&colorKairo;"/>
+            </menupopup>
+          </menu>
+        </menupopup>
+      </menu>
     </menubar>
   </toolbox>
   <button id="drawButton" label="&fileDraw;" oncommand="drawImage();"/>
index 7a79c5ed2158e0147d3b91e6f24ce3821c7f94b1..bedb6bbc06ed49a45333b5d0b159e2f483a908e2 100644 (file)
@@ -3,3 +3,12 @@
 <!ENTITY  fileDraw       "Draw Image">
 <!ENTITY  fileSave       "Save Image">
 <!ENTITY  fileQuit       "Quit">
+<!ENTITY  prefMenu       "Settings">
+<!ENTITY  iterMenu       "Iterations">
+<!ENTITY  iter50         "50">
+<!ENTITY  iter100        "100">
+<!ENTITY  iter500        "500">
+<!ENTITY  iter1000       "1000">
+<!ENTITY  colorMenu      "Color Palette">
+<!ENTITY  colorBW        "Black &amp; White">
+<!ENTITY  colorKairo     "KaiRo.at">