fixed int() and float() problems, also the double f issues

This commit is contained in:
benfry
2002-06-30 15:16:02 +00:00
parent 34392d1ed5
commit 937f493922
2 changed files with 24 additions and 0 deletions

View File

@@ -265,6 +265,10 @@ public class PdeEditorButtons extends Panel {
}
private int findSelection(int x, int y) {
// if app loads slowly and cursor is near the buttons
// when it comes up, the app may not have time to load
if ((y1 == null) || (y2 == null)) return -1;
for (int i = 0; i < buttonCount; i++) {
if ((x > x1) && (y > y1[i]) &&
(x < x2) && (y < y2[i])) {

View File

@@ -17,10 +17,30 @@ o also important for things like cos, sin, max etc
o but maybe once you're doing more advanced code, that stuff's ok
o or using inner classes is better b/c class stuff works
o related classes also need to implement pConstants
X fixed annoying findSelection bug spew on startup
X (fixed) 0.4f no longer allowed in the code
_ fold simpleserial into BApplet
_ sprint an sprintln functions
_ make i/o work just like mouse (event driven, with dflt behavior)
_ need to have function to enable it in setup
_ modify to allow for the 'build' directory on lib
_ finish tweaks to folder layout in distribution ('java' subdir)
_ move p5 stuff out of lib so that dir can be moved more easily
_ maybe put bin/lib inside 'jre' folder and keep lib for p5
_ for people that want the space, they could remove 'jre'
_ will make much simpler to update
_ serial is probably broken in newer versions b/c of 1.3
_ make a new 'dist' function for building
_ make scrollbar for console
JAVA BUGS
_ cursor disappears in textarea and doesn't reappear until re-entry
_ windows: jre 1.3.1_03 through 1.4.0_01
UNSORTED
_ pde.properties_osx, pde.properties_os9, pde.properties,win ?
_ work towards alpha release