summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-12-20 20:43:56 +0100
committerSven Gothel <[email protected]>2011-12-20 20:43:56 +0100
commitbaca92ef4cead762663efa61e81584c8a8ece7b4 (patch)
tree0edab2eb86cba79ececdbb150a6f38dc828a3d5b /src/newt/classes/com
parent734a9dbc4b8eaedf0e0bb698b8692ebd31ff8707 (diff)
NEWT initScreenModeStatus(): Issue setScreenSize() to update screen size based on native RANDR (more correct)
Clarify Screen's getWidth(), getHeight() values (-> rotated) Also add DEBUG output for collected native modes and nativeIdx mapping.
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/Screen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/classes/com/jogamp/newt/Screen.java b/src/newt/classes/com/jogamp/newt/Screen.java
index d25d3e7ac..b6d863965 100644
--- a/src/newt/classes/com/jogamp/newt/Screen.java
+++ b/src/newt/classes/com/jogamp/newt/Screen.java
@@ -120,12 +120,12 @@ public abstract class Screen {
public abstract int getIndex();
/**
- * @return the current screen width
+ * @return the current screen width, reflecting {@link ScreenMode} rotation
*/
public abstract int getWidth();
/**
- * @return the current screen height
+ * @return the current screen height, reflecting {@link ScreenMode} rotation
*/
public abstract int getHeight();