MCPcopy Index your code
hub / github.com/benfry/processing4 / postWindowMoved

Method postWindowMoved

core/src/processing/core/PApplet.java:9723–9730  ·  view source on GitHub ↗

Internal use only: called by Surface objects to queue a position event to call windowPositioned() when it's safe, which is after the beginDraw() call and before the draw(). Note that this is only the notification that the window is in a new position.

(int newX, int newY)

Source from the content-addressed store, hash-verified

9721 * only the notification that the window is in a new position.
9722 */
9723 public void postWindowMoved(int newX, int newY) {
9724 if (external && !fullScreen) {
9725 frameMoved(newX, newY);
9726 }
9727
9728 windowEventQueue.put("x", newX);
9729 windowEventQueue.put("y", newY);
9730 }
9731
9732
9733 /** Called when the window is moved */

Callers 4

windowMovedMethod · 0.80
placeWindowMethod · 0.80
componentResizedMethod · 0.80
componentMovedMethod · 0.80

Calls 2

frameMovedMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected