Daniil Pavliuchyk
404edd5151
Fix MouseDevice not reporting clicks when any mouse buttons is hold
2 years ago
Emmanuel Hansen
c12fe17315
Added internal helpers for protected gesture events
3 years ago
Emmanuel Hansen
0042c19121
replace IGestureRecognizer with abstrac GestureRecognizer. remove related obsolete interfaces.
3 years ago
Emmanuel Hansen
5ad9e4ea4e
fix tests
3 years ago
Emmanuel Hansen
8c0dfbaf08
rework gesture routing #11522
3 years ago
Max Katz
3515143219
Use PlatformSettings from the top level internally
3 years ago
Max Katz
6294093a18
Use [PrivateApi] on members
3 years ago
Max Katz
20064647dd
Limit IFocusManager API, extend IInputElement API, remove visible static properties
3 years ago
Max Katz
2473bb8408
Fix some warnings
3 years ago
Yoh Deadfall
1ad8e2ead8
Reset last used mouse buttons on pointer release
3 years ago
Max Katz
59d7874b1d
Replace System.Reactive with internal extensions
3 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Max Katz
76887ef16a
Move Shift scrolling to the ScrollPresenter layer
4 years ago
Steven Kirk
a62c56186f
Use GetRequiredService in touch/mouse device.
4 years ago
Steven Kirk
d0eb38b6ba
Add Tap size to IPlatformSettings.
And refactor that interface while we're at it. Also add a `DefaultPlatformSettings` implementation instead of implementing it in each backend with slightly different values.
4 years ago
Giuseppe Lippolis
9e1ff3e3be
fix: Addreaa review
4 years ago
Giuseppe Lippolis
93998f2a03
feat(Base): Address rule CA1822
4 years ago
Benjamin Lehmann
833006f253
PointerWheelEventArgs: Adds RawDelta
Delta is flipped if the user holds down Shift while scrolling. RawDelta
preserves the original scroll vector.
4 years ago
Max Katz
6473890139
Remove all obsolete members from Input namespace
4 years ago
Steven Kirk
fb0da85ad3
Merge core libraries. ( #5831 )
* Merge core libraries.
Everything below `Avalonia.Controls` into `Avalonia.Base`.
* Move new files to correct place.
* Removed unused dirs/projects,
* Removed outdated references from theme assemblies.
* Merge unit tests to match new assembly layout.
* Fixup test namespaces.
* Make directory match namespace.
* Move files to match namespace.
* Move files to match namespace.
* Fix up incorrect namespace.
`Avalonia.Visuals.Media.Imaging` -> `Avalonia.Media.Imaging`.
* Fix resource URL.
* Removed outdated dependencies.
* Added missing project reference.
* Update test namespaces.
* Fix merge error.
* Fix merge errors.
* Fix bad merge in WindowsInteropTest.csproj.
* Fix up merge errors in csprojs.
* Remove merged tests from nuke.
* Fix up namespace.
* Fix compile error.
* Fix failing tests.
Now that more unit tests are present in Avalonia.Base.UnitTests, general `AvaloniaObject` properties are getting registered. Ignore those.
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Lubomir Tetak
ee648c7c2c
Invalid Mouse Over events on NC raw events
4 years ago
Nikita Tsukanov
bc3cdd5b9e
Introduced RawPointerPoint for usage with IntermediatePoints ( #7581 )
Introduced RawPointerPoint for usage with IntermediatePoints
4 years ago
Tim
c1e101f491
Perform check if the scroll should be changed on shift key.
This may variy by platform, so we need an additional check.
4 years ago
Tim
dc937485e9
Invert delta if [SHIFT] is pressed
4 years ago
Sergey Mikolaytis
bef72b3477
fix some issues by requests
4 years ago
Nikita Tsukanov
9c0964adf5
Added GetIntermediatePoints support for X11, libinput and evdev
4 years ago
Sergey Mikolaytis
90c846007a
Requested Changes
4 years ago
Steven Kirk
76667dbd0d
Finished adding nullable annotations to Avalonia.Base.
4 years ago
Steven Kirk
c9c9d05098
Fix nullable reference errors.
The projects that have nullable reference types enabled are now generating errors instead of warnings, so fix those errors.
4 years ago
Sergey Mikolaitis
17ec020239
[OSX] Trackpad Gestures - code refactoring
4 years ago
Sergey Mikolaitis
33c22a952f
[OSX] Add PointerMagnifyGesture, PointerRotateGesture, PointerSwipeGesture events
5 years ago
Giuseppe Lippolis
5d37960921
fixes(Input): Suppress warning CS0618 'MouseDevice.Position' is obsolete
5 years ago
Max Katz
3984ba2ec5
Enable nullability for InputElement, Interactive, Visual
5 years ago
Benedikt Schroeder
08a72e893c
Increase TextFormatter compatibility with WPF's version
5 years ago
Nikita Tsukanov
fb7b7a002c
Fixed initial pointerover at (0, 0) when window is just shown
6 years ago
Steven Kirk
a42e8cbded
Nullable enable Avalonia.Input.
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
José Pedro
fc1a60b159
Added support for extra mouse buttons.
7 years ago
Nikita Tsukanov
3b1005f04e
Removed pointer global state that caused trouble
7 years ago
Nikita Tsukanov
a16e3bff7f
Added InitialPressMouseButton to PointerReleasedEventArgs that returns the button that caused the PointerPressed event
MouseButton is now deprecated with error, since people need to decide which behavior they want
7 years ago
Steven Kirk
bd354143ca
Notify MouseDevice when TopLevel closed.
So it can remove pointerover state.
7 years ago
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