Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago
Nikita Tsukanov
85a5288fdd
Propagate mouse pointer capture to Win32 API
7 years ago
Nikita Tsukanov
9f249b6b53
Fixed right mouse button handling
7 years ago
Nikita Tsukanov
b387c38c84
Implemented simple inertial scroll
7 years ago
Nikita Tsukanov
ec99f7d1a9
Initial scroll gesture implementation
7 years ago
Nikita Tsukanov
4c1f42b48a
PR comments
7 years ago
Nikita Tsukanov
6827179476
Implemented TouchDevice and touch input support for X11 backend
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Steven Kirk
4ad4ba4a9e
Set InputModifiers on PointerEnter/Leave.
Note that these will not be set when a pointer enter/leave occurs because of a control moving or appearing/disappearing.
Fixes #2495
7 years ago
Steven Kirk
12cd666dc7
Respect RenderTransform in GetPosition.
Fixes #1558 .
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
ahopper
7c5802efcf
change name and check invalidate rect
7 years ago
ahopper
e11af71e9f
allow for content changes with no mouse movement
7 years ago
ahopper
b515f7a30e
allow for pointerover control being removed from visual tree
8 years ago
Nikita Tsukanov
666efd311b
[X11] Initial windowing and mouse events
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Steven Kirk
895a24fb9e
Raise pointer enter/leave events in correct order.
Previously, enter events were raised before leave events.
8 years ago
Steven Kirk
3f0c7650e5
Make sure IsPointerOver is correctly set.
Reset the handled state for `PointerEnter`/`PointerLeave` on each control invocation, and don't allow the user to skip setting `IsPointerOver`
8 years ago
Steven Kirk
763775fa82
Clear mouse capture when control removed.
When a captured control is removed from the visual tree, clear the mouse capture.
Note that our capture logic needs to be improved - it shouldn't be possible to capture a non-visible or non-enabled control. This doesn't address that but it does fix the crash in #1203 .
Fixes #1203
9 years ago
Nikita Tsukanov
91691c30a7
PR notes
9 years ago
Nikita Tsukanov
21da2df1ec
Call ProcessRawEvent directly from the input manager
9 years ago
Nikita Tsukanov
77b7026ac9
Removed IMouseDevice from service locator
9 years ago
Steven Kirk
d61d95af19
Ported changes to Avalonia.Input from scenegraph.
Fixed some doc comments, and updated the mouse-over algorithm.
9 years ago
Steven Kirk
f9f658c89f
Handle null event source.
9 years ago
Steven Kirk
349ba78931
Fixed pointerover state.
And added a test for it.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
015054a8fd
Added a pre-process hook to InputManager,
And some documentation.
10 years ago
Steven Kirk
e8a8c12f87
Fix MouseDevice.GetPosition.
Algorithm was incorrect when in a window with DPI scaling.
10 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
10 years ago
Steven Kirk
9191234f54
Fix keyboard handling.
Allows Alt+F4 to work.
10 years ago
Steven Kirk
d1918c7a77
MouseDevice,Position should be in screen coords.
10 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
10 years ago
Nikita Tsukanov
85b530e363
New ios backend
10 years ago
Nikita Tsukanov
45e5588a0a
Implemented middle mouse button
closes #198
11 years ago
Nikita Tsukanov
79f8f76351
ref #198
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Nikita Tsukanov
b4db6600b3
SetPoinerOver should fallback to the root element
11 years ago
Steven Kirk
406f476a7c
Simplify MouseMove logic.
11 years ago
Steven Kirk
90d7d81889
Correctly dispatch PointerMoved events.
Fixes #130 .
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
11 years ago
Nikita Tsukanov
21a3554260
Change property getter to expression properties
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
42a280fb08
Removed debug code.
11 years ago
Steven Kirk
f455d51520
Added IInputRoot.PointerOverElement.
To track element currently under pointer on a window.
11 years ago
Steven Kirk
c5020d38ee
Remove RoutedEventArgs.OriginalSource.
Still not entirely sure what it's purpose is in WPF.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
0959817b35
Move click focus handling to FocusManager.
11 years ago