aboutsummaryrefslogtreecommitdiff
path: root/CruUI/graph
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-19 01:15:01 +0800
committercrupest <crupest@outlook.com>2018-09-19 01:15:01 +0800
commit85bb4d466efeb2540363065d7c0987a9d60f70e9 (patch)
treeea5e5aa738afb37a2d3bc4e74f9be64c15f3d188 /CruUI/graph
parent4710715102df3806479985679bd8048631ccaab5 (diff)
downloadcru-85bb4d466efeb2540363065d7c0987a9d60f70e9.tar.gz
cru-85bb4d466efeb2540363065d7c0987a9d60f70e9.tar.bz2
cru-85bb4d466efeb2540363065d7c0987a9d60f70e9.zip
finish animation!!!
Diffstat (limited to 'CruUI/graph')
-rw-r--r--CruUI/graph/graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/graph/graph.h b/CruUI/graph/graph.h
index fd062787..01d95797 100644
--- a/CruUI/graph/graph.h
+++ b/CruUI/graph/graph.h
@@ -167,7 +167,7 @@ namespace cru
Microsoft::WRL::ComPtr<ID2D1SolidColorBrush> CreateSolidBrush(const D2D1_COLOR_F& color);
- inline void WithTransform(ID2D1DeviceContext* device_context, const D2D1_MATRIX_3X2_F matrix, Action<ID2D1DeviceContext*>&& action)
+ inline void WithTransform(ID2D1DeviceContext* device_context, const D2D1_MATRIX_3X2_F matrix, Function<void(ID2D1DeviceContext*)>&& action)
{
D2D1_MATRIX_3X2_F old_transform;
device_context->GetTransform(&old_transform);