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
Dan Walmsley
f0525eb640
Add cs side and interfaces for screens api.
8 years ago
Dan Walmsley
79a82e1ea5
implement scaling changed callback.
8 years ago
Dan Walmsley
07774ea4be
implement max client size and top most.
8 years ago
Dan Walmsley
ad66a0c67a
implement getScaling
8 years ago
Dan Walmsley
dc0f1b9db3
working popup positioning
8 years ago
Dan Walmsley
1d6ba00150
implement setting of window position.
8 years ago
Dan Walmsley
bd7b3c463b
implement popups.
8 years ago
Dan Walmsley
8cc512beaa
keyboard ding sound if keyboard event wasnt handled
8 years ago
Dan Walmsley
8e7f709503
implement begin move drag.
8 years ago
Dan Walmsley
c646826f31
very basic start to key input.
8 years ago
Dan Walmsley
fc693e0382
implement mouse wheel and mouse move when
button is down.
8 years ago
Dan Walmsley
2f04ceab98
add middle and right mouse button handling.
8 years ago