diff options
Diffstat (limited to 'netx/com/jogamp/plugin/ui/NativeWindowUpstream.java')
-rw-r--r-- | netx/com/jogamp/plugin/ui/NativeWindowUpstream.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java b/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java index ccd42e0..942b509 100644 --- a/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java +++ b/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java @@ -57,6 +57,20 @@ public interface NativeWindowUpstream { public long getWindowHandle(); /** + * @return the current x position of the top-left corner + * of the client area relative to it's parent. + * Since the position reflects the client area, it does not include the insets. + */ + int getX(); + + /** + * @return the current y position of the top-left corner + * of the client area relative to it's parent. + * Since the position reflects the client area, it does not include the insets. + */ + int getY(); + + /** * Returns the width of the client area excluding insets (window decorations). * @return width of the client area */ |