aboutsummaryrefslogtreecommitdiff
path: root/src/ThemeBuilder/components/properties/PointPropertyEditor.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-10-17 12:06:14 +0800
committerYuqian Yang <crupest@crupest.life>2025-10-17 12:06:14 +0800
commit32aa6f116acc6e3e20a1ec76cef45b29f7005ad7 (patch)
tree892b71060a88b58d9293d78033000b05818783df /src/ThemeBuilder/components/properties/PointPropertyEditor.h
parentfaf77949e19dc0d01f75bf8abb783eda70328048 (diff)
downloadcru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.gz
cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.bz2
cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.zip
Remove String stage 1.
Diffstat (limited to 'src/ThemeBuilder/components/properties/PointPropertyEditor.h')
-rw-r--r--src/ThemeBuilder/components/properties/PointPropertyEditor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ThemeBuilder/components/properties/PointPropertyEditor.h b/src/ThemeBuilder/components/properties/PointPropertyEditor.h
index bd852e3a..4f078c8b 100644
--- a/src/ThemeBuilder/components/properties/PointPropertyEditor.h
+++ b/src/ThemeBuilder/components/properties/PointPropertyEditor.h
@@ -15,14 +15,14 @@ class PointPropertyEditor : public Editor {
public:
ui::controls::Control* GetRootControl() override { return &container_; }
- String GetLabel() const { return label_.GetText(); }
- void SetLabel(String label) { label_.SetText(std::move(label)); }
+ std::string GetLabel() const { return label_.GetText(); }
+ void SetLabel(std::string label) { label_.SetText(std::move(label)); }
ui::Point GetValue() const { return point_; }
void SetValue(const ui::Point& point, bool trigger_change = true);
private:
- static String ConvertPointToString(const ui::Point& point);
+ static std::string ConvertPointToString(const ui::Point& point);
private:
ui::Point point_;