diff options
author | Sven Gothel <[email protected]> | 2013-10-03 15:19:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-03 15:19:29 +0200 |
commit | 7f7275834922b9c30aec6520dc5c5f20939a49d8 (patch) | |
tree | 60ba99266d9a869c5f727ecd91c241dce24ca528 /make | |
parent | 60968cdc388b6a7464da3a6b58f25cb61e29f681 (diff) |
Bug 816 (OSX CALayer pos): Fix location on 'inner CALayer' calculation
'inner CALayer' is the outter AWT Window client space (content).
+++
Pseudo-Code:
p0 = c.locationOnScreen();
p0 -= c.getOutterComp.getPos();
p0 -= c.getOutterComp.getInsets();
Where 'locationOnScreen()' is:
p0 = 0/0;
while( null != c ) {
p0 += c.getPos();
}
+++
JAWTWindow.getLocationOnScreenNonBlocking(..) validated against
AWT's Component.getLocationOnScreen() - OK for all use-cases.
(Validation enabled w/ DEBUG)
All unit tests manually validated on OSX 10.7 w/ jdk7u40.
Diffstat (limited to 'make')
0 files changed, 0 insertions, 0 deletions