Emmanuel Hansen
8c0dfbaf08
rework gesture routing #11522
3 years ago
Dan Walmsley
e2511344b8
fix tests.
3 years ago
Dan Walmsley
215707ba7e
add comments explaining and remove unnecessary condition.
3 years ago
Dan Walmsley
ba8ddd0418
no need for transformtovisual.
3 years ago
Dan Walmsley
d064ad4e6a
transform to visual.
3 years ago
Dan Walmsley
7aa531530b
implent popup routing events to parent toplevel.
3 years ago
Max Katz
bbeef11aed
Adjust some Unstable attr usages
3 years ago
Steven Kirk
5262eec4cf
Passing null gives us the point relative to the root.
And update the documentation for `GetPosition` to explain what `null` does (as in `GetCurrentPoint`).
3 years ago
Max Katz
2473bb8408
Fix some warnings
3 years ago
Max Katz
1642d00f11
Make public some more missed events
3 years ago
Max Katz
af4d9fc2e2
Add more IHeadlessWindow methods and update Obsolete message
3 years ago
Max Katz
6b4b620a22
Revert "Merge pull request #8860 from AvaloniaUI/remove-public-constructors-from-eventargs-from-avalonia.base"
This reverts commit a26d515aa4 , reversing
changes made to 4670536b82 .
# Conflicts:
# src/Avalonia.Base/Input/KeyEventArgs.cs
# src/Avalonia.Base/Input/PointerDeltaEventArgs.cs
# src/Avalonia.Base/Input/PointerEventArgs.cs
# src/Avalonia.Base/Input/PointerWheelEventArgs.cs
# src/Avalonia.Base/Input/TextInputEventArgs.cs
3 years ago
Steven Kirk
8347093f90
Removed IInteractive.
4 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Max Katz
5a12a036d9
Undo pointer transformation changes
4 years ago
Max Katz
46bf9e2602
Fix issue with 0,0 position when pointerover was cleaned up
4 years ago
Max Katz
2dad559138
Transform screen position for the point args from another visual root
4 years ago
Takoooooo
889001dcaf
Remove public constructors for KeyEventArgs, PointerEventArgs and friends.
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
Max Katz
c646343bee
WIP on intermediate points win
4 years ago
Nikita Tsukanov
bc3cdd5b9e
Introduced RawPointerPoint for usage with IntermediatePoints ( #7581 )
Introduced RawPointerPoint for usage with IntermediatePoints
4 years ago
Nikita Tsukanov
9c0964adf5
Added GetIntermediatePoints support for X11, libinput and evdev
4 years ago
Tako
1fbcd61e6f
Fix DoubleTapped on touch ( #7213 )
DoubleTapped now can be triggered by touch
Fixed DoubleTapped triggering logic, previously it could be triggered only when you click twice, didn't work when you click 4 times,6, etc.
Fixed Tapped to be triggered only once when you double-click, now it triggers Tapped once and DoubleTapped once instead of triggering Tapped two times and DoubleTapped once.Matches UWP behaviour.
4 years ago
SutandoTsukai181
32e6ca7e2a
Add missing XButtons 1 and 2 to MouseButton
5 years ago
Dariusz Komosiński
5015c431a8
Fix nullable annotations.
6 years ago
Steven Kirk
a42e8cbded
Nullable enable Avalonia.Input.
6 years ago
Steven Kirk
b79b225e33
Improve deprecation messages.
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
Nikita Tsukanov
9cb36f2dc4
Fixed obsolete comment
7 years ago
Nikita Tsukanov
1b5f3b6cc8
Renamed GetPointerPoint to GetCurrentPoint to match UWP
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
Nikita Tsukanov
0cd25052fb
Cleanup
7 years ago
Nikita Tsukanov
6d6b1d5e87
Removed X11 input modifier emulation
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
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
654dae7c03
Lazy initialization for PointerEventArgs.Device
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
338b71b204
Moved IVisual to Perspex.VisualTree.
10 years ago
Steven Kirk
8eb4f30c6d
Added Tapped and DoubleTapped gestures.
10 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
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
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
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago