diff options
author | Sven Gothel <[email protected]> | 2014-08-07 00:11:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-08-07 00:11:37 +0200 |
commit | 2965f17f1abd3c3af640407187ebedded29ad105 (patch) | |
tree | 607a7a1671dd46c23dcc1367186bc1b45a010104 /src/newt/classes | |
parent | 609b3f6d28bb13b589cde815acdb0e72e58ebe44 (diff) |
NEWT Window setSurfaceSize(..): Add API doc comment about setting pixel-unit size after creation in multiple monitor mode.v2.2.0
Diffstat (limited to 'src/newt/classes')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/Window.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/Window.java b/src/newt/classes/com/jogamp/newt/Window.java index 600ecee52..ec6d767fa 100644 --- a/src/newt/classes/com/jogamp/newt/Window.java +++ b/src/newt/classes/com/jogamp/newt/Window.java @@ -304,6 +304,11 @@ public interface Window extends NativeWindow, WindowClosingProtocol, ScalableSur * Sets the size of the window's surface in pixel units which claims the window's client area excluding decorations. * * <p> + * In multiple monitor mode, setting the window's surface size in pixel units + * might not be possible due to unknown <i>scale</i> values of the target display. + * Hence re-setting the pixel unit size after window creation is recommended. + * </p> + * <p> * Zero size semantics are respected, see {@link #setVisible(boolean)}:<br> * <pre> * if ( visible && 0 != windowHandle && ( 0 ≥ width || 0 ≥ height ) ) { |