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
mat1jaczyyy
5f4a338c18
ICustomHitTest renderer tests
5 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
2be6390683
Fixed tests
7 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
8 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
8 years ago
Steven Kirk
880cf657ec
Accept root in IRenderer.HitTest.
Fixes #1221 .
9 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Steven Kirk
19a8b8aaf2
Moved hit testing tests.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
42239d4498
Moved IDrawingContextImpl to Avalonia.Platform.
So it can be alongside its impl brethren.
9 years ago
Steven Kirk
abe69ac320
Moved some mocks into Avalonia.UnitTests.
From Avalonia.Visuals.UnitTests as they're useful generally.
9 years ago
Steven Kirk
a849d7b116
Fixed geometry clip hit testing.
Updated unit test to test for previous problem.
9 years ago
Steven Kirk
bfd8c04149
Make geometry clips work.
Still problems with hit-testing and geometry clips aren't propogated to
new layers.
9 years ago
Steven Kirk
c23e104cf2
Added failing geometry clip hit-test.
9 years ago
Steven Kirk
4ce2e09ef3
Use widened bounds for GeometryNode.Bounds.
9 years ago
Steven Kirk
14805322ca
Removed RendererMixin.
Moved immediate rendering logic into `Renderer`.
9 years ago
Steven Kirk
6b6474bc8d
Fix bounds clipping.
9 years ago
Steven Kirk
db26fe3626
Special case for hit testing in unit tests.
When not in a unit test, only update the scene from the render loop.
9 years ago
Steven Kirk
934e18c8ba
Initial impl of incremental update to SceneGraph.
10 years ago
Steven Kirk
98f551c533
Don't need the context.Render any more.
In hit testing unit tests.
10 years ago
Steven Kirk
86216d9420
Use scene geometry for hit-testing.
This means we now correctly hit test circles etc.
10 years ago
Steven Kirk
d91d1829ac
Initial implementation of scenegraph hit testing.
Based solely on control bounds as before.
10 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
1824175e6b
Use render bounds in visual hit testing.
It was previously used in input hit testing but not in visual hit
testing.
10 years ago
donandren
b5a9f8ae8a
Added failing unit tests for hit testing outside parent bounds when parent has ClipToBounds=true
10 years ago
Jeremy Koritzinsky
4fef640371
Updated adorners and hit testing to account for RenderTransforms ( #538 )
Updated adorners and hit testing to account for RenderTransforms. Fixes #433 .
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
92e6274ec3
Fixed input hit test Z ordering.
Closes #170 .
11 years ago