summaryrefslogtreecommitdiff
path: root/examples/bezier-curve
diff options
context:
space:
mode:
authorRichard Huang <r.huang@samsung.com>2020-05-27 14:20:13 +0100
committerRichard Huang <r.huang@samsung.com>2020-05-27 14:20:28 +0100
commit80cdb8fb6a112954c040613d61417b12185dc5bd (patch)
treec8a128126e9b380853268901b4a09a3ec5ec4b2c /examples/bezier-curve
parenta37e79b97597e03b13c4041c9806792ec88df36d (diff)
downloaddali-demo-80cdb8fb6a112954c040613d61417b12185dc5bd.tar.gz
dali-demo-80cdb8fb6a112954c040613d61417b12185dc5bd.tar.bz2
dali-demo-80cdb8fb6a112954c040613d61417b12185dc5bd.zip
Remove more public Setter/Getter APIs from Dali::Actor
Change-Id: I40c438e3c0667cf2b3ce22aa3b2557a27bfc329b
Diffstat (limited to 'examples/bezier-curve')
-rw-r--r--examples/bezier-curve/bezier-curve-example.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bezier-curve/bezier-curve-example.cpp b/examples/bezier-curve/bezier-curve-example.cpp
index cf316168..4670c5f7 100644
--- a/examples/bezier-curve/bezier-curve-example.cpp
+++ b/examples/bezier-curve/bezier-curve-example.cpp
@@ -230,7 +230,7 @@ public:
.Add( Visual::Property::TYPE, Visual::IMAGE )
.Add( ImageVisual::Property::URL, ANIMATION_BACKGROUND ) );
animRail.SetResizePolicy( ResizePolicy::SIZE_RELATIVE_TO_PARENT, Dimension::ALL_DIMENSIONS );
- animRail.SetSizeModeFactor( Vector3( 0.666f, 0.2f, 1.0f ) );
+ animRail.SetProperty( Actor::Property::SIZE_MODE_FACTOR, Vector3( 0.666f, 0.2f, 1.0f ) );
animRail.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
animContainer.Add( animRail );
@@ -382,7 +382,7 @@ public:
{
TextLabel progressionLabel = TextLabel::New( "Progression" );
progressionLabel.SetProperty( TextLabel::Property::POINT_SIZE, AXIS_LABEL_POINT_SIZE );
- progressionLabel.SetOrientation( Degree(-90.0f), Vector3::ZAXIS );
+ progressionLabel.SetProperty( Actor::Property::ORIENTATION, Quaternion( Radian( Degree(-90.0f) ), Vector3::ZAXIS ) );
progressionLabel.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::BOTTOM_LEFT );
progressionLabel.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::BOTTOM_LEFT );
CreateLine( progressionLabel, ParentOrigin::BOTTOM_LEFT );