Dan Walmsley
a0a039860c
fix shadow ensuring the window frame and avalonia standard container are both resized.
5 years ago
Dan Walmsley
3373849c2b
force osx shadow invalidation on programatic resize.
5 years ago
Dan Walmsley
c42cdebef8
restore code.
5 years ago
Dan Walmsley
92a29820b8
remove redundant if.
5 years ago
Dan Walmsley
a194fc12e2
OSX backend initial sizing now has same behavior as windows.
When window is not shown, and Resize is called, it will trigger a Resize event, that updates ClientSize.
5 years ago
Dan Walmsley
99cdff2d70
fix screen centering on OSX before window has been shown.
5 years ago
Dan Walmsley
30035f3134
set the content before Show is called, so that contentview is set after the size has been set.
5 years ago
Dan Walmsley
a5fb091950
remove shadow invalidation hacks.
5 years ago
Dan Walmsley
4cf49b659a
refactor broken english.
5 years ago
Dan Walmsley
b5efb293ba
trick to make OSX invalidate the shadow.
5 years ago
Dan Walmsley
c39fa50efc
[osx] if app only has an app menu and no window menu, ensure its applied when window is first shown.
5 years ago
Dan Walmsley
0527ae0b64
add null pointer check.
5 years ago
Nathan Randle
c686b86e38
Rename misspellings of separator.
5 years ago
Steven Kirk
89e5f3888d
Added Opening/Closed for NativeMenu on OSX.
Adds the `Opening` and `Closed` events for OSX to `NativeMenu` which relate to `menuWillOpen` and `menuDidClose`. Note that `NativeMenu` already exposed `NeedsUpdate` as `Opening`; this event has been moved to a separate `NeedsUpdate` event.
5 years ago
Dan Walmsley
425c3e8fec
OSX backend when quiting app (closeAll) should only performClose
on non-child windows.
5 years ago
Dan Walmsley
e2da5b190c
fix nsurl conversion to string[]
5 years ago
Dan Walmsley
df8f30793c
implement both files and uris opened on osx.
5 years ago
Dan Walmsley
4191e276ef
osx - native side implementation of apis.
5 years ago
Dan Walmsley
111a9c80ab
allow user to disable generation of default appmenu items on osx.
5 years ago
Dan Walmsley
52de38d8a1
fix handling of becomeKeyWindow on OSX.
5 years ago
Dan Walmsley
28fa72185c
add native side implementation for osx.
5 years ago
Dan Walmsley
20fe1e9932
unify screen calculations.
5 years ago
Dan Walmsley
ffe0f94ddb
fix multi monitor screen position osx.
5 years ago
Dan Walmsley
521d99e35f
dont bring main window to front with mouse move events and dialog is open.
5 years ago
Andrey Kunchev
78c2415462
ensure we have valid surface with min size (1,1)
5 years ago
Andrey Kunchev
90344d4c03
fix #5217 native immediate crash on 0,0 rendering popup/window macos
5 years ago
Dan Walmsley
acf4dd901b
Correct parsing of special keys, and qwerty keyboard hardcoded map.
5 years ago
Dan Walmsley
dc1a38695b
correctly parse native menu gesture keys on osx.
5 years ago
Dan Walmsley
a088910f31
Add OSX implementation.
5 years ago
Dan Walmsley
d96bfe6996
Remove last bit of flickering by wrapping layer updates inside a CATransaction.
5 years ago
Dan Walmsley
89b5d13408
[OSX] remove most of the stretching and flickering by calling updateLayer at the end of resize.
5 years ago
Dan Walmsley
b9a9ac94e7
Fix mainthread detection osx.
5 years ago
Nikita Tsukanov
addcc6674d
Generate avalonia-native.h from avn.idl
5 years ago
Andrey Kunchev
0cdb2202bf
macos fix crash on popup close #4293
5 years ago
Dan Walmsley
ac24e28cc1
Fix IOSurface leak.
6 years ago
Dan Walmsley
e2d45fd908
OSX fix dev tools ctrl + shift (implement keyevents on modifier key change events.)
6 years ago
Dan Walmsley
5f4e4cbb3b
osx obey minsize.
6 years ago
Dan Walmsley
b0bcd2e5e6
dont emit excessive Resized events on OSX.
6 years ago
Dan Walmsley
88db585d42
fix calculation of working area.
6 years ago
Nikita Tsukanov
8c851b440e
OSX various popup focus shenanigans
6 years ago
Nikita Tsukanov
cba236d9a3
OSX impl for HideWithSize
6 years ago
Dan Walmsley
c8cede080f
fix hiding and showing traffic lights.
6 years ago
Dan Walmsley
466f015836
fix up osx implementation.
6 years ago
Dan Walmsley
f9289241e0
add null checks for _parent.
6 years ago
Dan Walmsley
2434ebd235
remove unused check.
6 years ago
Dan Walmsley
12eb481fb7
Extended client area compatible with fullscreen mode.
6 years ago
Dan Walmsley
53fecec28a
prevent stack overflow entering fs mode.
6 years ago
Dan Walmsley
00dd7cf47e
correct blur material.
6 years ago
Dan Walmsley
fcbd73137b
blur without reparent magic.
6 years ago
Dan Walmsley
248492ef5c
attempt seperate containers for blurred and transparent.
6 years ago