X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fdefault-controls%2Fpush-button-factory.cpp;h=6558ed5a34d4624c6028b167c1d3cd0ecc3682a2;hb=61be2f8d3c96e01da8e6ade2a76a192ff6ab6945;hp=43bde472eb99f50a4ce5dad7e22c07d3062a487b;hpb=f4d559ea999cbbc44b1ecd489c4ca3711d37feca;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/default-controls/push-button-factory.cpp b/dali-toolkit/public-api/controls/default-controls/push-button-factory.cpp index 43bde47..6558ed5 100644 --- a/dali-toolkit/public-api/controls/default-controls/push-button-factory.cpp +++ b/dali-toolkit/public-api/controls/default-controls/push-button-factory.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 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. @@ -20,6 +20,7 @@ // EXTERNAL INCLUDES #include +#include // INTERNAL INCLUDES #include @@ -45,7 +46,7 @@ Alignment CreateAlignedImage( Actor image ) Alignment CreateAlignedImage( const std::string& imagePath ) { - Image image = Image::New( imagePath ); + Image image = ResourceImage::New( imagePath ); return CreateAlignedImage( ImageActor::New( image ) ); }