projects
/
mandelbrot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start functionality for zooming, right now just alert with coordinates we dragged...
[mandelbrot.git]
/
xulapp
/
chrome
/
mandelbrot
/
content
/
mandelbrot.xul
diff --git
a/xulapp/chrome/mandelbrot/content/mandelbrot.xul
b/xulapp/chrome/mandelbrot/content/mandelbrot.xul
index c6cd044c16d5005d7d90bf794be7575059633db5..183c6caf26083b3f39f58fbf45238cf23d107c9b 100644
(file)
--- a/
xulapp/chrome/mandelbrot/content/mandelbrot.xul
+++ b/
xulapp/chrome/mandelbrot/content/mandelbrot.xul
@@
-108,7
+108,10
@@
</toolbox>
<hbox flex="1" pack="center" align="center">
<stack>
</toolbox>
<hbox flex="1" pack="center" align="center">
<stack>
- <html:canvas id="mbrotImage" width="300" height="300"></html:canvas>
+ <html:canvas id="mbrotImage" width="300" height="300"
+ onmousedown="mouseevent('down', event);"
+ onmouseup="mouseevent('up',event);">
+ </html:canvas>
<button id="drawButton" label="&fileDraw.label;" oncommand="drawImage();"/>
</stack>
</hbox>
<button id="drawButton" label="&fileDraw.label;" oncommand="drawImage();"/>
</stack>
</hbox>