From 743fb58db3497bb70e3e9fc89cd966a16e247532 Mon Sep 17 00:00:00 2001 From: benfry Date: Wed, 26 Jan 2011 23:15:49 +0000 Subject: [PATCH] just copying the java theme for now --- android/theme/buttons.gif | Bin 0 -> 2671 bytes android/theme/resize.gif | Bin 0 -> 92 bytes android/theme/tab-sel-left.gif | Bin 0 -> 62 bytes android/theme/tab-sel-menu.gif | Bin 0 -> 104 bytes android/theme/tab-sel-mid.gif | Bin 0 -> 54 bytes android/theme/tab-sel-right.gif | Bin 0 -> 839 bytes android/theme/tab-unsel-left.gif | Bin 0 -> 62 bytes android/theme/tab-unsel-menu.gif | Bin 0 -> 104 bytes android/theme/tab-unsel-mid.gif | Bin 0 -> 54 bytes android/theme/tab-unsel-right.gif | Bin 0 -> 63 bytes android/theme/theme.txt | 110 ++++++++++++++++++++ app/src/processing/app/Base.java | 8 +- app/src/processing/mode/java/JavaBuild.java | 10 +- todo.txt | 47 +++++---- 14 files changed, 149 insertions(+), 26 deletions(-) create mode 100644 android/theme/buttons.gif create mode 100644 android/theme/resize.gif create mode 100644 android/theme/tab-sel-left.gif create mode 100644 android/theme/tab-sel-menu.gif create mode 100644 android/theme/tab-sel-mid.gif create mode 100644 android/theme/tab-sel-right.gif create mode 100644 android/theme/tab-unsel-left.gif create mode 100644 android/theme/tab-unsel-menu.gif create mode 100644 android/theme/tab-unsel-mid.gif create mode 100644 android/theme/tab-unsel-right.gif create mode 100644 android/theme/theme.txt diff --git a/android/theme/buttons.gif b/android/theme/buttons.gif new file mode 100644 index 0000000000000000000000000000000000000000..3d8facd00078256a77f4a20069332d3578f1a899 GIT binary patch literal 2671 zcmd6k=RX^Y0zi{gND-rIs~R0@MwKYF6<6)ps!8qDTdUN%ReQzW5@HldN{rg0Mrdlc z_EyzUTa8{^^4@)a#XBF)=kxm=-9K~`A3pB~I0C2uKwLUzg2Xj3HS;`&(BS)?VP+`oqq;dJ+;b;hI<8s7nKp-#Akf$?N5HI>=P2*-ABpF$0cVL zd@K>ZxV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AtCFBpl(ps6{#1y?U`VqQ*JD;ET5uj%ng=47x20JicR!TZ P=gGS#QJ3^ml))MRD$Nr0 literal 0 HcmV?d00001 diff --git a/android/theme/tab-sel-menu.gif b/android/theme/tab-sel-menu.gif new file mode 100644 index 0000000000000000000000000000000000000000..d926650e7f89c6848bfa20c791498fc1a27804d2 GIT binary patch literal 104 zcmZ?wbhEHb6l73jn8?6z<=PFekhuT<|2K9|Rs6}q00KH70wmACWI3mQ<>|Nli|2&g z=-zy9Pc=_Xq(E1gL)8JU1)9%~tyeq#G~&GE?M2(48*`S-pZ}rbOTe@<%RY13iZC!( F0|4Q)DtQ0^ literal 0 HcmV?d00001 diff --git a/android/theme/tab-sel-mid.gif b/android/theme/tab-sel-mid.gif new file mode 100644 index 0000000000000000000000000000000000000000..fa8ed45fca9a8d515f21f1df03cc1c5f4b03c495 GIT binary patch literal 54 zcmZ?wbhEHbWMNQbXkcJy?4Eky)D^{_EDRu^10p~&3{1Q&{VT=a@-LpV$lmI P^W@!=s7rb&%3uuu4}}s| literal 0 HcmV?d00001 diff --git a/android/theme/tab-unsel-menu.gif b/android/theme/tab-unsel-menu.gif new file mode 100644 index 0000000000000000000000000000000000000000..a1720a589caf4697f8f79da5fd1b5b270ded5633 GIT binary patch literal 104 zcmZ?wbhEHb6l73jn8?7;F=>uhNZg!d8ydT(D*j|)00A8k0g`86vYgYu^7LE&#dAV# zbZ@@5r<$iGQlKl$q3QtF0?p^g)~g+V8gX9o_M+|2jX6u^&;QWzC1Bc_WuG~1MHm>Y E0YW?|q5uE@ literal 0 HcmV?d00001 diff --git a/android/theme/tab-unsel-mid.gif b/android/theme/tab-unsel-mid.gif new file mode 100644 index 0000000000000000000000000000000000000000..a2c5497b898b4528a8095dc0cf48c6700dd179a7 GIT binary patch literal 54 zcmZ?wbhEHbWMNQbXkcJy?4CMj*#^a*EDRu^10p~&3{1Q&{VT=a@-LpVSplashFile $JAVAROOT/splash.png I do not know if it still works but it did in 2008 (see ). +mode work +X opt for separate examples/sketchbook/libraries for each mode +X better to put the onus on the mode developers than users +X and rather than trying to figure out a complicated scheme for inclusion +X we can have something that takes care of auto-copying per-mode examples + +_ remove PdeKeyListener, roll it into the Java InputHandler for JEditTextArea + +_ can't do fileMenu.add(base.getSketchbookMenu()); inside ThinkDifferent +_ sketchbook location hasn't been determined yet + _ remove any reference to 'Editor' from Sketch.java _ or is that excessive, since Document is in there, etc _ Build does the heavy lifting anyway... @@ -69,18 +77,16 @@ _ casey's vote: _ Standard, Android, JavaScript, Jython _ or: Processing, Android, Processing.js, Processing.py -for the examples menu -top level directories will be grayed out categories - Basics, Topics, 3D, Books, Libraries, Contributed Libraries -'book' examples will be another category - i'll add vida examples, can offer to others if they want - should be "Getting Started" not GettingStarted -tempting to make an 'examples' button on the toolbar? - rather than merging things in an awkward way -also, move open to a submenu? - then we'd have open / recent / sketchbook - -move compiler to mode.java.* instead of runner +examples menu +X top level directories will be grayed out categories +X Basics, Topics, 3D, Books, Libraries, Contributed Libraries +X 'book' examples will be another category +X i'll add vida examples, can offer to others if they want +X should be "Getting Started" not GettingStarted +_ examples button on toolbar? +_ window that opens and contains list of examples +_ also, move open to a submenu? +_ then we'd have open / recent / sketchbook change 'export' to 'export applet' android will be "Export Project", "Export Release Application" @@ -91,11 +97,6 @@ _ this might be the same as arduino? We're making an assumption that the idea of a "library" refers to a block of Java-based code. The reasoning is that from within the PDE, we anticipate that it will be Java-compatible versions of other languages (such as Jython, JRuby, or Scala) as opposed to more generic languages. In the future we could open this up, but we'd rather not complicate things for the moment. -_ opt for separate examples/sketchbook/libraries for each mode -_ better to put the onus on the mode developers than users -_ and rather than trying to figure out a complicated scheme for inclusion -_ we can have something that takes care of auto-copying per-mode examples - _ on linux, mozilla shouldn't be the default browser anymore _ is there a way to query the default browser? gnome-open? xdg-open?