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
880cf657ec
Accept root in IRenderer.HitTest.
Fixes #1221 .
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Steven Kirk
51688fa74b
Removed duplicate using statement.
9 years ago
Steven Kirk
88b0342e3d
Fix GetVisualRoot logic
It was plain wrong.
9 years ago
Steven Kirk
69a06e452e
Fixed some Visuals unit tests.
Ported some stuff from `scenegraph` that was missed in #956 , which fixes
some of the failing Avalonia.Visuals.UnitTests.
9 years ago
Steven Kirk
0a36466021
Run render tests with deferred renderer.
Make render tests run all tests with both the deferred and immediate
renderer.
9 years ago
Steven Kirk
bae15f3ec4
Update dirty controls in order.
9 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
6b80d51fe6
Fix TransformedBounds for invisible controls.
Previously the BoundsTracker.TransformedBounds attached property wasn't
being cleared for controls that were invisible, resulting in incorrect
hit testing in certain situations (the newly added TreeView page in
ControlCatalog demonstrated the behavior when fully expanding the first
node and its children).
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
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
e7556fbf39
Expose IVisual.VisualRoot.
10 years ago
Steven Kirk
bd6b6bad67
Added test for SCV.BringDescendentIntoView
10 years ago
Steven Kirk
00613b2d67
Use correct Contract exception.
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
Steven Kirk
f2170e3ad5
Documentation.
11 years ago
Steven Kirk
80064e8712
More work on Menu.
11 years ago
Steven Kirk
06e0dde700
Track adorned element position.
Closes #38 . Still need to track transforms and clip rectangles, but good
enough for now.
11 years ago
Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
aa63b5fa15
Started refactoring events.
Tunnelled and bubbling events can now be represented by a single
RoutedEvent. Next need to implement 'handledEventsToo'.
11 years ago
Steven Kirk
9a994e582c
Moved VisualTree extensions into own namespace.
So that they don't pollute the whole Perspex namespace - you now need to
"opt-in" to the visual tree.
11 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
0cf5cf6abc
More work on TreeView.
12 years ago
Steven Kirk
454393b71a
Added TabControl.
12 years ago
Steven Kirk
69a0a81cdd
TabStrip now selects on click.
12 years ago
Steven Kirk
52b7d08541
Started on TextBox.
12 years ago
Steven Kirk
5c1c26be93
Add Button over/pressed and pressed states
12 years ago
Steven Kirk
4d480e3aa2
Improved (?) IsPointerOver calculation.
12 years ago
Steven Kirk
d90133677b
Added StackPanel.
12 years ago
Steven Kirk
099def38ea
Added some Control tests.
12 years ago
Steven Kirk
18bbb2c41e
WIP
Not sure where I am - went away for 2 weeks and forgot what I was doing.
oops.
12 years ago
grokys
bba9893842
Removed the code contracts /shit/.
12 years ago
grokys
4080c18f59
Added IVisual interface.
12 years ago
grokys
22859b2795
Added mouse clicks/events
Not sure the styling system is going to work at this point...
12 years ago