Dan Walmsley
35bc310fcd
win32 - dont loose window state when hide and show are called programatically.
5 years ago
Steven Kirk
2a09574ba7
Revert "Fixed gradient brush target rectangles."
Reverts #6066 . Keeps the render tests to demonstrate that the WPF behavior can be reproduced by pushing a translation.
5 years ago
Tako
3867a68ade
Fix EntryPointNotFound on Windows 8 due to missing version check ( #6471 )
* Prevent calls to unavailable entrypoint 'GetDpiForMonitor' on Win8 (#5357 )
* Introduce Windows8 platform constant
* wip
Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
Co-authored-by: Tim Schneeberger <thebone.main@gmail.com>
Co-authored-by: Dan Walmsley <dan@walms.co.uk>
5 years ago
Giuseppe Lippolis
8dbf3bf86e
fixes(Win32.Interop): field 'Direct2DImageSurface._oldDpi' is never assigned to, and will always have its default value
5 years ago
Steven Kirk
51862d1b4b
Don't display warning when TryCreateAndRegister succeeds.
5 years ago
Wiesław Šoltés
39e7d362b2
Enable antialiasing for PushGeometryClip
5 years ago
Takoooooo
f283921e28
fix
5 years ago
Takoooooo
c2c9790111
update
5 years ago
Takoooooo
01b87381b7
enable multitouch
5 years ago
Takoooooo
3dd91adc27
add comments
5 years ago
mat1jaczyyy
ca2acc9516
WindowImpl: Don't change z-order when Position is set
5 years ago
Dan Walmsley
0ddc444d2c
Rename eventargs class.
5 years ago
Dan Walmsley
c9458e5be8
use a ShutdownRequestedEventArgs class to future proof the event args.
5 years ago
Dan Walmsley
57ffcb85f7
initial implementation of win32 shutdown cancelling.
5 years ago
Steven Kirk
ba369a9059
Fix auto-scaling on win32.
- Adds a "resize reason" to platform `Resized` events
- Which is used by the auto-sizing code to determine whether to reset `SizeToContent`
- Also other improvements to the reset logic for `SizeToContent`:
- Don't reset it if the size hasn't changed
- Don't reset it if `CanResize == false`
- Only reset the dimensions whose size has changed
- Obsolete the `BeginAutoSizing`/`AutoSizing` feature in `WindowBase`
5 years ago
Steven Kirk
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
Giuseppe Lippolis
b85bba7d2d
fixes: Dialog cancel consistency on windows
5 years ago
Max Katz
c5a498e563
Shift+F10 is windows specific gesture
5 years ago
Giuseppe Lippolis
955fb1ffdb
fixes: Warnings CS0169
5 years ago
Nathan Garside
bccbf0570c
Make FrameSize nullable
5 years ago
Nathan Garside
3c91183900
Fix when dwm disabled
5 years ago
Nathan Garside
d77d1fd5da
Rename to FrameSize
5 years ago
Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Steven Kirk
82754cb163
Fixed gradient brush target rectangles.
When drawn via the `DrawingContext` gradient brushes were not taking the origin of the target rect into account, only the size.
Fixes #5947 .
5 years ago
Dariusz Komosinski
4b2852f0e1
Fix light dismiss overlay intercepting titlebar hit tests.
5 years ago
Steven Kirk
78f7726289
Don't activate window when extending client area.
Fixes #5988
5 years ago
Benedikt Schroeder
08a72e893c
Increase TextFormatter compatibility with WPF's version
5 years ago
Dan Walmsley
a4ebe5dbb5
add direct2d implementation.
5 years ago
Yoh Deadfall
b32cb382fb
Fixed popup positioning issue
5 years ago
Dariusz Komosiński
05496ccf34
Fix owned windows and dialogs not having a parent.
5 years ago
Steven Kirk
c71b0e0f29
Make showing the window use correct offscreen parent.
5 years ago
Steven Kirk
81fc978d64
Use hidden window when clearing parent...
...if `ShowInTaskbar == false`.
5 years ago
Dan Walmsley
60a0ec9a3a
take into account the extended mode when Resize is called.
5 years ago
Dan Walmsley
1b681688f7
take into account render scaling.
5 years ago
Steven Kirk
a1d6531881
Use existing OffscreenParentWindow to hide taskbar icon.
5 years ago
Dan Walmsley
2de40fafd2
whitespace.
5 years ago
Dan Walmsley
9c192f0e37
whitespace.
5 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.
5 years ago
Jumar Macato
077b2cbfd1
address review
5 years ago
Steven Kirk
3184ac7a0f
Dispose the hidden window.
5 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.
5 years ago
Jumar Macato
74a74acf0c
set from float to double
5 years ago
Jumar Macato
4ef47bfdb0
Add TryGetSegment
5 years ago
Jumar Macato
4bffeaf327
use pop/push model for blendingmode instead.
5 years ago
Jumar Macato
88fef2fdd5
Add Bitmap Blending Mode API
5 years ago
Jumar Macato
38b322b02b
add partial d2d implementation
5 years ago
Dan Walmsley
fe0b343b38
fix window sizing when client area is extended on win32
5 years ago
Steven Kirk
28b2e2061e
Don't call SetFocus on Windows with ShowActivated == false.
This was causing the window to get activated.
5 years ago
Steven Kirk
aa737fbd58
Dispose the frame returned from BitmapDecoder.GetFrame.
Fixes #975 .
5 years ago
Yoh Deadfall
0a7ca87e3b
HasFlagCustom made safe and supports all enums
6 years ago