changes for release 0161 rollover

This commit is contained in:
benfry
2008-11-24 18:25:12 +00:00
parent 709bed7598
commit fdc9ba8351
5 changed files with 30 additions and 22 deletions
+8 -8
View File
@@ -42,8 +42,8 @@ import processing.core.*;
* files and images, etc) that comes from that.
*/
public class Base {
static final int VERSION = 160;
static final String VERSION_NAME = "0160 Beta";
static final int VERSION = 161;
static final String VERSION_NAME = "0161 Beta";
static final int[] platforms = new int[] {
PConstants.WINDOWS, PConstants.MACOSX, PConstants.LINUX
@@ -471,12 +471,12 @@ public class Base {
protected int[] nextEditorLocation() {
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
int defaultWidth = Preferences.getInteger("default.window.width");
int defaultWidth = Preferences.getInteger("default.window.width");
int defaultHeight = Preferences.getInteger("default.window.height");
if (activeEditor == null) {
// If no current active editor, use default placement
return new int[] {
return new int[] {
(screen.width - defaultWidth) / 2,
(screen.height - defaultHeight) / 2,
defaultWidth, defaultHeight, 0
@@ -495,12 +495,12 @@ public class Base {
location[0] += OVER;
location[1] += OVER;
if (location[0] == OVER ||
if (location[0] == OVER ||
location[2] == OVER ||
location[0] + location[2] > screen.width ||
location[1] + location[3] > screen.height) {
// Warp the next window to a randomish location on screen.
return new int[] {
return new int[] {
(int) (Math.random() * (screen.width - defaultWidth)),
(int) (Math.random() * (screen.height - defaultHeight)),
defaultWidth, defaultHeight, 0
@@ -511,7 +511,7 @@ public class Base {
}
}
}
// .................................................................
+6
View File
@@ -1,3 +1,9 @@
0160 core
X stroked lines drawing on top of everything else in P3D
X http://dev.processing.org/bugs/show_bug.cgi?id=1032
X 100x100 sketches not working
0159 core
o disable present mode? (weirdness with placements on mac)
X deal with some present mode issues
+3 -4
View File
@@ -1,7 +1,6 @@
0160 core
X stroked lines drawing on top of everything else in P3D
X http://dev.processing.org/bugs/show_bug.cgi?id=1032
X 100x100 sketches not working
0161 core
X present on macosx causing strange flicker/jump while window opens
X using validate() for present mode, pack() otherwise
[ known problems ]
+12
View File
@@ -1,3 +1,15 @@
0160 pde
X fix editor window placement
X overlapping editor windows caused by activeEditor not being called in time
X see handleActivated in Base, and do placement differently
X may also need to deal w/ sync problems
X also make sure that it'll start at the top again when done
X implement check to see if the windows are running off screen
X add option to preferences for "export.delete_target_folder"
X set background color for present mode on export application
X set stop button for export to application
0159 pde
X caret not blinking
X width of export application on windows is bad
+1 -10
View File
@@ -1,13 +1,4 @@
0160 pde
X fix editor window placement
X overlapping editor windows caused by activeEditor not being called in time
X see handleActivated in Base, and do placement differently
X may also need to deal w/ sync problems
X also make sure that it'll start at the top again when done
X implement check to see if the windows are running off screen
X add option to preferences for "export.delete_target_folder"
X set background color for present mode on export application
X set stop button for export to application
0161 pde
_ a new release (1.0.1) is available