aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-06-30 20:12:47 +0000
committerKenneth Russel <[email protected]>2008-06-30 20:12:47 +0000
commit252efbfd61fb62883df028cba5743e458a5b18c7 (patch)
treea5f5d87bca24309a4c6c5ac48497a30a70cd442c /src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java
parent7be2d71e458dd37789ceac43dede4b308eff45c2 (diff)
Refactored more C compiler setup into gluegen-cpptasks.xml to make it
easier to build native sources via Ant. Provided new gluegen.cpptasks.setup.compiler target which sets up platform-independent compiler and linker IDs and other properties which can be used in other projects' build files. Refactored JOGL build to use some of these new properties and eliminate duplication; more code savings possible. Added new GLWindow class to Newt implementing GLAutoDrawable to increase code sharing, and supporting making OpenGL calls inside of EventListener callbacks. Moved repaint() method from GLAutoDrawable to AWTGLAutoDrawable. Added WindowEvent and WindowListener interfaces to Newt, currently implemented on Windows and AWT backends (X11 backend would need to support and watch for window resizes -- FIXME added). Refactored common functionality into Newt Event class. Renumbered event IDs to avoid collisions. Fixed potential problems with removing event listeners inside of EventListener callbacks. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1702 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java')
-rw-r--r--src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java b/src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java
index ef5a7f2d7..85163f0ff 100644
--- a/src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java
+++ b/src/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java
@@ -43,4 +43,7 @@ import javax.media.opengl.*;
import javax.media.opengl.glu.*;
public interface AWTGLAutoDrawable extends GLAutoDrawable, ComponentEvents {
+ /** Schedules a repaint of the component at some point in the
+ future. */
+ public void repaint();
}