Wiesław Šoltés
e31d8f3bca
Renamed SkiaSharp.Linux.props to SkiaSharp.Desktop.props
10 years ago
Wiesław Šoltés
d0fbbc9182
Removed nuget libraries for Android and iOS targets
They are part of Xamarin bcl.
10 years ago
Steven Kirk
d61d95af19
Ported changes to Avalonia.Input from scenegraph.
Fixed some doc comments, and updated the mouse-over algorithm.
10 years ago
Steven Kirk
e9968a7606
Make WindowBase.IsVisible show/hide window.
10 years ago
Steven Kirk
4e719262c4
Make WindowBase.IsVisible return correct value.
`WindowBase.IsVisible` now tracks the visibility of the window. Still
needs to call `Show` and `Hide` when changed.
10 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
10 years ago
Steven Kirk
a56ca5f319
Ported IDispatcher from scenegraph branch.
10 years ago
Nikita Tsukanov
6754bda125
Switched back to using DependencyContext (we might even want to use it for net451 later)
10 years ago
Steven Kirk
04b35fef62
Removed unused field.
10 years ago
Steven Kirk
8e6b6258ed
Fix re-enabling windows when dialog is closed.
10 years ago
Steven Kirk
42239d4498
Moved IDrawingContextImpl to Avalonia.Platform.
So it can be alongside its impl brethren.
10 years ago
Wiesław Šoltés
38bc75b5ab
Updated NuGet packages to fix package downgrades
10 years ago
Wiesław Šoltés
7146b91303
Removed unnecessary project.json
10 years ago
Steven Kirk
a2fe941e2e
Added more comments on workaround.
10 years ago
Steven Kirk
96d9cfa2fc
Use the default compile items in core libs.
Now we're using the new project system, we don't have to have a
`<Compile Include="..."/>` element for each file.
10 years ago
Nikita Tsukanov
6cf037ad7c
One liners
10 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
10 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
10 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
10 years ago
Steven Kirk
65f9fe67f7
Added a set of immutable brushes.
Make `SolidColorBrush` immutable, but make the static `Brushes`
properties return immutable brushes. The immutable brushes will be
needed by the deferred renderer.
10 years ago
Nikita Tsukanov
42c68debf9
Disable default items
10 years ago
Nikita Tsukanov
beda69a2e6
Special hack to keep VS happy
10 years ago
Nikita Tsukanov
f6cad5f10c
use msbuild for package restore
10 years ago
Nikita Tsukanov
4bb5ebf070
Fixed build script for windows
10 years ago
Nikita Tsukanov
88ef461d53
Reference native linux binaries
10 years ago
Nikita Tsukanov
d7c48e17f4
Exclude resources from submodules
10 years ago
Nikita Tsukanov
8b8a9b99d9
Fixed vs build
10 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
10 years ago
Nikita Tsukanov
7a6dd834fa
Make sure that everything is buildable
10 years ago
Nikita Tsukanov
e35b2af5b2
Don't use multitargeting (we are using only one target anyway)
10 years ago
Nikita Tsukanov
e780c4201a
Switched to .NETStandard (mostly 1.1)
10 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
10 years ago
Steven Kirk
380bd7b74f
Don't validate thread affinity for bindings.
The scheduler should ensure that bindings are called on the correct
thread.
10 years ago
Steven Kirk
609c571424
Added AspectRatio and division operator to Size.
10 years ago
Steven Kirk
2b87e22db4
Use the dirty rect from BeginPaint on WM_PAINT.
The one returned by `GetUpdateRect` at this point will be empty, from
the win32 docs:
> BeginPaint automatically validates the update region, so any call to
GetUpdateRect made immediately after the call to BeginPaint retrieves an
empty update region.
10 years ago
Steven Kirk
5546ed043f
Added Rect.Union.
10 years ago
Steven Kirk
6cc829a132
Renamed Rect.CenterIn -> CenterRect.
The previous naming suggested that the `Rect` that the method was being
called on was the one being centered.
10 years ago
Steven Kirk
4e7b743ecd
Ported changes to DrawingContext from scenegraph
Ported changes to `DrawingContext` and `DrawingContextImpl` from the
`scenegraph` branch.
10 years ago
Steven Kirk
c6b3440e70
Remove Rect.operator*
It was wrong - use Rect.TransformToAABB instead.
10 years ago
Steven Kirk
74a0faa637
Use brush interfaces in rendering backends.
10 years ago
Steven Kirk
f6dee9eab4
Add interfaces for all brush types.
Also:
- Change `GradientBrush.GradientStops` to be a readonly list, as changes
to it would have been ignored anyway.
- Fix typo in ImageBrush filename.
10 years ago
Steven Kirk
a46be4e200
Ensure correct thread for AvaloniaProperty access.
Previously we ensured that `AvaloniaObject.SetValue` was run on the main
thread. This makes sure that `GetValue`, `IsSet` and `ClearValue` are
also run on the main thread. Unit testing this turned out to be more
complicated than expected, because `Dispatcher` keeps a hold of a
reference to the first `IPlatformThreadingInterface` it sees, so made
`UnitTestApplication` able to notify `Dispatcher` that it should update
its services.
10 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
10 years ago
Steven Kirk
4ca0bb72b2
Added GetObservable for routed events.
Fixes #905 .
10 years ago
Nikita Tsukanov
131fa44fa1
Fixed namespaces
10 years ago
Nikita Tsukanov
67a82d0462
Reverted WIC default pixel format
10 years ago
Nikita Tsukanov
90a4915549
Implemented WritableBitmap
10 years ago
Nikita Tsukanov
7013033a1b
Added `Bitmap(PixelFormat format, IntPtr data, int width, int height, int stride)` constructor
10 years ago
Nikita Tsukanov
657c53fb73
Make it clear that MaxClientSize is used when available
10 years ago
Nikita Tsukanov
6072bad3f6
Naming
10 years ago