From a32ad08129e960e963d932aedb015c8a7cfb4796 Mon Sep 17 00:00:00 2001 From: benfry Date: Sun, 26 Jan 2003 17:50:01 +0000 Subject: [PATCH] X new html for export --- app/PdeEditor.java | 34 +++++++++++++++++++++++++++++++++- todo.txt | 2 +- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/app/PdeEditor.java b/app/PdeEditor.java index a533d7988..18d6db0ec 100644 --- a/app/PdeEditor.java +++ b/app/PdeEditor.java @@ -1394,10 +1394,39 @@ afterwards, some of these steps need a cleanup function } } - //File htmlOutputFile = new File(projectDir, "index.html"); File htmlOutputFile = new File(appletDir, "index.html"); FileOutputStream fos = new FileOutputStream(htmlOutputFile); PrintStream ps = new PrintStream(fos); + + ps.println(""); + ps.println(""); + ps.println("" + exportSketchName + " : Built with Proce55ing"); + ps.println(""); + ps.println(""); + ps.println("
"); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println(" "); + ps.println("
 
"); + ps.println("
 
Source code
Built with Proce55ing
"); + ps.println("
"); + ps.println(""); + ps.println(""); + + /* ps.println(" "); ps.println(); ps.println("


"); @@ -1415,8 +1444,11 @@ afterwards, some of these steps need a cleanup function ps.println("
"); ps.println(" "); + */ + ps.flush(); ps.close(); + #ifdef MACOS /* if (PdeBase.platform == PdeBase.MACOS9) { diff --git a/todo.txt b/todo.txt index bd6f909bb..d146b5461 100644 --- a/todo.txt +++ b/todo.txt @@ -10,9 +10,9 @@ _ new colors chosen by casey _ disappearing text caret on win2k _ works in 'insert' mode +_ framerate() and framerate(15) _ pmouseX problem reported by casey (in bugs.txt) _ weirdness with mac swiss-german keyboard on []{}| -_ framerate() and framerate(15) _ several examples broken (note from creas) in bugs.txt