summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/javax
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-10-03 20:36:23 -0700
committerSven Gothel <[email protected]>2009-10-03 20:36:23 -0700
commit4d4b7c52d032d0c9302e4e16560f2e874e31b8bc (patch)
tree6e74ed48af864dcd3ca37b5d8ad45f07c30be2a7 /src/nativewindow/classes/javax
parent907c249a5a6f80d10912440aa073ba42b94ae6de (diff)
surfaceupdated:: NativeWindow: passing 'updater'; NEWT: adding event listener
Diffstat (limited to 'src/nativewindow/classes/javax')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java6
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();
+
}