Jumar Macato
954a65e14d
Fix formatting in AnimationsPage.xaml
9 years ago
Jumar Macato
9099b6e6de
Fix color transitions code. Reworked animation example page a little bit.
9 years ago
Jumar Macato
1fbf8ee796
Some tweaking with AnimationPage.xaml.
Merged RenderTest's Program and App class for brevity.
9 years ago
Jumar Macato
bb5c5c0d3a
TransitionKeyFrames transform selection logic are now fully functional.
Trigger RaiseChanged() on TransformGroup class when a child transform was changed.
Split the PlayState enum to a new file.
9 years ago
Jumar Macato
8dd3315c9a
Split the global timer for Transitions and Animations.
Added more example animations in RenderTest with Global Pause/Resume button for Animations.
9 years ago
Jumar Macato
7693836c43
Minor Fixes pt. 2
9 years ago
Jumar Macato
c828437239
Minor fixes.
9 years ago
Jumar Macato
ee1960ba00
Finally, finally fix the linear parametric interpolation for DoubleKeyFrames 😄
Credits to Georgia Tech's keyframe slides : https://www.cc.gatech.edu/classes/AY2012/cs4496_spring/slides/Keyframe.pdf
9 years ago
Jumar Macato
39fea68f74
9 years ago
Jumar Macato
431afdebb1
* Fixed interpolation point selection when theres three or more keyframes.
*Added new examples in RenderTest/AnimationsPage
9 years ago
Jumar Macato
dd657e203d
*Implement Basic Keyframe Animations support.
*Implement DoubleKeyFrames for Properties such as Opacity, etc.
*Implement TransformKeyFrames with initial implementation
of specialized logic for selecting RenderTransform of the
target control properly.
*Ported RenderTest to .NET Core for testing and to remove the
crufty old .csproj format.
*Replaced AnimationsPage with some samples of hover-activated
animated red rectangles.
9 years ago
Jumar Macato
28e3d73098
Revert the library split, just transferring the base Animatable class to Avalonia.Visual was good enough.
Apply important changes from my internal test branch
9 years ago
Jumar Macato
378bdc6c8c
Fixed transition backend, transitions are now working.
9 years ago
Jumar Macato
7becd1ea92
*Added initial implementation of new Transitions
*Added default easing classes
*Added easing type converter
9 years ago
Jumar Macato
2556b50992
Rename Carousel & TabControls Transition property to PageTransitions to avoid confusion to the upcoming Transitions from Avalonia.Animations.
9 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
9 years ago
Steven Kirk
c02514f162
Removed imports of deleted .props file.
9 years ago
Steven Kirk
03621a8664
Added AppBuilder methods for logging.
You can now set up serilog logging to `Debug` or `Trace` by calling e.g.:
```
AppBuilder.Configure<App()
.LogToDebug()
.UsePlatformDetect();
```
The methods accept an optional `level` parameter to control the minimum log level.
9 years ago
Nikita Tsukanov
7affba4763
Cleaning splat
9 years ago
Jeremy Koritzinsky
a38dfada10
Fix malformed XAML
9 years ago
Jeremy Koritzinsky
745517f68e
Updated usage of Static and Type to be x:Static and x:Type.
9 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
9 years ago
Jeremy Koritzinsky
dff3031e20
Upgrade ReactiveUI to the v8 alpha nuget package so we don't need to maintain our own fork. Avalonia.ReactiveUI only registers the MainScheduler, and it does so via a call to UseReactiveUI on AppBuilder.
Update Rx.Net dependency to match reactiveui's dependency on Rx.
Removed ReactiveUI dependeny in BindingTests.
Updated BindingTest sample to use the new reactiveui APIs.
Update samples to use current ReactiveUI APIs.
Fixed bug I introduced into tests.
Remove RxUI submodule info from .gitmodules
9 years ago
Steven Kirk
f6ed69be28
StyleResource -> DynamicResource
9 years ago
Eli Arbel
7bbbb185de
Typo
9 years ago
Eli Arbel
b9aa086f03
Adding Drawing classes & render test
9 years ago
Jeremy Koritzinsky
5ec7b33a1a
Revert "Upgrade ReactiveUI to the v8 alpha"
9 years ago
Jeremy Koritzinsky
9f8336c733
Update samples to use current ReactiveUI APIs.
9 years ago
Nikita Tsukanov
cce1c7af60
Switched to nuget version of Portable.Xaml and updated to use netstandard1.3
9 years ago
Nikita Tsukanov
e610d5858f
Merge skia projects into one
9 years ago
Steven Kirk
6bc9636896
Make Avalonia.Direct2D1 target netstandard1.3
It can't target netstandard1.1 because that doesn't include `FileStream`. Had to update the samples to net4.6.1 because of this.
9 years ago
Wiesław Šoltés
2afd6cb224
Remove NuGet workaround
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
10 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
10 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
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
910d17a32a
Removed unused code.
10 years ago
Steven Kirk
b16e5b9c54
Removed D2D reference from RenderTest.
Was making build fail on non-Windows
10 years ago
Steven Kirk
8099317f88
Ported RenderTest from scenegraph branch.
10 years ago
Steven Kirk
6036bd5998
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
10 years ago
Steven Kirk
468f9654e0
Test turning geometry clipping on and off.
Seems to work!
10 years ago
Steven Kirk
5e4f5a6160
Handle geometry clips on child layers.
10 years ago
Steven Kirk
9004e9b4f8
Updated RenderTest.
It has various problems under deferred renderer.
10 years ago
Steven Kirk
e619e6c6c2
Added skia ref to RenderTest.
10 years ago
Steven Kirk
932f489faa
Use the Direct2D 1.1 render target initialization.
To prevent D2D from auto-stretching our render target to the window size
(which causes problems now we're multi-threaded) we have to move to the
D2D1.1 render target initialization. I used the info here to work out
how to do this:
https://katyscode.wordpress.com/2013/01/23/migrating-existing-direct2d-applications-to-use-direct2d-1-1-functionality-in-windows-7/
- it's not exactly simple!
10 years ago
Steven Kirk
e222e92340
Add option to draw dirty rects.
10 years ago
Steven Kirk
c9752d32d8
Fixed a few things.
- We don't need ConcurrentQueue in renderer
- DirtyRects coalescing was wrong
- Display number of updated rects for debug until we have dirty rect
rendering
- Animate 2 items at once in RenderTest
10 years ago
Steven Kirk
86216d9420
Use scene geometry for hit-testing.
This means we now correctly hit test circles etc.
10 years ago
Steven Kirk
d91d1829ac
Initial implementation of scenegraph hit testing.
Based solely on control bounds as before.
10 years ago