Package list lwjgl / 6c1c957
unapply nomacosx.diff Michael Gilbert 7 years ago
4 changed file(s) with 14 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
245245 <class name="org.lwjgl.opengl.WindowsContextImplementation" />
246246 </javah>
247247
248 <!-- <javah classpath="${lwjgl.bin}" destdir="${lwjgl.src.native}/macosx" force="yes">
248 <javah classpath="${lwjgl.bin}" destdir="${lwjgl.src.native}/macosx" force="yes">
249249 <class name="org.lwjgl.MacOSXSysImplementation" />
250250 <class name="org.lwjgl.opengl.MacOSXMouseEventQueue" />
251251 <class name="org.lwjgl.opengl.MacOSXCanvasPeerInfo" />
253253 <class name="org.lwjgl.opengl.MacOSXPbufferPeerInfo" />
254254 <class name="org.lwjgl.opengl.MacOSXDisplay" />
255255 <class name="org.lwjgl.opengl.MacOSXContextImplementation" />
256 </javah> -->
256 </javah>
257257
258258 <javah classpath="${lwjgl.bin}" destdir="${lwjgl.src.headers}" force="yes">
259259 <class name="org.lwjgl.opengl.AWTSurfaceLock" />
292292 </tokenfilter>
293293 </filterchain>
294294 </loadfile>
295 <!-- <loadfile srcfile="${lwjgl.src}/java/org/lwjgl/MacOSXSysImplementation.java" property="lwjgl.java.macosx.version">
295 <loadfile srcfile="${lwjgl.src}/java/org/lwjgl/MacOSXSysImplementation.java" property="lwjgl.java.macosx.version">
296296 <filterchain>
297297 <tokenfilter>
298298 <containsstring contains="JNI_VERSION ="/>
299299 </tokenfilter>
300300 </filterchain>
301 </loadfile> -->
301 </loadfile>
302302 <loadfile srcfile="${lwjgl.src.native}/windows/org_lwjgl_WindowsSysImplementation.h" property="lwjgl.native.windows.version">
303303 <filterchain>
304304 <tokenfilter>
313313 </tokenfilter>
314314 </filterchain>
315315 </loadfile>
316 <!-- <loadfile srcfile="${lwjgl.src.native}/macosx/org_lwjgl_MacOSXSysImplementation.h" property="lwjgl.native.macosx.version">
316 <loadfile srcfile="${lwjgl.src.native}/macosx/org_lwjgl_MacOSXSysImplementation.h" property="lwjgl.native.macosx.version">
317317 <filterchain>
318318 <tokenfilter>
319319 <containsstring contains="#define org_lwjgl_MacOSXSysImplementation_JNI_VERSION"/>
320320 </tokenfilter>
321321 </filterchain>
322 </loadfile> -->
322 </loadfile>
323323 <echo>
324324 lwjgl.java.windows.version = ${lwjgl.java.windows.version}
325325 lwjgl.native.windows.version = ${lwjgl.native.windows.version}
00 <project name="applet">
11
22 <!-- Create our packer task -->
3 <!-- <taskdef name="pack200" classname="com.sun.tools.apache.ant.pack200.Pack200Task" classpath="platform_build/Pack200Task.jar"/> -->
3 <taskdef name="pack200" classname="com.sun.tools.apache.ant.pack200.Pack200Task" classpath="platform_build/Pack200Task.jar"/>
44
55 <target name="applet">
66 <antcall target="-applet">
3232
3333 import java.awt.Toolkit;
3434
35 //import com.apple.eio.FileManager;
35 import com.apple.eio.FileManager;
3636
3737 /**
3838 *
5454
5555 public boolean openURL(String url) {
5656 try {
57 // FileManager.openURL(url);
57 FileManager.openURL(url);
5858 return true;
5959 } catch (Exception e) {
6060 LWJGLUtil.log("Exception occurred while trying to invoke browser: " + e);
5353 import org.lwjgl.LWJGLException;
5454 import org.lwjgl.LWJGLUtil;
5555
56 //import com.apple.eawt.Application;
57 //import com.apple.eawt.ApplicationAdapter;
58 //import com.apple.eawt.ApplicationEvent;
56 import com.apple.eawt.Application;
57 import com.apple.eawt.ApplicationAdapter;
58 import com.apple.eawt.ApplicationEvent;
5959
6060 import static org.lwjgl.opengl.GL11.*;
6161
7878 try {
7979 AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
8080 public Object run() throws Exception {
81 /* Application.getApplication().addApplicationListener(new ApplicationAdapter() {
81 Application.getApplication().addApplicationListener(new ApplicationAdapter() {
8282 public void handleQuit(ApplicationEvent event) {
8383 doHandleQuit();
8484 }
85 }); */
85 });
8686 return null;
8787 }
8888 });