/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
mImpl->mActor = Actor::New();
mImpl->mActor.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
- mImpl->mActor.SetSize( view.GetControlSize() );
+ mImpl->mActor.SetProperty( Actor::Property::SIZE, Vector2( view.GetControlSize() ) );
mImpl->mActor.SetProperty( Actor::Property::COLOR, Color::WHITE );
#if defined(DEBUG_ENABLED)
mImpl->mActor.SetProperty( Dali::Actor::Property::NAME, "Text renderable actor" );
if( 0 != vertices.Count() )
{
- PropertyBuffer quadVertices = PropertyBuffer::New( mImpl->mQuadVertexFormat );
+ VertexBuffer quadVertices = VertexBuffer::New( mImpl->mQuadVertexFormat );
quadVertices.SetData( &vertices[ 0 ], vertices.Size() );
{
delete mImpl;
}
-