aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-01-05 21:45:45 +0000
committerKenneth Russel <[email protected]>2009-01-05 21:45:45 +0000
commit8d38222fc13c1e3f42ee0c0afb193e517749e94e (patch)
tree14f09bdf37173b6063622c5c44f1f5162795fd8c /make
parent5234bcafd962ac17c56162473acd72e0804911fa (diff)
Native (non-AWT) port of Newt to Mac OS X using Cocoa. Most
functionality (mouse click, mouse motion, mouse dragging, keyboard events) appears to be working. Currently works with the Apple JRE and requires the JVM command-line arguments -XstartOnFirstThread and -Djava.awt.headless=true . Will work with the standalone SoyLatte JRE pending additional launcher changes. Tested with Angeles demo and various JavaFX demos. Added -Dnewt.ws.name=AWT option to force the use of the AWT port of Newt on any supported platform. Known bugs: - While resizing a window or dropping down a menu, the application will hang. This is due to how the event processing is currently done in Newt (via Window.dispatchMessages()) and how Mac OS X deals with resize operations (by pushing a nested event loop into which we have no visibility). There are at least a couple of solutions. One would be to preserve the current API semantics but use a Newt Launcher class to move main() on to a different thread, saving the primordial thread for [NSApplication run]. Another would be to move Newt (and, by association, the JavaFX runtime code) to a callback model like GLUT. - Command-Q and the Quit menu option do not yet properly exit the application. - The coordinates for the WINDOW_MOVED event are wrong. Added the rest of the VK_ constants to the KeyEvent class. Made preliminary changes to support the SoyLatte JRE. Worked around initialization order issues with Fmod. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1838 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/build.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml
index 30dbe7b69..e8b2e8b8e 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -1345,7 +1345,7 @@
<patternset id="c.src.files.newt">
<!-- FIXME: NEWT should be moved to another library -->
<include name="${rootrel.src.c.newt}/WindowsWindow.c" if="isWindows"/>
- <include name="${rootrel.src.c.newt}/MacWindow.c" if="isOSX"/>
+ <include name="${rootrel.src.c.newt}/*.m" if="isOSX"/>
<include name="${rootrel.src.c.newt}/X11Window.c" if="isX11"/>
<include name="${rootrel.src.c.newt}/KDWindow.c" if="useKD"/>
</patternset>