Steven Kirk
e79a144c14
WIP: Working on getting VisualBrush working
Don't try to render `VisualBrush`es in TileBrushImpl - visual brushes
need first to be transformed into images and then rendered as an
`ImageBrush`. To this end, renamed `TileBrushImpl` as `ImageBrushImpl`
(in D2D backend only for now as that's what I'll get working first).
Actual visual brush implementation not yet done.
9 years ago
Steven Kirk
63f5dfb319
Added ncrunch 3 solution.
9 years ago
Steven Kirk
558f98f5bf
Remove refrences to "scene graph" in Visual.
As its now a separate thing.
9 years ago
Steven Kirk
7ce58c92aa
Merge branch 'master' into scenegraph
Conflicts:
src/Windows/Avalonia.Direct2D1/Direct2D1Platform.cs
src/Windows/Avalonia.Direct2D1/HwndRenderTarget.cs
src/Windows/Avalonia.Direct2D1/Media/DrawingContextImpl.cs
src/Windows/Avalonia.Direct2D1/Media/Imaging/BitmapImpl.cs
src/Windows/Avalonia.Direct2D1/RenderTarget.cs
9 years ago
Steven Kirk
089b505e01
Merge pull request #858 from AvaloniaUI/fixes/849-virt-horiz-scroll
Fix horizontal scroll with virtualized items.
9 years ago
Steven Kirk
d9c759a254
Merge branch 'master' into fixes/849-virt-horiz-scroll
9 years ago
Steven Kirk
5f4670b204
Merge pull request #859 from jkoritzinsky/D2DBitmap-NoWic-Path
Create a Bitmap for the Direct2D Backend without having to write-out to WIC
9 years ago
Jeremy Koritzinsky
a51aedce44
Merge branch 'master' into D2DBitmap-NoWic-Path
9 years ago
Jeremy Koritzinsky
1fd692f262
Change implementation to be via different classes so as to not break invariants and pixel measurements.
9 years ago
Steven Kirk
b25a4d0fc0
Merge branch 'master' into fixes/849-virt-horiz-scroll
9 years ago
Steven Kirk
240bc4d2ca
Fix horizontal scroll with virtualized items.
Fixes #849
9 years ago
Steven Kirk
1b8ac202ce
Merge pull request #852 from jkoritzinsky/Fix-Intermittent-Leak-Test-Crash
Fixes intermittent test failures on AppVeyor when running Leak Tests.
9 years ago
Steven Kirk
f1e088c9fe
Merge branch 'master' into Fix-Intermittent-Leak-Test-Crash
9 years ago
Steven Kirk
b083899720
Merge pull request #851 from jkoritzinsky/WindowIcon-MatchPattern
Update icon save implementation and added test case to control catalog
9 years ago
Steven Kirk
e7e282ddae
Merge branch 'master' into Fix-Intermittent-Leak-Test-Crash
9 years ago
Steven Kirk
a19b33af30
Merge branch 'master' into WindowIcon-MatchPattern
9 years ago
Steven Kirk
66d12e334f
Merge pull request #850 from jkoritzinsky/SwapChain
Change Direct2D Backend to render to a DXGI Swap Chain
9 years ago
Jeremy Koritzinsky
17a43dacfa
Make it possible to construct a Direct2D BitmapImpl from a ID2D1Bitmap directly, instead of only via WIC imaging factories.
9 years ago
Jeremy Koritzinsky
d73350e0fd
Fixes intermittent test failures on AppVeyor when running Leak Tests.
9 years ago
Steven Kirk
7c5c889494
Fix RenderLayer resize.
9 years ago
Jeremy Koritzinsky
619e64ef1d
Remove DirectX 12 feature level choices. Device will be created with feature levels up to DirectX 11.1 (Windows 8), which is all we use.
9 years ago
Steven Kirk
f9f658c89f
Handle null event source.
9 years ago
Steven Kirk
6bc683a2e8
Don't call Paint for now on Win32.
It's causing stuff to crash. We will probably want to do this later to
make resizing look better though.
9 years ago
Jeremy Koritzinsky
9d73868da7
Remove the VideoSupport flag because AppVeyor machines do not support it.
9 years ago
Jeremy Koritzinsky
e2ba8fb5bb
Make video support creation flag only be set when running on Windows 8 or newer (Direct3D11.1 or newer).
9 years ago
Jeremy Koritzinsky
1a96efa8af
Update implementation and added test case to control catalog. Fixes #807 .
9 years ago
Jeremy Koritzinsky
d02b7cbe92
Create D2D1 device with a factory.
9 years ago
Jeremy Koritzinsky
4575c1abc9
Updated Resharper naming rules to match our conventions.
9 years ago
Jeremy Koritzinsky
bde461f400
Use the factory associated with the Direct2D1 device.
9 years ago
Jeremy Koritzinsky
cc4c3d02d0
Fixed DPI issues.
9 years ago
Jeremy Koritzinsky
f44468a3ab
Added swap chain backed render target.
9 years ago
Jeremy Koritzinsky
34d779df45
Updated gitignore to remove vs2017 specific files.
9 years ago
Steven Kirk
4ce2e09ef3
Use widened bounds for GeometryNode.Bounds.
9 years ago
Steven Kirk
99c1df0da0
Remove Rect.operator*
It was wrong - use Rect.TransformToAABB instead.
9 years ago
Steven Kirk
0e1877cc21
Merge pull request #843 from AvaloniaUI/fixes/829-findcontrol-returns-null-for-usercontrol
Register namescoped controls with parent namescope.
9 years ago
Steven Kirk
331fa3ac1a
Merge branch 'master' into fixes/829-findcontrol-returns-null-for-usercontrol
9 years ago
Steven Kirk
7b46305edb
Merge pull request #848 from AvaloniaUI/features/relativesource-self
Added RelativeSource=Self binding mode.
9 years ago
Steven Kirk
eb595198c6
Merge branch 'master' into features/relativesource-self
9 years ago
Steven Kirk
48a33cc415
Handle null in MarkupBindingChainException
9 years ago
Steven Kirk
7d6503a5f7
Added RelativeSource=Self XAML tests.
9 years ago
Steven Kirk
8f21388e28
Added RelativeSource=Self binding mode.
9 years ago
Steven Kirk
6e138b0117
Merge pull request #844 from AvaloniaUI/fixes/836-textbox-caret
Don't show TextBox caret when control not focused.
9 years ago
Steven Kirk
7cf208208b
Don't show TextBox caret when control not focused.
Fixes #836 .
9 years ago
Steven Kirk
90f4cfbea3
Register namescoped controls with parent namescope.
If we have e.g. a named UserControl in a window then we want that
control to be findable by name from the Window, so register with both
name scopes. This differs from WPF's behavior in that XAML manually
registers controls with name scopes based on the XAML file in which the
name attribute appears, but we're trying to avoid XAML magic in Avalonia
in order to made code-created UIs easy. This will cause problems if a
UserControl declares a name in its XAML and that control is included
multiple times in a parent control
(as the name will be duplicated), however at the moment I'm fine with
saying "don't do that".
Fixes #829 .
9 years ago
Steven Kirk
3af246dfac
Merge pull request #839 from AvaloniaUI/fixes/834-item-virt-horiz-scrollbar
Fix for #834 ListBox displays unnecessary horizontal scrollbar
9 years ago
Steven Kirk
79c5db52f5
Merge branch 'master' into fixes/834-item-virt-horiz-scrollbar
9 years ago
Steven Kirk
88f13cc676
Merge pull request #842 from AvaloniaUI/fixes/837-designer-focus
Don't focus Win32 window in design mode.
9 years ago
Steven Kirk
5e84430868
Don't focus Win32 window in design mode.
Fixes #837 .
9 years ago
Steven Kirk
799ffe72b8
Fix erroneous test expectations.
9 years ago
Steven Kirk
49757372a9
Fix for #834 .
Listen for bounds changes on the `VirtualizingPanel` and update the
scroll accordingly.
9 years ago