introduce touch events (or try that), start refactoring toolbar; also KILL THE XUL...
[mandelbrot.git] / content / mandelbrot.xul
similarity index 94%
rename from xulapp/chrome/mandelbrot/content/mandelbrot-tab.xul
rename to content/mandelbrot.xul
index 48cb896a9fd6ceb1af84fcc23d5be730e9e88852..47f8c597b1a6bc4a09004194df75a85187b25e38 100644 (file)
     <toolbar class="chromeclass-toolbar"
              id="mandelbrotToolbar"
              align="center">
-      <toolbarbutton id="fileMenu"
-                     type="menu"
-                     class="tabbable"
-                     label="&fileMenu.label;">
-        <menupopup id="menu_filePopup">
-          <menuitem id="fileDraw" label="&fileDraw.label;" oncommand="drawImage();"/>
-          <menuitem id="fileSave" label="&fileSave.label;" oncommand="saveImage();"/>
-        </menupopup>
-      </toolbarbutton>
+      <toolbarbutton id="fileDraw" label="&fileDraw.label;" oncommand="drawImage();"/>
+      <toolbarbutton id="fileSave" label="&fileSave.label;" oncommand="saveImage();"/>
       <toolbarbutton id="bookmarkMenu"
                      type="menu"
                      class="tabbable"
   </panel>
   <hbox flex="1" pack="center" align="center">
     <stack>
-      <html:canvas id="mbrotImage" width="300" height="300"
-                   onmousedown="mouseevent('down', event);"
-                   onmouseup="mouseevent('up', event);"
-                   onmousemove="mouseevent('move', event);">
+      <html:canvas id="mbrotImage" width="300" height="300">
       </html:canvas>
       <button id="drawButton" label="&fileDraw.label;" oncommand="drawImage();"/>
     </stack>