diff options
author | Sven Gothel <[email protected]> | 2009-10-03 20:36:23 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-03 20:36:23 -0700 |
commit | 4d4b7c52d032d0c9302e4e16560f2e874e31b8bc (patch) | |
tree | 6e74ed48af864dcd3ca37b5d8ad45f07c30be2a7 /src/nativewindow/classes/javax/media | |
parent | 907c249a5a6f80d10912440aa073ba42b94ae6de (diff) |
surfaceupdated:: NativeWindow: passing 'updater'; NEWT: adding event listener
Diffstat (limited to 'src/nativewindow/classes/javax/media')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java index cdac2de71..1b000072e 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java @@ -126,8 +126,11 @@ public interface NativeWindow { /** * Method invoked after the render toolkit (e.g. JOGL) * swapped/changed the buffer/surface. + * + * @param updater is the caller object who updated the surface, + * e.g. a JOGL GLDrawable. */ - public void surfaceUpdated(); + public void surfaceUpdated(Object updater); /** * render all native window information invalid, @@ -199,4 +202,5 @@ public interface NativeWindow { * AbstractGraphicsConfiguration . AbstractGraphicsScreen */ public int getScreenIndex(); + } |