From af51e1b06228c44adbb40eff1529eda7a6e9e408 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 10 Aug 2009 14:02:05 -0700 Subject: NativeWindow: Add destroy() method, allowing external module to dispose a NativeWindow instance --- .../classes/javax/media/nativewindow/NativeWindow.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nativewindow/classes/javax') diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java index 6a588538d..cdac2de71 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java @@ -132,9 +132,17 @@ public interface NativeWindow { /** * render all native window information invalid, * as if the native window was destroyed + * + * @see #destroy */ public void invalidate(); + /** + * destroys the window and releases + * windowing related resources. + */ + public void destroy(); + /** * Returns the window handle for this NativeWindow.

* -- cgit v1.2.3