diff options
author | Sven Gothel <[email protected]> | 2011-10-11 23:53:01 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-11 23:53:01 +0200 |
commit | 5e6acd58bb499bfc7199683d6faae810b96847f7 (patch) | |
tree | d7be430d369996be337400887ff9d7c348fda5c0 /jogl.iml | |
parent | bdf1876f0fd654be02a9441e3dca7cfd7df26d58 (diff) |
NEWT/OSX: Fix erroneous child Window position and top-parent visibility
- Regardless whether the window is a top-level or child window,
we set it's position w/ absolut left-bottom coordinated.
To do so even for an AWT parent component, we retrieve the screen position
by traversing through the AWT tree and adding up each parent's rel. position,
since the native view only reflects the AWT frame.
Note: OSX does not use native views for each AWT component.
- In case we reparent child -> top, we cannot orderOut() the ex parent,
but need to just call orderBack(..), otherwise the whole ex-parent frame
gets hidden.
- In case we close a child window (and reparent child -> top),
we need to remove the parent/child relation and orderOut(..)
before close(..), otherwise the window artifact is left behind.
Diffstat (limited to 'jogl.iml')
0 files changed, 0 insertions, 0 deletions