Jeremy Koritzinsky
58319bf299
Fix typing of Clock.GlobalClock.
8 years ago
Steven Kirk
f55b556b1c
Make separator MenuItem non-focusable.
8 years ago
Steven Kirk
e58b4d5152
Don't dispose completed binding.
8 years ago
Steven Kirk
b449003958
Allow MenuItems to be separators.
If `MenuItem.Header == "-"` then apply the `:separator` pseudoclass to the `MenuItem` and display it as a separator.
8 years ago
Jeremy Koritzinsky
0aa5866ea8
Fix missed changes in IRenderTimer.
8 years ago
ahopper
df014f3b1e
Fix drawing presenter clipping ( #1882 )
* fix clipping offset
* simplified clipping calculation
8 years ago
Jeremy Koritzinsky
5fce271ff8
PR Feedback
8 years ago
Steven Kirk
ac0c9e69cd
Added IAffectsRender interface...
...and use it as a general-purpose means of attaching to property values that can affect render.
8 years ago
Benedikt Schroeder
e625f03c16
Use ID2D1Device instead of ID2D1Device1 to keep wi
8 years ago
Benedikt Schroeder
50f15b1154
Namespace fix
8 years ago
Benedikt Schroeder
1bf4954334
Downgrade SharpDX to 4.0.1
8 years ago
Jumar Macato
dc36911e44
Flip the sign on the outgoing carousel animation.
8 years ago
Jeremy Koritzinsky
2be60e593d
Fix PageSlide direction mess-up.
8 years ago
Jumar Macato
5e6a6f7e03
Add explicit double type marker on values.
Flip the sign on distance to match the correct behavior.
8 years ago
Steven Kirk
460d63736d
Use immutable brush as default Foreground value.
Prevents memory leak.
8 years ago
Steven Kirk
a5a5b36ddc
Invalidate controls when brush changed.
8 years ago
Jeremy Koritzinsky
f99e79faa8
Fix carousel animation crash
8 years ago
Jeremy Koritzinsky
ce95625d66
Only add the clock to the render loop if there is a render loop.
8 years ago
Jeremy Koritzinsky
8357bc86b0
Add tests for the new RenderLoop logic.
8 years ago
Jeremy Koritzinsky
3f5ec49b4a
Update iOS and Android projects to use RenderTimers.
8 years ago
Jeremy Koritzinsky
58a85c53c7
Have each AnimationInstance and TransitionInstance use their own internal clock instead of relying on tracking the start time of the global clock. Use a binary search to find the correct keyframe instead of linear search.
8 years ago
Jeremy Koritzinsky
6b0ef13027
Clean up naming in TransformAnimator.
8 years ago
Jeremy Koritzinsky
51faa94534
Allow users to supply custom clocks in XAML or code before animations are applied. Change AnimationsPage to show an example with a custom clock and the animations on that page.
8 years ago
Jeremy Koritzinsky
ec9c61bbbe
Allow clocks to be bindable and inherited down the logical tree.
8 years ago
Jeremy Koritzinsky
59cad1cf86
Fix unfinished clock type refactor.
8 years ago
Jeremy Koritzinsky
0c611b981d
Refactor clock types.
8 years ago
Jeremy Koritzinsky
6a380d6591
Reorganize RenderLoopClock registration.
8 years ago
Jeremy Koritzinsky
b0368c80b2
Enable transitions to run on custom clocks.
8 years ago
Jeremy Koritzinsky
bf1b78c4ab
Enable Animations to run on a non-global clock.
8 years ago
Jeremy Koritzinsky
9b9676d3fe
Enable chaining clocks.
8 years ago
Jeremy Koritzinsky
a987c4648b
Move Pause PlayState time tracking into Clock.
8 years ago
Jeremy Koritzinsky
5c8ced89a3
Move GlobalPlayState tracking to Clock.
8 years ago
Jeremy Koritzinsky
6fe8dba8d9
Remove timing class and create Clock classes that can hook into the render loop.
8 years ago
Jeremy Koritzinsky
c5898b98af
Remove unused field.
8 years ago
Jeremy Koritzinsky
5e1e25e6fa
Clean up render timers to use Environment.TickCount.
8 years ago
Steven Kirk
25b7297188
Added RenderLoop docs.
8 years ago
Steven Kirk
179ea4eca9
inTick doesn't need to be volatile.
8 years ago
Jeremy Koritzinsky
e24a125ec0
Make MonoMac platform use DefaultRenderTimer infrastructure in its RenderTimer.
8 years ago
Jeremy Koritzinsky
87e98cacf9
Rewrite Win32 RenderTimer to use undeprecated APIs.
8 years ago
Jeremy Koritzinsky
f2ba884e0a
Cleanup logic in LightweightObservableBase.
8 years ago
Jumar Macato
33aec77f16
Move the playstate handling to the State machine instead of being pipelined by the timer itself.
Removed unused AnimationStateTimer.
8 years ago
Steven Kirk
c7c9b0a205
Use `Stopwatch.GetTimestamp()` for tickCount.
8 years ago
Steven Kirk
166f9f8cf0
Pulse animation timer from render loop.
8 years ago
Steven Kirk
8ec2c8f661
Notify tick count in IRenderTimer.Tick.
8 years ago
Steven Kirk
0b4e6b8471
Make centralized RenderLoop.
- Renamed `RenderLoop` to `RenderTimer`
- Added new `RenderLoop` which `DeferredRenderer`s register themselves with for updates
8 years ago
Steven Kirk
d531b36b96
Make brushes raise a Changed event.
When their visual representation changes.
8 years ago
Steven Kirk
f39e38545d
Use inner methods for invalidation.
8 years ago
Steven Kirk
d15e86c2a7
Pass correct node bounds to PushOpacityMask. ( #1870 )
* Pass correct node bounds.
Use node bounds not clip bounds for opacity mask rect.
Fixes #1118 .
* Use layout bounds for opacity mask.
And added a new render test to make sure that the render transform is applied to it.
* Fix bad XAML formatting.
8 years ago
William David Cossey
2b2255b1c8
Background is only applicable to the Border#border.
Added Foreground, VerticalContentAlignment and HorizontalContentAlignment for ContentPresenter#PART_ContentPresenter.
8 years ago
Steven Kirk
4deef1d57b
Enable TreeView horizontal scrollbar. ( #1872 )
Fixes #1871 .
8 years ago