aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-21 20:51:50 +0200
committerSven Gothel <[email protected]>2010-10-21 20:51:50 +0200
commit61e6325eed2337d791479ddcd2eb8da928b4f94c (patch)
treea62a3bae5a8ee34a835d0fe5811d80371a6aae5a
parent9efc951e53c41e21a0c8bfed6dcc22762d9b413c (diff)
Make ScreenMode public, ie move from newt.impl to newt.
-rw-r--r--src/junit/com/jogamp/test/junit/newt/TestScreenMode01NEWT.java2
-rw-r--r--src/junit/com/jogamp/test/junit/newt/TestScreenMode02NEWT.java2
-rw-r--r--src/newt/classes/com/jogamp/newt/Screen.java3
-rw-r--r--src/newt/classes/com/jogamp/newt/ScreenMode.java (renamed from src/newt/classes/com/jogamp/newt/impl/ScreenMode.java)2
-rw-r--r--src/newt/classes/com/jogamp/newt/impl/ScreenImpl.java1
-rw-r--r--src/newt/classes/com/jogamp/newt/impl/ScreenModeStatus.java2
-rw-r--r--src/newt/classes/com/jogamp/newt/impl/windows/WindowsScreen.java2
-rw-r--r--src/newt/classes/com/jogamp/newt/impl/x11/X11Screen.java2
8 files changed, 9 insertions, 7 deletions
diff --git a/src/junit/com/jogamp/test/junit/newt/TestScreenMode01NEWT.java b/src/junit/com/jogamp/test/junit/newt/TestScreenMode01NEWT.java
index a3da32bd3..ec6414402 100644
--- a/src/junit/com/jogamp/test/junit/newt/TestScreenMode01NEWT.java
+++ b/src/junit/com/jogamp/test/junit/newt/TestScreenMode01NEWT.java
@@ -41,7 +41,7 @@ import com.jogamp.newt.Display;
import com.jogamp.newt.NewtFactory;
import com.jogamp.newt.Screen;
import com.jogamp.newt.Window;
-import com.jogamp.newt.impl.ScreenMode;
+import com.jogamp.newt.ScreenMode;
import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.test.junit.jogl.demos.gl2.gears.Gears;
import com.jogamp.test.junit.util.UITestCase;
diff --git a/src/junit/com/jogamp/test/junit/newt/TestScreenMode02NEWT.java b/src/junit/com/jogamp/test/junit/newt/TestScreenMode02NEWT.java
index 4d6c40016..c46820ffd 100644
--- a/src/junit/com/jogamp/test/junit/newt/TestScreenMode02NEWT.java
+++ b/src/junit/com/jogamp/test/junit/newt/TestScreenMode02NEWT.java
@@ -42,7 +42,7 @@ import com.jogamp.newt.Display;
import com.jogamp.newt.NewtFactory;
import com.jogamp.newt.Screen;
import com.jogamp.newt.Window;
-import com.jogamp.newt.impl.ScreenMode;
+import com.jogamp.newt.ScreenMode;
import com.jogamp.test.junit.util.UITestCase;
public class TestScreenMode02NEWT extends UITestCase {
diff --git a/src/newt/classes/com/jogamp/newt/Screen.java b/src/newt/classes/com/jogamp/newt/Screen.java
index ab4b9f0b4..b57e34091 100644
--- a/src/newt/classes/com/jogamp/newt/Screen.java
+++ b/src/newt/classes/com/jogamp/newt/Screen.java
@@ -29,11 +29,10 @@
package com.jogamp.newt;
import com.jogamp.newt.impl.Debug;
-import com.jogamp.newt.impl.ScreenMode;
import javax.media.nativewindow.AbstractGraphicsScreen;
public interface Screen {
- public static final boolean DEBUG = Debug.debug("Display");
+ public static final boolean DEBUG = Debug.debug("Screen");
boolean isNativeValid();
diff --git a/src/newt/classes/com/jogamp/newt/impl/ScreenMode.java b/src/newt/classes/com/jogamp/newt/ScreenMode.java
index 2b61d34c4..f37652a23 100644
--- a/src/newt/classes/com/jogamp/newt/impl/ScreenMode.java
+++ b/src/newt/classes/com/jogamp/newt/ScreenMode.java
@@ -1,4 +1,4 @@
-package com.jogamp.newt.impl;
+package com.jogamp.newt;
public class ScreenMode {
public static final int ROTATE_0 = 0;
diff --git a/src/newt/classes/com/jogamp/newt/impl/ScreenImpl.java b/src/newt/classes/com/jogamp/newt/impl/ScreenImpl.java
index 4535213da..37a751fe1 100644
--- a/src/newt/classes/com/jogamp/newt/impl/ScreenImpl.java
+++ b/src/newt/classes/com/jogamp/newt/impl/ScreenImpl.java
@@ -34,6 +34,7 @@
package com.jogamp.newt.impl;
+import com.jogamp.newt.ScreenMode;
import com.jogamp.newt.*;
import javax.media.nativewindow.*;
diff --git a/src/newt/classes/com/jogamp/newt/impl/ScreenModeStatus.java b/src/newt/classes/com/jogamp/newt/impl/ScreenModeStatus.java
index 2ea77c33e..94d3eb4e6 100644
--- a/src/newt/classes/com/jogamp/newt/impl/ScreenModeStatus.java
+++ b/src/newt/classes/com/jogamp/newt/impl/ScreenModeStatus.java
@@ -1,5 +1,7 @@
package com.jogamp.newt.impl;
+import com.jogamp.newt.ScreenMode;
+
public class ScreenModeStatus {
private String screenFQN = null;
private ScreenMode[] screenModes = null;
diff --git a/src/newt/classes/com/jogamp/newt/impl/windows/WindowsScreen.java b/src/newt/classes/com/jogamp/newt/impl/windows/WindowsScreen.java
index 3cac617ab..04ffbe11d 100644
--- a/src/newt/classes/com/jogamp/newt/impl/windows/WindowsScreen.java
+++ b/src/newt/classes/com/jogamp/newt/impl/windows/WindowsScreen.java
@@ -37,7 +37,7 @@ import java.util.ArrayList;
import com.jogamp.newt.*;
import com.jogamp.newt.impl.ScreenImpl;
-import com.jogamp.newt.impl.ScreenMode;
+import com.jogamp.newt.ScreenMode;
import com.jogamp.newt.impl.ScreenModeStatus;
import javax.media.nativewindow.*;
diff --git a/src/newt/classes/com/jogamp/newt/impl/x11/X11Screen.java b/src/newt/classes/com/jogamp/newt/impl/x11/X11Screen.java
index f01ffdea4..52c80bbe9 100644
--- a/src/newt/classes/com/jogamp/newt/impl/x11/X11Screen.java
+++ b/src/newt/classes/com/jogamp/newt/impl/x11/X11Screen.java
@@ -34,7 +34,7 @@
package com.jogamp.newt.impl.x11;
import com.jogamp.newt.impl.ScreenImpl;
-import com.jogamp.newt.impl.ScreenMode;
+import com.jogamp.newt.ScreenMode;
import com.jogamp.newt.impl.ScreenModeStatus;
import javax.media.nativewindow.x11.*;