summaryrefslogtreecommitdiff
path: root/builder
diff options
context:
space:
mode:
authorRichard Huang <r.huang@samsung.com>2020-05-19 13:54:44 +0100
committerRichard Huang <r.huang@samsung.com>2020-05-19 14:18:46 +0100
commitcc86309efaef5f77c85ece1199f95e08534e4a32 (patch)
tree6d5e1173f095eb326c0f94f352050a63e6063cb3 /builder
parent58f272e38bad083e89997a37da8b9cfc8ba9b6e1 (diff)
downloaddali-demo-cc86309efaef5f77c85ece1199f95e08534e4a32.tar.gz
dali-demo-cc86309efaef5f77c85ece1199f95e08534e4a32.tar.bz2
dali-demo-cc86309efaef5f77c85ece1199f95e08534e4a32.zip
Remove some public Setter/Getter APIs from Dali::Actor
Change-Id: I9b00f63593d47fd56c0d97f8cb848912ceed726c
Diffstat (limited to 'builder')
-rw-r--r--builder/dali-builder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/builder/dali-builder.cpp b/builder/dali-builder.cpp
index 5445fd19..a688f586 100644
--- a/builder/dali-builder.cpp
+++ b/builder/dali-builder.cpp
@@ -215,9 +215,9 @@ private:
if(!layer)
{
layer = Layer::New();
- layer.SetParentOrigin(ParentOrigin::CENTER);
- layer.SetAnchorPoint(AnchorPoint::CENTER);
- layer.SetSize( stage.GetRootLayer().GetCurrentSize() );
+ layer.SetProperty( Actor::Property::PARENT_ORIGIN,ParentOrigin::CENTER);
+ layer.SetProperty( Actor::Property::ANCHOR_POINT,AnchorPoint::CENTER);
+ layer.SetSize( stage.GetRootLayer().GetCurrentProperty< Vector3 >( Actor::Property::SIZE ) );
stage.GetRootLayer().Add(layer);
// render tasks may have been setup last load so remove them