diff options
-rwxr-xr-x | src/demos/GLInfo.java | 4 | ||||
-rwxr-xr-x | src/demos/GLNewtRun.java | 6 | ||||
-rwxr-xr-x | src/demos/es1/Info.java | 4 | ||||
-rwxr-xr-x | src/demos/es1/RedSquare.java | 4 | ||||
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 4 | ||||
-rw-r--r-- | src/demos/es1/cube/Cube.java | 4 | ||||
-rw-r--r-- | src/demos/es1/cube/CubeImmModeSink.java | 4 | ||||
-rwxr-xr-x | src/demos/es1/cubefbo/Main.java | 4 | ||||
-rwxr-xr-x | src/demos/es2/RedSquare.java | 4 | ||||
-rw-r--r-- | src/demos/es2/openmax/Cube.java | 4 | ||||
-rwxr-xr-x | src/demos/es2/perftst/Perftst.java | 4 | ||||
-rwxr-xr-x | src/demos/readbuffer/Main.java | 4 |
12 files changed, 25 insertions, 25 deletions
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java index d9c5f56..9cd055d 100755 --- a/src/demos/GLInfo.java +++ b/src/demos/GLInfo.java @@ -33,8 +33,8 @@ public class GLInfo extends Thread implements GLEventListener { Window nWindow = null; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); System.err.println(glp+" "+nWindow); window = GLWindow.create(nWindow); } else { diff --git a/src/demos/GLNewtRun.java b/src/demos/GLNewtRun.java index 82aec19..40e5e1a 100755 --- a/src/demos/GLNewtRun.java +++ b/src/demos/GLNewtRun.java @@ -193,15 +193,15 @@ public class GLNewtRun extends WindowAdapter implements KeyListener, MouseListen Window nWindow = null; if(useAWT) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 if(useAWTTestFrame) { java.awt.MenuBar menuTest = new java.awt.MenuBar(); menuTest.add(new java.awt.Menu("External Frame Test - Menu")); java.awt.Frame frame = new java.awt.Frame("External Frame Test"); frame.setMenuBar(menuTest); - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, new Object[] { frame }, nScreen, caps); + nWindow = NewtFactory.createWindow(new Object[] { frame }, nScreen, caps); } else { - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + nWindow = NewtFactory.createWindow(nScreen, caps); } } else { Display nDisplay = NewtFactory.createDisplay(null); // local display diff --git a/src/demos/es1/Info.java b/src/demos/es1/Info.java index cc2fe86..c8e0edb 100755 --- a/src/demos/es1/Info.java +++ b/src/demos/es1/Info.java @@ -25,8 +25,8 @@ public class Info implements GLEventListener { Window nWindow = null; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java index e121cbd..4c3d299 100755 --- a/src/demos/es1/RedSquare.java +++ b/src/demos/es1/RedSquare.java @@ -118,8 +118,8 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java index 93f54c7..495ecc1 100755 --- a/src/demos/es1/angeles/Main.java +++ b/src/demos/es1/angeles/Main.java @@ -63,8 +63,8 @@ public class Main implements WindowListener, MouseListener { Window nWindow = null; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java index 430e475..fa88674 100644 --- a/src/demos/es1/cube/Cube.java +++ b/src/demos/es1/cube/Cube.java @@ -328,8 +328,8 @@ public class Cube implements GLEventListener { GLWindow window; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { diff --git a/src/demos/es1/cube/CubeImmModeSink.java b/src/demos/es1/cube/CubeImmModeSink.java index 279a19b..a75b274 100644 --- a/src/demos/es1/cube/CubeImmModeSink.java +++ b/src/demos/es1/cube/CubeImmModeSink.java @@ -393,8 +393,8 @@ public class CubeImmModeSink implements GLEventListener { GLWindow window; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java index 1ff9919..55261fd 100755 --- a/src/demos/es1/cubefbo/Main.java +++ b/src/demos/es1/cubefbo/Main.java @@ -64,8 +64,8 @@ public class Main implements WindowListener, MouseListener { Window nWindow = null; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java index 6606a5c..ec126db 100755 --- a/src/demos/es2/RedSquare.java +++ b/src/demos/es2/RedSquare.java @@ -104,8 +104,8 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/es2/openmax/Cube.java b/src/demos/es2/openmax/Cube.java index a6dfc53..5d318cf 100644 --- a/src/demos/es2/openmax/Cube.java +++ b/src/demos/es2/openmax/Cube.java @@ -321,8 +321,8 @@ public class Cube implements GLEventListener { GLWindow window; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/es2/perftst/Perftst.java b/src/demos/es2/perftst/Perftst.java index d44479e..4860e51 100755 --- a/src/demos/es2/perftst/Perftst.java +++ b/src/demos/es2/perftst/Perftst.java @@ -54,8 +54,8 @@ public class Perftst implements MouseListener, GLEventListener { Window nWindow = null; if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + nWindow = NewtFactory.createWindow(nScreen, caps); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/readbuffer/Main.java b/src/demos/readbuffer/Main.java index 8c18e08..1593817 100755 --- a/src/demos/readbuffer/Main.java +++ b/src/demos/readbuffer/Main.java @@ -95,8 +95,8 @@ public class Main implements WindowListener, MouseListener, SurfaceUpdatedListen // Setup init onscreen window .. if(0!=(typeNewt&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display - Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - Window nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + Screen nScreen = NewtFactory.createScreen(nDisplay, 0); // screen 0 + Window nWindow = NewtFactory.createWindow(nScreen, caps); window = GLWindow.create(nWindow); } else { Display nDisplay = NewtFactory.createDisplay(null); // local display |