From 20123151d12a0b01453ab6a36c84e4d3e5ea9504 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 7 Sep 2025 03:34:56 +0800 Subject: Remove some usage of my format. --- src/ui/components/Input.cpp | 6 ++++-- src/ui/style/StyleRuleSet.cpp | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/ui') 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 -#include +#include "cru/base/Format.h" #include "cru/base/StringToNumberConverter.h" #include "cru/ui/controls/Control.h" +#include +#include + 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" -- cgit v1.2.3