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
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.
7 years ago
Dan Walmsley
916343448e
make the default handle the NSWindow.
7 years ago
Dan Walmsley
b9f0898a37
return native handles.
7 years ago
Dan Walmsley
d7be0f9837
add implementation of platform handles on the managed side.
7 years ago
Dan Walmsley
edbd75cc1f
[OSX] fix popup position and mouse device positioning.
7 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
Nikita Tsukanov
3d4a2781b0
Switched key events to use KeyModifiers
7 years ago
Nikita Tsukanov
35f64af761
Make toplevels responsible of creating popups
7 years ago
Nikita Tsukanov
4c1f42b48a
PR comments
7 years ago
Nikita Tsukanov
bbfed1c3a5
Refactored platform options
7 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
7 years ago
Nikita Tsukanov
148ba00115
Fixed OSX locks
8 years ago
Nikita Tsukanov
06dd72e9c8
Enforce DeferredRenderer to produce a frame when requested by OS
8 years ago
Dan Walmsley
f2d126b9d2
update avalonia.native to use PixelSize.
8 years ago
Nikita Tsukanov
abd78e7680
GL!
8 years ago
Nikita Tsukanov
e45d55cfb3
OpenGL synchronization and separation
8 years ago
Dan Walmsley
1734793325
fix exception on popup dispose.
8 years ago
Dan Walmsley
bc062dc350
guard against double dispose.
8 years ago
Nikita Tsukanov
cba5337d20
Allow to use GPU with deferred renderer
8 years ago
Nikita Tsukanov
fad3775bde
OpenGL acceleration support
8 years ago
Dan Walmsley
dc20ef2268
prevent window will close being called twice.
8 years ago
Nikita Tsukanov
05878ba746
Deallocation control
8 years ago
Dan Walmsley
2b081c516f
ensure higher priority tasks are run before keyboard events.
8 years ago
Dan Walmsley
716941ec56
code standards and formatting, copyright message
8 years ago
ElBuda
a5f857874b
Refactoring SetCursor impl
8 years ago
ElBuda
39ea679ec3
First impl for setting mouse cursor
8 years ago
Dan Walmsley
9e3dfa8bc0
working keyboard input
8 years ago
Dan Walmsley
64d439ecb1
implement window state change events and manipulation.
Implements window activation.
8 years ago
Dan Walmsley
99923b94d3
implement window position changed.
8 years ago
Nikita Tsukanov
ce1d855999
Don’t force re-render if size wasn’t actually changed
8 years ago
Dan Walmsley
f5edeac7bb
Fixed scaling computation
8 years ago
Nikita Tsukanov
006c0af89a
DeferredRenderer support
8 years ago