aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/components/Input.cpp6
-rw-r--r--src/ui/style/StyleRuleSet.cpp1
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"