diff options
author | Sven Gothel <[email protected]> | 2011-11-09 01:17:23 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-09 01:17:23 +0100 |
commit | f51e3dad6c4bd1f6d0001cecf6a0f692400ed602 (patch) | |
tree | dc389a9ebd71ae140266b1ab2bf58417893bccc0 /src/newt/native/Window.h | |
parent | d8fa00d35a49f4faf5f04aeb7e2bba4e972965f5 (diff) |
OS X Layered View: Part4 NEWT OffscreenWindow/WindowImpl fix
WindowImpl:
- Impl. NativeSurfaceHolder/NativeWindowHolder 'hooks'
- setScreen() utilize proper screen reference count/destruction:
- set 'screenReferenceAdded=true' and incr. ref-count,
hence next destroy() properly decr. ref-count (may destuct screen).
OffscreenWindow:
- Allow parent window handle (simply ignore it)
Otherwise we could not use OffscreenWindow for parenting tests.
- Fix setSize() propaget if !isNativeValid() instead of !isVisible(),
otherwise lazy initialization doesn't work.
- Allow reconfigureWindowImpl() to pass flags other than visible,
simply ignore them.
Diffstat (limited to 'src/newt/native/Window.h')
0 files changed, 0 insertions, 0 deletions