Changes following patch "Visuals - Avoid having 2 devel headers for visual-properties.h" 82/99582/2
authorFerran Sole <ferran.sole@samsung.com>
Wed, 23 Nov 2016 09:31:53 +0000 (09:31 +0000)
committerFerran Sole <ferran.sole@samsung.com>
Thu, 24 Nov 2016 15:13:27 +0000 (15:13 +0000)
Change-Id: Ifa99fb377a65b3670da1b4b680aa441a22996bfe

examples/styling/image-channel-control-impl.cpp

index 63a09352bf611deeae77d57c3aafa49b3d1ec24a..8db5e399921b8984fc4daebf128e6d9589868733 100644 (file)
@@ -19,7 +19,7 @@
 #include <dali/public-api/object/type-registry-helper.h>
 #include <dali-toolkit/devel-api/align-enums.h>
 #include <dali-toolkit/devel-api/visual-factory/visual-factory.h>
-#include <dali-toolkit/devel-api/visual-factory/devel-visual-properties.h>
+#include <dali-toolkit/devel-api/visuals/visual-properties-devel.h>
 
 #include <cstdio>
 
@@ -181,11 +181,11 @@ void ImageChannelControl::OnSizeSet( const Vector3& targetSize )
     Vector2 size( targetSize );
     Property::Map transformMap;
     transformMap
-      .Add( Toolkit::Visual::DevelProperty::Transform::Property::OFFSET, Vector2(0.0f, 0.0f) )
-      .Add( Toolkit::Visual::DevelProperty::Transform::Property::SIZE, Vector2(1.0f, 1.0f) )
-      .Add( Toolkit::Visual::DevelProperty::Transform::Property::ORIGIN, Toolkit::Align::CENTER )
-      .Add( Toolkit::Visual::DevelProperty::Transform::Property::ANCHOR_POINT, Toolkit::Align::CENTER )
-      .Add( Toolkit::Visual::DevelProperty::Transform::Property::OFFSET_SIZE_MODE, Vector4::ZERO );
+      .Add( Toolkit::DevelVisual::Transform::Property::OFFSET, Vector2(0.0f, 0.0f) )
+      .Add( Toolkit::DevelVisual::Transform::Property::SIZE, Vector2(1.0f, 1.0f) )
+      .Add( Toolkit::DevelVisual::Transform::Property::ORIGIN, Toolkit::Align::CENTER )
+      .Add( Toolkit::DevelVisual::Transform::Property::ANCHOR_POINT, Toolkit::Align::CENTER )
+      .Add( Toolkit::DevelVisual::Transform::Property::OFFSET_SIZE_MODE, Vector4::ZERO );
 
     mVisual.SetTransformAndSize( transformMap, size );
   }