diff options
author | crupest <crupest@outlook.com> | 2022-02-12 21:38:34 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-12 21:38:34 +0800 |
commit | 947664150cf0ae96cbffffe431107ec28d85d9cc (patch) | |
tree | 829662c5d18aa378d1b59be1381a63107008b890 /src/theme_builder/components/properties/PointPropertyEditor.h | |
parent | b7946e28a08c945e26d39f095d2e55c952a936c4 (diff) | |
download | cru-947664150cf0ae96cbffffe431107ec28d85d9cc.tar.gz cru-947664150cf0ae96cbffffe431107ec28d85d9cc.tar.bz2 cru-947664150cf0ae96cbffffe431107ec28d85d9cc.zip |
...
Diffstat (limited to 'src/theme_builder/components/properties/PointPropertyEditor.h')
-rw-r--r-- | src/theme_builder/components/properties/PointPropertyEditor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theme_builder/components/properties/PointPropertyEditor.h b/src/theme_builder/components/properties/PointPropertyEditor.h index 8588d77c..d1c84c33 100644 --- a/src/theme_builder/components/properties/PointPropertyEditor.h +++ b/src/theme_builder/components/properties/PointPropertyEditor.h @@ -11,6 +11,11 @@ class PointPropertyEditor : public ui::components::Component { ~PointPropertyEditor() override; public: + ui::controls::Control* GetRootControl() override { return &container_; } + + String GetLabel() const { return label_.GetText(); } + void SetLabel(String label) { label_.SetText(std::move(label)); } + ui::Point GetPoint() const { return point_; } void SetPoint(const ui::Point& point); |