From 09864c09e519eaa58e3a7269baad7f48e8145f4f Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 23 Sep 2018 17:58:28 +0800 Subject: Move CreateDefaultTextFormat to graph. --- CruUI/graph/graph.h | 1 + 1 file changed, 1 insertion(+) (limited to 'CruUI/graph/graph.h') diff --git a/CruUI/graph/graph.h b/CruUI/graph/graph.h index 01d95797..0f1d29d1 100644 --- a/CruUI/graph/graph.h +++ b/CruUI/graph/graph.h @@ -166,6 +166,7 @@ namespace cru } Microsoft::WRL::ComPtr CreateSolidBrush(const D2D1_COLOR_F& color); + Microsoft::WRL::ComPtr CreateDefaultTextFormat(); inline void WithTransform(ID2D1DeviceContext* device_context, const D2D1_MATRIX_3X2_F matrix, Function&& action) { -- cgit v1.2.3