From: Richard Huang Date: Tue, 2 Jun 2020 16:29:15 +0000 (+0100) Subject: Further Setter/Getter public API removal from Dali::Actor X-Git-Tag: dali_1.9.15~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F235447%2F1;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Further Setter/Getter public API removal from Dali::Actor Change-Id: Ie9c1c5e92be1ee000d88879147aefd6699366df6 --- diff --git a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-actor-utils.cpp b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-actor-utils.cpp index 38eb0b2..4387ba7 100644 --- a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-actor-utils.cpp +++ b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-actor-utils.cpp @@ -88,7 +88,7 @@ Actor CreateRenderableActor( Image texture, const std::string& vertexShader, con renderer.SetTextures( textureSet ); // Set actor to the size of the texture if set - actor.SetSize( texture.GetWidth(), texture.GetHeight() ); + actor.SetProperty( Actor::Property::SIZE, Vector2( texture.GetWidth(), texture.GetHeight() ) ); } return actor; diff --git a/automated-tests/src/dali-adaptor/utc-Dali-PixelBuffer.cpp b/automated-tests/src/dali-adaptor/utc-Dali-PixelBuffer.cpp index 055d4be..9123b19 100644 --- a/automated-tests/src/dali-adaptor/utc-Dali-PixelBuffer.cpp +++ b/automated-tests/src/dali-adaptor/utc-Dali-PixelBuffer.cpp @@ -242,7 +242,7 @@ int UtcDaliPixelBufferConvert(void) r.SetTextures(ts); Actor a = Actor::New(); a.AddRenderer(r); - a.SetSize(10, 10); + a.SetProperty( Actor::Property::SIZE, Vector2(10, 10) ); a.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER ); Stage::GetCurrent().Add(a);