Nikita Tsukanov
d2fb209acf
Compilation fixes
9 years ago
Nikita Tsukanov
85350b27b2
Fix for Popup
9 years ago
Nikita Tsukanov
91691c30a7
PR notes
9 years ago
Nikita Tsukanov
21da2df1ec
Call ProcessRawEvent directly from the input manager
9 years ago
Nikita Tsukanov
77b7026ac9
Removed IMouseDevice from service locator
9 years ago
Steven Kirk
3e8587348d
Change ILockedFrameBuffer.Dpi to Vector.
`ILockedFrameBuffer.Dpi` was a `Size` but it would make more sense as a `Vector` because `Size * Vector` produces a `Size` whereas a `Size * Size` would produce a `Size3D` if that type existed.
9 years ago
Steven Kirk
69bfaf0800
Added NotifyPropertyChangedInvocator.
9 years ago
Steven Kirk
0b9a8bff06
Implement RaiseAndSetIfChanged.
On devtools `ViewModelBase`.
9 years ago
Steven Kirk
e015ef07bf
Remove ReactiveUI dependency from DevTools.
9 years ago
Nikita Tsukanov
5125784af5
Missing file
9 years ago
Nikita Tsukanov
2f34c124e6
Added Direct2D-specific IExternalDirect2DRenderTargetSurface
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
5a819c1c87
Make Window.OpenWindows readonly
And hack around the fact that it's static in unit tests.
9 years ago
Steven Kirk
a7ff93450e
Fixed problems with Windows.OpenWindows.
- Showing a window was causing it to be added to the collection twice because `Show()` called `IsVisible = true` which called `Show()`
- The window wasn't getting removed when the `PlatformImpl` signalled it was closed
9 years ago
Nikita Tsukanov
b18a103834
PR notes
9 years ago
Nikita Tsukanov
0b756d0b8a
More null checks
9 years ago
Nikita Tsukanov
e883107ca3
Make PlatformImpl nullable and always check for null value
9 years ago
Steven Kirk
4fa6c1e7f4
Fixed invalid doc references.
9 years ago
Steven Kirk
16a47dac61
Apply margin before width/height.
Fixes #993 .
9 years ago
Connor Laderer
0a65816ae1
Corrected where statement because if its provided, it doesn't need a parameterless constructor
9 years ago
Connor Laderer
4ecca2bb53
Added overload of Start for AppBuilderBase
This will allow for easy use of Dependency Injection with Microsoft.Extensions.DependencyInjection the mainWindow can resolve any constructor objects it may have.
9 years ago
Nikita Tsukanov
760caf86ce
Bump version
9 years ago
Nikita Tsukanov
49aeb7cec2
Fixed binding to Task<T>
9 years ago
Steven Kirk
6f70acc7b0
Updated version to 0.5.0.
9 years ago
Nikita Tsukanov
c611fdc92b
Target AnyCPU
9 years ago
Nikita Tsukanov
f322924621
Use GTK3/Skia by default
9 years ago
Nikita Tsukanov
b87b3bb6da
Updated Skia to 1.57.1
9 years ago
Steven Kirk
88b0342e3d
Fix GetVisualRoot logic
It was plain wrong.
9 years ago
Steven Kirk
f678683472
Handle inserts before currently visible item.
If a virtualized list was scrolled and an item added before the first
visible item, then the list wasn't updated.
9 years ago
Steven Kirk
c9e90fd7fc
Fix type conversions.
They were not correct before. Also clarified the two types of
conversions:
- `TryConvertImplicit` implements the implicit conversions allowed by
the C# language
- `TryConvert` tries every means at its disposal to convert a value to a
type
`AvaloniaObject` uses only implicit conversions. This allows one to
write:
```
var control = new TextBlock
{
[Canvas.TopProperty] = 10
}
```
Without implicit conversions, this would fail because `Canvas.Top` is a
`double` whereas `10` is an `int`, however only implicit conversions
should be used here, otherwise the following would pass, which is
probably not what would be wanted:
```
var control = new TextBlock
{
[TextBlock.TextProperty] = observable, // Text is now the type name of
`observable`
}
```
`DefaultValueConverter` uses `TryConvert`, i.e. every conversion
possible.
Fixes #972 .
9 years ago
Nikita Tsukanov
b732f9ee26
Register renderer factory for the rest of the platforms
9 years ago
Nikita Tsukanov
06aa7780fb
Moved Direct2D initialization away from static constructor
9 years ago
Nikita Tsukanov
342128bbf1
Fixed CreateSwapChain
9 years ago
Nikita Tsukanov
9d0ee4ef1b
Moved Erase call to bitmap constructor
9 years ago
Nikita Tsukanov
982fee222c
Skia: Erase bitmap on drawing context creation
9 years ago
Nikita Tsukanov
59e79a6685
Removed unused field from WicBitmapImpl
9 years ago
Nikita Tsukanov
b9e378b694
Removed obsolete code from Skia.iOS
9 years ago
Steven Kirk
be83759cad
Rename Control -> Visual.
9 years ago
Steven Kirk
859e748605
Handle non Control-derived classes in DevTools.
Previously DevTools expected all controls to be derived from `Control`
which isn't necessarily always the case.
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
Nikita Tsukanov
7a66752f2e
Make CreateRenderTarget virtual
9 years ago
Nikita Tsukanov
012451a4db
Direct3D interop sample
9 years ago
Steven Kirk
3082bda498
Pass resized message to renderer.
9 years ago
Steven Kirk
cc48e6322d
Removed AvaloniaDisposable.
No longer used.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
4a6deb7d8b
Added some doc comments.
And removed some tabs.
9 years ago
Steven Kirk
92331915b4
Enable SharpDX EnableReleaseOnFinalizer.
We need to enable to avoid memory leaks this as we're not doing cleanup
of SharpDX objects ourselves.
9 years ago
Steven Kirk
e6cb529878
Ported immutable media impls from scenegraph.
The deferred renderer requires immutable objects for drawing as it
renders on a separate thread.
9 years ago
Wiesław Šoltés
0e6f48e8a0
Use different FromEventPattern method
Fixes #946
9 years ago
Wiesław Šoltés
a26c261aad
Fixed OnPointerReleased parameter type
9 years ago