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
28b6de1019
Make Shapes update their geometry.
When a property that affects the Shape's geometry is changed, make sure
the DefiningGeometry gets updated.
10 years ago
Steven Kirk
1d8800251c
Use GetWidenedBounds in D2D backend.
According to http://stackoverflow.com/questions/32611798 , "
Geometry.Bounds (in WPF) is equivalent to
ID2D1Geometry::GetWidenedBounds(0.0f)." so use that. This seems to fix
the problem with D2D reporting an invalid size for
Line/PolylineGeometry, so removed the workaround from there.
10 years ago
Steven Kirk
74ed826752
Prevent stack overflow.
Rect.Inflate(double) was calling itself instead of the Thickness
overload.
10 years ago
Steven Kirk
7a8b50de8f
Cache Polygon/Polyline geometry.
10 years ago
Steven Kirk
e91f551263
Added missing file headers.
And sorted usings.
10 years ago
Steven Kirk
1309bb3e1b
Updated new control's properties.
From PerspexProperty to StyledProperty.
10 years ago
Steven Kirk
afe0f9012c
Merge branch 'master' into properties-refactor
10 years ago
Steven Kirk
5b2906a01d
Missed change from last commit.
10 years ago
Steven Kirk
bb759a8785
We can now override the default binding mode.
So make TextBlock and TextBox have different default binding modes.
10 years ago
Steven Kirk
e5f9b37b1f
Removed commented-out tests.
They have been moved to other files.
10 years ago
Steven Kirk
453668590b
Started adding property documentation.
10 years ago
Steven Kirk
df7b5a4ac9
Test attached property validation.
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
89dc27f276
All tests now passing.
10 years ago
Nikita Tsukanov
e60fef22c6
Merge pull request #398 from KvanTTT/master
Added Polygon, Polyline. Line fixed.
10 years ago
Ivan Kochurkin
3fb89ded78
Fixed @kekekeks notes.
10 years ago
Steven Kirk
d25e057ccc
More WIP refactoring properties.
Compiles now but lots of tests failing.
10 years ago
Steven Kirk
03e2ff8784
WIP: Splitting PerspexProperty up
10 years ago
Ivan Kochurkin
d8bec31dd8
Added tests data for Polyline and Polygon rendering.
10 years ago
Ivan Kochurkin
2072912281
Merge remote-tracking branch 'upstream/master'
10 years ago
Ivan Kochurkin
5b79178947
Added LineJoin parameter to geometric primitives.
Fixed Bounds for Line, Polygon, Polyline.
10 years ago
Ivan Kochurkin
7667d9d510
Added Binding to Polygon and Polyline.
10 years ago
Steven Kirk
5a26f9d076
Merge pull request #402 from shiftkey/patch-1
tidy up some names in the docs
10 years ago
Nikita Tsukanov
3556a66b59
Use curl if available
10 years ago
Nikita Tsukanov
a74e9b3ff7
Fixed `Path_Tick_Scaled`, `Path_Tick_Scaled_Stroke_8px` and `Path_Expander_With_Border` for Skia
10 years ago
Brendan Forster
954fe6da11
added a third project which impacts Windows-only dev
10 years ago
Brendan Forster
18280bb8c6
and the other reference to the Skia folder
10 years ago
Brendan Forster
d4b27f1332
point to the Perspex organization
10 years ago
Brendan Forster
9ea66ea262
dropped Perspex prefix folder from step
10 years ago
Steven Kirk
3beea47bf7
Replace DockPanel implementation.
The old one was broken - replaced by the implementation from
WinRTXamlToolkit which is both simpler and works correctly. Also added
some tests. This closes #397 , closes #348 , closes #74 .
10 years ago
Steven Kirk
369313da00
Merge branch 'devtools'
10 years ago
Steven Kirk
0faeaf47e3
Scroll newly selected tree view node into view.
10 years ago
Ivan Kochurkin
93e1f0d388
Removed PointPair.
10 years ago
Ivan Kochurkin
bf9d9e270b
Added PolygonTests with evenOdd fill.
Fixed errors after merge.
10 years ago
Ivan Kochurkin
78b98718c9
Merge remote-tracking branch 'upstream/master'
10 years ago
Ivan Kochurkin
5c969c40b8
Implemented Polygon, Polyline, PolylineGeometry.
Added unit-tests with data and demo code in TestApplication.
10 years ago
Ivan Kochurkin
e07d085ef5
Fixed Line rendering (PointPair instead of Rect) and added unit-tests.
10 years ago
Ivan Kochurkin
13d8263fa3
Added CubicBezierCurveRelative implementation option for path rendering.
Fixed ReadDouble (whitespaces processing).
10 years ago
Steven Kirk
69d98efeeb
Highlight hovered control in devtools.
10 years ago
Steven Kirk
d002c31021
Merge remote-tracking branch 'refs/remotes/origin/master' into devtools
10 years ago
Steven Kirk
928e159aba
Added DesiredSize as a readonly PP.
10 years ago
Steven Kirk
ddea3c4329
Merge branch 'mmayfield45-master'
10 years ago
Michael Mayfield
3ed14edf12
Fix Grid sizing being broken when using Grid.ColumnSpan.
Caused by CreateMatrices not clearing the existing matrices. This means previous measures alter the results of a measure.
10 years ago
Steven Kirk
beddd774c5
Merge remote-tracking branch 'refs/remotes/origin/master' into devtools
10 years ago
Steven Kirk
c052d389a9
Fix ScrollViewer.
Make various properties Direct properties, which gives them the correct
binding behavior.
10 years ago
Nikita Tsukanov
415c9c6e18
Implemented StreamGeometryContext.SetFillRule
10 years ago
Nikita Tsukanov
f5e8426371
Fixed tests
10 years ago
Steven Kirk
6cf9a43582
Set IsSelected on newly materialized TreeViewItems.
10 years ago
Steven Kirk
f8a4d95bfa
Merge remote-tracking branch 'refs/remotes/origin/master' into devtools
10 years ago