Yoh Deadfall
b32cb382fb
Fixed popup positioning issue
6 years ago
Dariusz Komosiński
05496ccf34
Fix owned windows and dialogs not having a parent.
6 years ago
Steven Kirk
c71b0e0f29
Make showing the window use correct offscreen parent.
6 years ago
Steven Kirk
81fc978d64
Use hidden window when clearing parent...
...if `ShowInTaskbar == false`.
6 years ago
Dan Walmsley
60a0ec9a3a
take into account the extended mode when Resize is called.
6 years ago
Dan Walmsley
1b681688f7
take into account render scaling.
6 years ago
Steven Kirk
a1d6531881
Use existing OffscreenParentWindow to hide taskbar icon.
6 years ago
Dan Walmsley
2de40fafd2
whitespace.
6 years ago
Dan Walmsley
9c192f0e37
whitespace.
6 years ago
Dan Walmsley
79665bfc74
maintain the client size when switching between extended and non extended client areas.
Previously the client area would grow to fill the window.
6 years ago
Steven Kirk
3184ac7a0f
Dispose the hidden window.
6 years ago
Steven Kirk
1bb6fad799
Fix ShowInTaskbar on Win32.
To hide the taskbar icon on win32 we need to parent the window to a hidden window.
6 years ago
Dan Walmsley
fe0b343b38
fix window sizing when client area is extended on win32
6 years ago
Steven Kirk
28b2e2061e
Don't call SetFocus on Windows with ShowActivated == false.
This was causing the window to get activated.
6 years ago
Yoh Deadfall
0a7ca87e3b
HasFlagCustom made safe and supports all enums
6 years ago
Steven Kirk
ea90f05f83
Added Window.ShowActive for win32.
6 years ago
Dariusz Komosinski
c24f65a5f7
Fix even more broken cases for closing child/dialog windows on win32.
6 years ago
Nikita Tsukanov
4efcd7a326
Use ICompositor5.RequestAsync completion handler as the render timer
6 years ago
Nikita Tsukanov
b51ea7702f
Use MicroCom for WinRT interop
6 years ago
Steven Kirk
ca408e55b5
Added ICursorImpl.
6 years ago
Dan Walmsley
ae876bd058
simplify composition connection.
6 years ago
Nikita Tsukanov
c4bbe3ac5e
Added WGL support
6 years ago
Dan Walmsley
10206e728d
Revert "make managed deferredrenderer lock global."
This reverts commit 28168d571b .
6 years ago
Nikita Tsukanov
b9985a8fa0
Refactorings for opengl context and surface management
6 years ago
Dan Walmsley
28168d571b
make managed deferredrenderer lock global.
6 years ago
Dan Walmsley
4d0c27dc8f
whitespace.
6 years ago
Dan Walmsley
6bcf36e23f
windows.ui.composition compatible with acrylic blur setting.
6 years ago
Dan Walmsley
1d12750598
allow enabling of windows.ui.composition with win32 options.
6 years ago
Dan Walmsley
d25d88cdfa
increase min windows version.
6 years ago
Dan Walmsley
fdb6848046
check windows 10 build number and set composition flag before create window is called.
6 years ago
Dan Walmsley
094e605af9
ensure dx11 api for win.ui.comp.
6 years ago
Dan Walmsley
7dc21fa216
only apply no-redirection bitmap if we are on windows 10.
6 years ago
Dan Walmsley
b0bc3f4ea8
check for windows 10 to decide to use windows.ui.comp tree to render into.
6 years ago
Dan Walmsley
3deae8dbff
no redirection bitmap
6 years ago
Steven Kirk
ed7a75acbc
Ensure windows set to fullscreen are shown.
Previously, `UnmanagedMethods.ShowWindow` wasn't called when trying to show a window with `WindowState="FullScreen"`.
This is because win32 conflates showing a window and setting a window state, and setting all windows states except fullscreen require a call to `ShowWindow`, except fullscreen which does *not*. However it does require a call to `ShowWindow` when we are actually showing the window ;)
6 years ago
Kir-Antipov
3c62c43cc6
Hid maximize box on Windows for `CanResize = false`
6 years ago
Dan Walmsley
c46df2b0a9
usings.
6 years ago
Dan Walmsley
54eb6d0343
remove comments, add missing braces (style), tidy.
6 years ago
Splitwirez
63fd7471ec
Yeeted aerohost check
6 years ago
Splitwirez
62ef6e9eee
E
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Dariusz Komosinski
1d94f80f7f
Dispose window framebuffers.
6 years ago
Dan Walmsley
7b7411a3a2
add platform specific compensation levels.
6 years ago
Dan Walmsley
04b9058ebb
dont disable close button if we are not extending client area.
6 years ago
Dan Walmsley
0ff864502a
disable close button when using managed chrome or no chrome.
6 years ago
Dan Walmsley
372f8e3938
1 graphics device, 1 surface and visual tree per window.
6 years ago
Dan Walmsley
1f9e395fab
hack to clear window context, and only call interopsurface.resize when size actually changes.
6 years ago
Dan Walmsley
e53dfc0d36
add blur and avalonia surface visual ontop of blur.
6 years ago
Dan Walmsley
016935a023
attached composition gl surface to composition tree.
6 years ago
Dan Walmsley
459e9db2fb
add Composition interfaces.
6 years ago