diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-09-07 03:34:56 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-09-07 03:34:56 +0800 |
commit | 20123151d12a0b01453ab6a36c84e4d3e5ea9504 (patch) | |
tree | 27543f3e5bf6430298c94c38bad6ecc83dafdd47 /src/ui | |
parent | 227118866190a7fe17b42e8c589c475781c69f33 (diff) | |
download | cru-20123151d12a0b01453ab6a36c84e4d3e5ea9504.tar.gz cru-20123151d12a0b01453ab6a36c84e4d3e5ea9504.tar.bz2 cru-20123151d12a0b01453ab6a36c84e4d3e5ea9504.zip |
Remove some usage of my format.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/components/Input.cpp | 6 | ||||
-rw-r--r-- | src/ui/style/StyleRuleSet.cpp | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/components/Input.cpp b/src/ui/components/Input.cpp index b308ed51..6a53b938 100644 --- a/src/ui/components/Input.cpp +++ b/src/ui/components/Input.cpp @@ -1,9 +1,11 @@ #include "cru/ui/components/Input.h" -#include <cmath> -#include <optional> +#include "cru/base/Format.h" #include "cru/base/StringToNumberConverter.h" #include "cru/ui/controls/Control.h" +#include <cmath> +#include <optional> + namespace cru::ui::components { Input::Input() : last_validate_result_{true, u"Good value"} { text_box_.TextChangeEvent()->AddSpyOnlyHandler([this] { diff --git a/src/ui/style/StyleRuleSet.cpp b/src/ui/style/StyleRuleSet.cpp index ab3a2d01..5468949a 100644 --- a/src/ui/style/StyleRuleSet.cpp +++ b/src/ui/style/StyleRuleSet.cpp @@ -1,5 +1,6 @@ #include "cru/ui/style/StyleRuleSet.h" #include "cru/base/Event.h" +#include "cru/base/Exception.h" #include "cru/ui/controls/Control.h" #include "cru/ui/model/IListChangeNotify.h" |