From 4fc39124bc876a9c78a04cb86397a4f0f08878e9 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 4 Oct 2021 21:13:30 +0800 Subject: ... --- include/cru/ui/helper/ShortcutHub.hpp | 4 ++-- include/cru/ui/render/BorderRenderObject.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/cru/ui') diff --git a/include/cru/ui/helper/ShortcutHub.hpp b/include/cru/ui/helper/ShortcutHub.hpp index fe3414fe..7f098a6d 100644 --- a/include/cru/ui/helper/ShortcutHub.hpp +++ b/include/cru/ui/helper/ShortcutHub.hpp @@ -45,8 +45,8 @@ class ShortcutKeyBind { return !this->operator==(other); } - std::u16string ToString() { - std::u16string result = u"("; + String ToString() { + String result = u"("; result += platform::gui::ToString(modifier_); result += u")"; result += platform::gui::ToString(key_); diff --git a/include/cru/ui/render/BorderRenderObject.hpp b/include/cru/ui/render/BorderRenderObject.hpp index 34ad71d6..5bed3cb0 100644 --- a/include/cru/ui/render/BorderRenderObject.hpp +++ b/include/cru/ui/render/BorderRenderObject.hpp @@ -2,7 +2,7 @@ #include #include "../style/ApplyBorderStyleInfo.hpp" #include "RenderObject.hpp" -#include "cru/platform/GraphBase.hpp" +#include "cru/platform/GraphicsBase.hpp" #include "cru/ui/Base.hpp" namespace cru::ui::render { -- cgit v1.2.3