diff options
| author | crupest <crupest@outlook.com> | 2021-10-04 21:13:30 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2021-10-04 21:13:30 +0800 |
| commit | 4fc39124bc876a9c78a04cb86397a4f0f08878e9 (patch) | |
| tree | 27b9919b8c17710aed3031b6f1e64055dab0683f /include/cru/ui | |
| parent | 8b5df96202b8eb663a9a747c1c9d249f64a933e8 (diff) | |
| download | cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.gz cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.tar.bz2 cru-4fc39124bc876a9c78a04cb86397a4f0f08878e9.zip | |
...
Diffstat (limited to 'include/cru/ui')
| -rw-r--r-- | include/cru/ui/helper/ShortcutHub.hpp | 4 | ||||
| -rw-r--r-- | include/cru/ui/render/BorderRenderObject.hpp | 2 |
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 { |
