mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
misc notes
This commit is contained in:
+10
-11
@@ -29,11 +29,11 @@ import java.awt.event.*;
|
||||
|
||||
/**
|
||||
* A series of messages can be registered via PApplet.registerCall().
|
||||
* For instance parent.registerCall(PRE) inside of the setup method
|
||||
* For instance parent.registerCall(PRE) inside of the setup method
|
||||
* will make sure that this library is informed each time beginFrame
|
||||
* has just been called yet no drawing has taken place (would you like
|
||||
* has just been called yet no drawing has taken place (would you like
|
||||
* to take over the camera, eh?)
|
||||
*
|
||||
*
|
||||
* An assumption for library writers is that they're fairly
|
||||
* technically savvy and familiar with Java. The primary target
|
||||
* audience for Procesing is less technical, so libraries are
|
||||
@@ -63,34 +63,34 @@ public interface PLibrary {
|
||||
public void size(int w, int h);
|
||||
|
||||
/**
|
||||
* Called just after beginFrame() but before anything is
|
||||
* Called just after beginFrame() but before anything is
|
||||
* drawn in the user's draw() method.
|
||||
*/
|
||||
public void pre();
|
||||
|
||||
/**
|
||||
/**
|
||||
* Called before endFrame() but after all other drawing.
|
||||
*/
|
||||
public void draw();
|
||||
public void draw();
|
||||
|
||||
/**
|
||||
* Called betwee endFrame() and the next beginFrame()
|
||||
* so that things can be post-processed based on the final,
|
||||
* so that things can be post-processed based on the final,
|
||||
* fully rendered, image.
|
||||
*/
|
||||
public void post();
|
||||
|
||||
/**
|
||||
* If registered, this will be called when a mouse event has occurred.
|
||||
* Use event.getID() to see whether it's MouseEvent.MOUSE_CLICKED or
|
||||
* something else exciting.
|
||||
* Use event.getID() to see whether it's MouseEvent.MOUSE_CLICKED or
|
||||
* something else exciting.
|
||||
*/
|
||||
public void mouse(MouseEvent event);
|
||||
|
||||
/**
|
||||
* A key event has occurred, use event.getID() to see whether it's
|
||||
* KeyEvent.KEY_PRESSED or whatever.
|
||||
*/
|
||||
*/
|
||||
public void key(KeyEvent e);
|
||||
|
||||
/**
|
||||
@@ -103,5 +103,4 @@ public interface PLibrary {
|
||||
* its thread and associated resources.
|
||||
*/
|
||||
public void dispose();
|
||||
//public void stop();
|
||||
}
|
||||
|
||||
@@ -5,6 +5,13 @@ X cache settings are ignored, may be slow as hell
|
||||
|
||||
_ loadImage() is mostly broken
|
||||
|
||||
_ vertices max out at 512.. make it grow
|
||||
|
||||
_ getAllFonts() not quite working for many fonts
|
||||
_ i.e. Orator Std on windows.. macosx seems to be ok
|
||||
_ is getFamilyNames() any different/better?
|
||||
_ when did this break? 1.4.1? 1.4.x vs 1.3?
|
||||
|
||||
_ go through and figure out what stuff to make public
|
||||
|
||||
_ depth testing of lines vs text is problematic
|
||||
@@ -15,6 +22,9 @@ _ y2 position of rectangles not same as y2 position of lines
|
||||
|
||||
_ screenX/Y aren't properly working for 2D points against a 3D matrix
|
||||
_ (ryan alexander rounding bug)
|
||||
_ Just to clarify, it works completely correctly with rounding
|
||||
_ screenX/Y and also using the 3 arg version of translate -
|
||||
_ ie translate(hw,hh,0) instead of just translate(hw,hh).
|
||||
|
||||
text issues
|
||||
_ need to resolve SCREEN_SPACE vs OBJECT_SPACE
|
||||
|
||||
@@ -3,6 +3,13 @@ X error message when an import isn't available
|
||||
o particle examples c & d don't have their extra files
|
||||
o let's not call it 'expert', let's just say w/o java
|
||||
X new thread-safer version of the PdeEditorConsole
|
||||
X add build for particles lib
|
||||
|
||||
_ make sure that the preproc stuff gets built once
|
||||
_ especially straight out of cvs
|
||||
_ also out of cvs
|
||||
_ check for necessary tools to be installed
|
||||
_ zip, unzip, jikes, etc
|
||||
|
||||
macosx
|
||||
_ resize box intrudes on the scroller for the console area
|
||||
@@ -74,6 +81,9 @@ _ make exit() and/or size(0, 0) work for scripts
|
||||
libraries
|
||||
_ if videoEvent exists, don't auto-read?
|
||||
_ though for serial this would only grab the last byte
|
||||
_ video bug on osx? an error message when quitting video sketches:
|
||||
java.io.IOException: Bad file descriptor
|
||||
_ at java.io.FileInputStream.readBytes(Native Method) etc... ).
|
||||
_ how to queue lib events until the end of loop
|
||||
_ call them inside post()!
|
||||
_ bring back some form of beginSerial/beginVideo
|
||||
|
||||
Reference in New Issue
Block a user