Steven Kirk
509b9d8f09
Add additional null checks to WindowBaseImpl.
Fixes #7231 .
4 years ago
Steven Kirk
bc128676c4
Make OSX a11y work again.
Pretty major refactor of that code.
4 years ago
Steven Kirk
11c60b4294
Decouple automation peers from platform nodes.
Now peers are entirely unaware of the platform implementation.
4 years ago
Sergey Mikolaitis
33c22a952f
[OSX] Add PointerMagnifyGesture, PointerRotateGesture, PointerSwipeGesture events
4 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
32c0eac415
Prevent dialog parent from becoming key window.
5 years ago
Steven Kirk
cd51d638e9
Pass dialog flag to window impl Show.
Not doing anything with it yet.
5 years ago
Nathan Garside
bccbf0570c
Make FrameSize nullable
5 years ago
Nathan Garside
d77d1fd5da
Rename to FrameSize
5 years ago
Nathan Garside
9feb2376a0
Squash toplevel-totalsize
5 years ago
Steven Kirk
1553b89bd7
Fix a11y for popup windows.
- Don't show when creating a popup window with a11y enabled
- Raise focus changed notification on element that got focus instead of the window
5 years ago
Steven Kirk
d6d583a16e
Initial implementation of OSX automation.
5 years ago
Dan Walmsley
863961551c
fix implementation of ScalingChanged property.
there were 2x implementations, 1x implicit, 1x explicit... :face-palm:
5 years ago
Steven Kirk
8add2371c6
Make root automation node come from OS.
This will be needed for OSX.
5 years ago
Dan Walmsley
bd159fbde7
Fix auto sizing.
5 years ago
Dan Walmsley
a088910f31
Add OSX implementation.
5 years ago
Nikita Tsukanov
165bc28409
[AVNCOM] Manually pass `bool` values as `int` for now
5 years ago
Dan Walmsley
be8a3e83fa
fix OSX NRE.
5 years ago
Dan Walmsley
eecc91feaa
cleaner fix.
5 years ago
Dan Walmsley
8946f4f80d
prevent NRE when popup is open and main window closes.
5 years ago
Nikita Tsukanov
aeb08c7ae3
Use MicroCom instead of SharpGen (NOT TESTED YET)
5 years ago
Andrey Kunchev
d1156c7f1f
remove redundant check for renderer so app can request macos native invalidate of window
5 years ago
Dan Walmsley
f8eaca28e8
save some lines.
5 years ago
Dan Walmsley
a23b4bd97f
dont raise events when window isnt shown.
5 years ago
Steven Kirk
ca408e55b5
Added ICursorImpl.
5 years ago
Steven Kirk
a832d63915
IStandardCursorFactory -> ICursorFactory.
5 years ago
Nikita Tsukanov
b9985a8fa0
Refactorings for opengl context and surface management
5 years ago
Dan Walmsley
838daf7683
dont make native handle null so closing events can complete.
6 years ago
Dan Walmsley
c607b1a4dc
prevent popup crashing when mainwindow has closed and popup still open.
6 years ago
Dan Walmsley
67381d0a91
dont crash when window is closed and apis are still called.
6 years ago
Nikita Tsukanov
be38f7ebd4
Enabled custom renderer factory for X11 and macOS
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Dan Walmsley
8c331534a9
fix nre on osx when tooltip closes.
6 years ago
Dan Walmsley
7b7411a3a2
add platform specific compensation levels.
6 years ago
Dan Walmsley
a8aff643f0
fix more nits.
6 years ago
Nikita Tsukanov
8c851b440e
OSX various popup focus shenanigans
6 years ago
Dan Walmsley
4c5c806729
initial implementation of chrome api on osx.
6 years ago
Dan Walmsley
76316e4a44
osx reports transparent as its minimum transparency level.
6 years ago
Dan Walmsley
730862b753
Add acrylic blur level with fallbacks to blur reported.
6 years ago
Dan Walmsley
d1049fd79f
dont use property for setting transparency level hint.
6 years ago
Dan Walmsley
4011cb3f49
Use Hint/Actual naming
6 years ago
Dan Walmsley
0c3f2aa856
implement transparency api on osx.
6 years ago
Dan Walmsley
30b81f1ded
Add stubs for transparency in other toplevel impls.
6 years ago
Nikita Tsukanov
39501e5b30
DnD support for OSX
6 years ago
Nikita Tsukanov
e2bde7155f
Refactored GL version and context management
6 years ago
Nikita Tsukanov
636c6800cf
Merged LostFocus to ITopLevelImpl
6 years ago
Nikita Tsukanov
8f73baf507
Ported native embedding PR to master
6 years ago
Steven Kirk
95735d239b
Measure Window to MaxAutoSizeHint.
- Renamed `MaxClientSize` to `MaxAutoSizeHint`
- On Windows get its value from `WM_GETMINMAXINFO` message
- Remove `ILayoutRoot.MaxClientSize` as it's not used any more
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Dan Walmsley
97bcb443ff
dont crash when closing window on OSX.
6 years ago