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.
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
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
Nikita Tsukanov
6432174528
Use CGL for offscreen rendering to IOSurface
6 years ago
Nikita Tsukanov
6540d0635b
IOSurface render target for sw-rendering
6 years ago
Dan Walmsley
c907172b8f
[OSX] null check to prevent NRE when window closes.
6 years ago
Dan Walmsley
916343448e
make the default handle the NSWindow.
6 years ago
Dan Walmsley
b9f0898a37
return native handles.
6 years ago
Dan Walmsley
d7be0f9837
add implementation of platform handles on the managed side.
6 years ago
Dan Walmsley
edbd75cc1f
[OSX] fix popup position and mouse device positioning.
6 years ago
Nikita Tsukanov
3b1005f04e
Removed pointer global state that caused trouble
7 years ago
Steven Kirk
fb173b30e2
Send keypresses to toplevel if no focused control.
- Added `IInputRoot Root` property to `RawInputEventArgs`
- Removed `InputRoot` and `Root` properties from `RawDragEvent` and `RawPointerEvent` as its now in the base class
- `InputRoot` in `RawDragEvent` was incorrectly using the type `IInputElement` instead of `IInputRoot`, fix callers that were using the wrong type
- Pass the input root to all raw input event constructors
- If no control is focused in `KeyboardDevice.ProcessRawEvent` then raise the event on the root
7 years ago
Jumar Macato
88446b1e9e
Pass PointerPressed event to BeginModeDrag and BeginResizeDrag.
7 years ago
Dan Walmsley
e530ab468c
fix implementation of maxclientsize osx.
7 years ago
Dan Walmsley
65caadd7cd
fix missing bracket.
7 years ago
Dan Walmsley
54dd8a4002
add implementation for osx.
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago