aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/properties/PointPropertyEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theme_builder/components/properties/PointPropertyEditor.h')
-rw-r--r--src/theme_builder/components/properties/PointPropertyEditor.h5
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);