summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
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 /src/newt/classes/com
parent9efc951e53c41e21a0c8bfed6dcc22762d9b413c (diff)
Make ScreenMode public, ie move from newt.impl to newt.
Diffstat (limited to 'src/newt/classes/com')
-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
6 files changed, 7 insertions, 5 deletions
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.*;