aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/newt/X11Window.c
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/native/newt/X11Window.c
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/native/newt/X11Window.c')
-rwxr-xr-xsrc/native/newt/X11Window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/native/newt/X11Window.c b/src/native/newt/X11Window.c
index 1640a36fc..972bb72a7 100755
--- a/src/native/newt/X11Window.c
+++ b/src/native/newt/X11Window.c
@@ -407,6 +407,8 @@ JNIEXPORT void JNICALL Java_com_sun_javafx_newt_x11_X11Window_DispatchMessages
break;
}
+ // FIXME: support resize and window re-positioning events
+
switch(evt.type) {
case ButtonPress:
if(evt.xbutton.window==w) {