GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a firefox/xulrunner clone of the processing editor
Clone URL: git://github.com/why/processor.git
 * chrome/content/js/processor.js: in exported app, don't let the canvas 
 stretch.
why (author)
Fri May 09 15:29:17 -0700 2008
commit  7e931b1d7264d51545a633c4339bdb797904c207
tree    bbd3ed40cea3fbefce6697ee5fdfbcd53051e514
parent  81c4cbf42343b69b0a12ca5991658627023364ac
...
64
65
66
67
 
 
68
69
70
...
109
110
111
 
112
 
 
113
114
115
...
64
65
66
 
67
68
69
70
71
...
110
111
112
113
114
115
116
117
118
119
0
@@ -64,7 +64,8 @@ var Processor = {
0
       ' xmlns:html="http://www.w3.org/1999/xhtml"\n' +
0
       ' xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\n' +
0
       '<script src="processing.js" />\n' +
0
- '<vbox flex="1"><html:canvas id="stage"></html:canvas></vbox>\n' +
0
+ '<vbox flex="1"><hbox><html:canvas id="stage"></html:canvas>' +
0
+ '<spacer flex="1" /></hbox></vbox>\n' +
0
       '<script>\n' +
0
       'var c = document.getElementById("stage");\n' +
0
       'Processing(c, "' + ecode + '");\n' +
0
@@ -109,7 +110,10 @@ var Processor = {
0
     $("#pressExport").click(function() {
0
       var dir = Processor.ask_open_dir();
0
       if (dir)
0
+ {
0
         Processor.export_to_xulapp(dir);
0
+ alert("Export complete.");
0
+ }
0
     });
0
 
0
     $("#pressRun").click(function() {

Comments

    No one has commented yet.