X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fshader-effects%2Fimage-region-effect.h;h=afeba53712736c0915a76d7ec82b03e8378495b5;hb=8b9e1eb2a98b0cbfb30286e097fc03e9c5e6410d;hp=0ccf1723f54442efd97f46247909862db42bcbbe;hpb=8c0b17fb124c735b31c441873da4d7ffc4b15eb5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/shader-effects/image-region-effect.h b/dali-toolkit/devel-api/shader-effects/image-region-effect.h index 0ccf172..afeba53 100644 --- a/dali-toolkit/devel-api/shader-effects/image-region-effect.h +++ b/dali-toolkit/devel-api/shader-effects/image-region-effect.h @@ -22,7 +22,7 @@ #include // INTERNAL INCLUDES -#include +#include namespace Dali { @@ -41,7 +41,7 @@ namespace Toolkit * "uBottomRight" - The bottom-right corner of the image region. The coordinates are in percentage, * (0,0) being the top-left and (1,1) the bottom right of the original image * - * @return A handle to a newly allocated ShaderEffect + * @return A property map of the required shader */ inline Property::Map CreateImageRegionEffect() { @@ -78,7 +78,7 @@ inline Property::Map CreateImageRegionEffect() Property::Map customShader; customShader[ Visual::Shader::Property::VERTEX_SHADER ] = vertexShader; - map[ VisualProperty::SHADER ] = customShader; + map[ DevelVisual::Property::SHADER ] = customShader; return map; }