diff options
author | Sven Gothel <[email protected]> | 2011-09-06 02:56:07 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-06 02:56:07 +0200 |
commit | 4faa65ee907a78649e118717574c96031dc9e79b (patch) | |
tree | ed5e034e796c4174a60de38b64382433a24bf473 /www/fenggui.jpg | |
parent | 7ea8aa31e055ba95a062c87ec4d606f73c2504fa (diff) |
NEWT/Window/Insets: Implement proper Inset usage ; Cleanup WindowImpl::reconfigureWindowImpl
Implement proper Inset usage (window decoration size)
- Insets are either polled (updateInsets()) or event driven (insetsChanged())
- Insets are used for size/pos calculations from Java side
- Natural size/pos in NEWT is client-area, ie w/o Insets
- Adding setTopLevelPosition()/setTopLevelSize() for top-level values,
ie including insets
WindowImpl::reconfigureWindowImpl
- Use flags to pass down the requested action to the native implementation
- Impl. all native actions: visible, decoration, reparent, resize, fullscreen
- Always use size/pos in client-area space, impl. shall use Insets to tranform them
- Remove double-setting of (reparent/fullscreen), which where introduced due to buggy impl. code
- Fix return from fullscreen position: Was overwritten with FS position (0/0)
- Fix decoration change: Remove visible toggle - not required, and actually disturbing
X11Windows/WindowsWindow: Added/Fixed Insets impl.
Tests (manual):
- TestSharedContextVBOES2NEWT utilizies proper window layout using Insets
- TestParenting03bAWT uses window layout for reparenting
Diffstat (limited to 'www/fenggui.jpg')
0 files changed, 0 insertions, 0 deletions