Nikita Tsukanov
66963a28b7
DnD fix
7 years ago
Nikita Tsukanov
0cd25052fb
Cleanup
7 years ago
Nikita Tsukanov
6d6b1d5e87
Removed X11 input modifier emulation
7 years ago
Nikita Tsukanov
2293d8332e
Explicitly drop pointer capture for DnD (not actually a fix for the underlying issue)
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
Steven Kirk
51eab93277
Added obsolete alias for old typo'd value.
7 years ago
Steven Kirk
7cbb50709d
Fix typo in StandardCursorType.
Fixes #2784
7 years ago
Steven Kirk
d0a6f48015
Added `Gestures.RightTapped`.
7 years ago
Steven Kirk
6809fe11d2
Raise tap gestures even if press/release were handled.
Also don't raised tapped events for right button clicks.
Fixes #2730 .
7 years ago
Nikita Tsukanov
a48bc262af
Support touch input for fbdev via libinput
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
551ce9b058
Fixed capture transfer for removed controls
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
9b84851223
Set correct left mouse button input modifiers for touch-based events
7 years ago
Nikita Tsukanov
654dae7c03
Lazy initialization for PointerEventArgs.Device
7 years ago
Nikita Tsukanov
4c1f42b48a
PR comments
7 years ago
Nikita Tsukanov
4351490e8a
Cleanup
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
Dan Walmsley
34358e0a26
dont raise gestures if the events were already handled.
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
MarkusKgit
8cfa7c175c
Add blank cursor
7 years ago
Steven Kirk
9eac3b6203
Fix TranslatePoint.
- Make `VisualExtensions.TranslatePoint` respect render transforms.
- Move `IVisual.TransformToVisual` out of the interface and into `VisualExtensions` as an extension method
- Make `TranslatePoint` return a nullable value as `TransformToVisual` does, so it can return null when controls don't have a common ancestor
7 years ago
Steven Kirk
22c5a5e6a1
Fix usage of AddClassHandler in non-static ctor.
Property `AddClassHandler`s should only be added in static constructors. In this case it's not so important because `FocusManager` is a singleton, but best to fix the usage anyway.
Fixes #2315 .
7 years ago
Steven Kirk
38d68865fd
Correctly handle command.CanExecute state.
Added a new `IsEnabledCore` property to `InputElement` which is overridden in `Button` and `MenuItem` to override the `IsEffectivelyEnabled` state with the enabled state of the command.
Also add data validation of the `Command` property to `MenuItem` to make it behave the same as `Button` when `Command` is bound to a non-existent property.
Fixes #2501
7 years ago
Steven Kirk
e6be9b7c5a
Renamed IsEnabledCore -> IsEffectivelyEnabled.
I now understand how WPF's `IsEnabledCore` works, and it's not like this. Rename `IsEnabledCore` to `IsEffectivelyEnabled` so that we can add a new `IsEnabledCore` property which works like WPF's.
This also aligns with the existing `IsEffectivelyVisible` property.
7 years ago
Steven Kirk
12cd666dc7
Respect RenderTransform in GetPosition.
Fixes #1558 .
7 years ago
Steven Kirk
4a5e11f6aa
Fix keyboard interaction for ContextMenu.
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
a1ad8f0bea
[X11] Per-monitor DPI support
7 years ago
José Pedro
88c05b1a19
Fixed field declarations which should be readonly.
7 years ago
Nikita Tsukanov
d532223a5a
Switched to post-processing nuget packages from AggregatePackage SDK
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
Lucas Ontivero
a7a5e4a5d1
Fixes InvalidOperationException error
Checks the element is attached to the visual tree as part of the Hit test
7 years ago
ahopper
b515f7a30e
allow for pointerover control being removed from visual tree
8 years ago
Tom Daffin
1fff693730
Fix brace style
8 years ago
Tom Daffin
f23b1a672d
Fix a crash when pressing F10 on a window that has no main menu
8 years ago
Jeremy Koritzinsky
5a9e41364b
Convert project references to reference aggregate Avalonia.csproj
8 years ago
Nikita Tsukanov
666efd311b
[X11] Initial windowing and mouse events
8 years ago
Nikita Tsukanov
4d2407192c
Added WholeWordTextActionModifiers
8 years ago
Nikita Tsukanov
e00f0f0385
Platform-specific key gestures
8 years ago
Steven Kirk
576cc91573
Make Pseudoclass method typed.
8 years ago
Miha Markič
0a38876590
Spellchecks all projects except for Base, Controls, Samples and Testing
8 years ago
Steven Kirk
1293e9af8d
Implemented Menu interactions.
8 years ago
Steven Kirk
9e2e266d3c
Handle navigation in TreeView.
8 years ago
Steven Kirk
2584f4bb18
Removed directional navigation code.
8 years ago