summaryrefslogtreecommitdiff
path: root/examples/clipping
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/clipping
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/clipping')
-rw-r--r--examples/clipping/clipping-item-factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/clipping/clipping-item-factory.cpp b/examples/clipping/clipping-item-factory.cpp
index 7ec1082a..a30afa1b 100644
--- a/examples/clipping/clipping-item-factory.cpp
+++ b/examples/clipping/clipping-item-factory.cpp
@@ -116,8 +116,8 @@ Actor ClippingItemFactory::NewItem( unsigned int itemId )
borderActor.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
borderActor.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
borderActor.SetResizePolicy( ResizePolicy::SIZE_FIXED_OFFSET_FROM_PARENT, Dimension::ALL_DIMENSIONS );
- borderActor.SetSizeModeFactor( Vector3( 2.0f * ITEM_BORDER_SIZE, 2.0f * ITEM_BORDER_SIZE, 0.0f ) );
- borderActor.SetColorMode( USE_PARENT_COLOR );
+ borderActor.SetProperty( Actor::Property::SIZE_MODE_FACTOR, Vector3( 2.0f * ITEM_BORDER_SIZE, 2.0f * ITEM_BORDER_SIZE, 0.0f ) );
+ borderActor.SetProperty( Actor::Property::COLOR_MODE, USE_PARENT_COLOR );
borderActor.SetProperty( ImageView::Property::IMAGE,
Property::Map().Add( Toolkit::Visual::Property::TYPE, Visual::BORDER )
.Add( BorderVisual::Property::COLOR, Color::WHITE )