aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui')
-rw-r--r--include/cru/ui/helper/ShortcutHub.hpp4
-rw-r--r--include/cru/ui/render/BorderRenderObject.hpp2
2 files changed, 3 insertions, 3 deletions
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 <string_view>
#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 {