Steven Kirk
981dfd29d7
Added WindowBase.Resized event.
Which exposes the resize reason and new client size. Required renaming `PlatformResizeReason` to `WindowResizeReason`. Made `TopLevel.HandleResized` method internal.
3 years ago
Emmanuel Hansen
04c8b652c8
move clipboard to TopLevel
3 years ago
Max Katz
f4e35493c9
Add missed IPlatformBehaviorInhibition to the TryGetFeature
3 years ago
Steven Kirk
eb1aa547a8
Fix default transparency level.
The macOS backend sets up a window with a transparency level of `None` but the managed code thinks it's `Transparent`, meaning that making the window transparent did nothing as it thinks it's already set.
Fixes #8419
3 years ago
Max Katz
f5a81d71e2
Introduce TopLevelImpl.TryGetFeature instead of having multiple interfaces per feature
3 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
3 years ago
Max Katz
8f11c5a6ed
macOS implementation
3 years ago
Giuseppe Lippolis
779a31f6ef
feat(Native): Address Rule CA1823
4 years ago
Nikita Tsukanov
eaf2ce38a4
Context management
4 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Nikita Tsukanov
bb1469dbff
[OSX] Use non-opaque window background for non-transparent windows
4 years ago
robloo
d816726ef0
Rename Scale to Scaling and update more comments
4 years ago
robloo
6bc689a662
Updates from code review
4 years ago
Nikita Tsukanov
2654b311fa
Actually enable enforced UI-thread rendering for macOS
4 years ago
Max Katz
06e141bf81
Update macOS implementations with some UTType support
4 years ago
Nikita Tsukanov
95b18fdf16
macOS support?
4 years ago
Dan Walmsley
3e8ce3deb1
[OSX] GetFrameSize - explicitly detect when native side didnt touch result object to signal null.
4 years ago
Dan Walmsley
845be8ae0e
[OSX] until window is shown FrameSize is null.
4 years ago
Max Katz
4f2a4f785a
Add CallbackBase impl
4 years ago
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.
5 years ago
Steven Kirk
11c60b4294
Decouple automation peers from platform nodes.
Now peers are entirely unaware of the platform implementation.
5 years ago
Sergey Mikolaitis
33c22a952f
[OSX] Add PointerMagnifyGesture, PointerRotateGesture, PointerSwipeGesture events
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
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.
6 years ago
Nikita Tsukanov
165bc28409
[AVNCOM] Manually pass `bool` values as `int` for now
6 years ago
Dan Walmsley
be8a3e83fa
fix OSX NRE.
6 years ago
Dan Walmsley
eecc91feaa
cleaner fix.
6 years ago
Dan Walmsley
8946f4f80d
prevent NRE when popup is open and main window closes.
6 years ago
Nikita Tsukanov
aeb08c7ae3
Use MicroCom instead of SharpGen (NOT TESTED YET)
6 years ago
Andrey Kunchev
d1156c7f1f
remove redundant check for renderer so app can request macos native invalidate of window
6 years ago
Dan Walmsley
f8eaca28e8
save some lines.
6 years ago
Dan Walmsley
a23b4bd97f
dont raise events when window isnt shown.
6 years ago
Steven Kirk
ca408e55b5
Added ICursorImpl.
6 years ago
Steven Kirk
a832d63915
IStandardCursorFactory -> ICursorFactory.
6 years ago
Nikita Tsukanov
b9985a8fa0
Refactorings for opengl context and surface management
6 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