Steven Kirk
338b71b204
Moved IVisual to Perspex.VisualTree.
10 years ago
Steven Kirk
e096c849d9
Updated NuGet packages.
Closes #395 .
10 years ago
Steven Kirk
3fde7f979c
Added VisualExtensions.PointToClient.
In addition moved PointToScreen to VisualExtensions, and renamed
IRenderRoot.TranslatePointToScreen to IRenderRoot.PointToScreen.
10 years ago
Steven Kirk
f7f2fc65b7
Make Arrange call Measure if !IsMeasureValid.
To follow WPF. Also removed force parameter from Arrange and fixed
Decorator measure invalidation.
10 years ago
Steven Kirk
0e2cee8810
Overhauled layout system.
From lessons learnt from porting moonlight's Grid tests. Instead of
making a child invalidate its parents directly, send a message from the
child to the parent when its DesiredSize changes. LayoutManager also
needed rewriting to allow this.
10 years ago
Steven Kirk
416eb1d7a5
Respect negative margins when culling.
And make ClipToBounds = true as default on TemplatedControl to allow us
to cull more.
10 years ago
Steven Kirk
c427ab49f6
Cull controls outside clip bounds.
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
10 years ago
Steven Kirk
9eb54f59d2
Fixed name scopes.
Controls were being registered with the nearest name scope on the visual
tree, whereas they should be registered by traversing the logical tree.
10 years ago
Steven Kirk
ad9a2324d0
Added namescope events.
11 years ago
Steven Kirk
3307ef8712
Register templated controls with name scope.
Usually controls are only registered with their name scope when they get
added to a rooted visual tree, but this causes problems for tests, and
would mean the templated control wouldn't work if the client called
ApplyTemplate themselves before the control is added to the visual tree.
Work around this by explicitly registering template controls with the
name scope when the template is applied.
To allow this, we need to allow controls to be registered with a name
scope multiple times.
11 years ago
Wiesław Šoltés
4ea890e229
Update RelativeRectComparer.cs
11 years ago
Wiesław Šoltés
8864acb95a
Update Perspex.SceneGraph.UnitTests.csproj
11 years ago
Wiesław Šoltés
37855c5690
Update RelativeRectTests.cs
11 years ago
Wiesław Šoltés
3fc79a8e20
Create RelativeRectComparer.cs
11 years ago
Steven Kirk
16c2242757
Implemented NameScopes
Some tests still failing as controls are only registered with name scope
when attached to a rooted visual tree. Need to work around this by
explicitly registering controls when applying template.
11 years ago
Wiesław Šoltés
b13b870741
Added RelativeRectTypeConverter
11 years ago
Nikita Tsukanov
f4f3d572a6
Renamed IRenderingViewport to IRenderTarget
11 years ago
Nikita Tsukanov
c8e617231c
Moved render-related code from TopLevel to a separate class
(needed for wm stuff)
11 years ago
Steven Kirk
b5b750123d
Make VisualParent a direct PerspexProperty.
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Steven Kirk
3693193246
Fix tests failing due to previous layout fix.
The test expectations were incorrect after stretch layout with absolute
size fix.
11 years ago
Steven Kirk
cc1c2c0313
Fixes #147 .
11 years ago
Steven Kirk
3544d71b7e
Fix intermittent test failures.
11 years ago
Steven Kirk
3aa9b7e60c
Accept RelativePoint in XAML.
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
f071a3d06b
Removed GlobalSuppressions.
11 years ago
Steven Kirk
2e56c951d5
Removed StyleCop.Analysers.
11 years ago
Steven Kirk
ab352ebfcb
Move Thickness parsing to Thickness.Parse.
And added unit tests.
11 years ago
Steven Kirk
b7170a5179
Added brush and color parsers.
11 years ago
Steven Kirk
d11d779414
Trying to fix capitalization of tests and docs AGAIN.
11 years ago
Steven Kirk
1a2fba4798
Revert "Fixed casing of Docs and Tests directories."
This reverts commit 845b28a2c2 .
11 years ago
Steven Kirk
845b28a2c2
Fixed casing of Docs and Tests directories.
11 years ago