aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/javax/media
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-08-10 14:02:05 -0700
committerSven Gothel <[email protected]>2009-08-10 14:02:05 -0700
commitaf51e1b06228c44adbb40eff1529eda7a6e9e408 (patch)
treeaba9c08b9dd71908495e8a499b507603c4374024 /src/nativewindow/classes/javax/media
parent8ef9d7364a942c19ec5e1f306e08193e83f4fea6 (diff)
NativeWindow: Add destroy() method, allowing external module to dispose a NativeWindow instance
Diffstat (limited to 'src/nativewindow/classes/javax/media')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindow.java8
1 files changed, 8 insertions, 0 deletions
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. <P>
*