Internal use only: called by Surface objects to queue a resize event to call windowResized() when it's safe, which is after the beginDraw() call and before the draw(). Note that this is only the notification that the resize has happened.
(int newWidth, int newHeight)
| 9684 | * only the notification that the resize has happened. |
| 9685 | */ |
| 9686 | public void postWindowResized(int newWidth, int newHeight) { |
| 9687 | windowEventQueue.put("w", newWidth); |
| 9688 | windowEventQueue.put("h", newHeight); |
| 9689 | } |
| 9690 | |
| 9691 | |
| 9692 | /** Called when window is resized. */ |
no test coverage detected