X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fpopup%2Fpopup-impl.cpp;h=66eeca159245e1d98029914ef52bf6ca8bd6d0f5;hb=408a61e446173b2ede857332db1c4587b3f4c230;hp=7a84f4e9f299f9e574f422e109532257ba1a8d97;hpb=cc5a994d63e196f3bce7ed36f6f66d6cb87eca0d;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/popup/popup-impl.cpp b/dali-toolkit/internal/controls/popup/popup-impl.cpp index 7a84f4e..66eeca1 100755 --- a/dali-toolkit/internal/controls/popup/popup-impl.cpp +++ b/dali-toolkit/internal/controls/popup/popup-impl.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -305,7 +306,7 @@ void Popup::OnInitialize() mPopupLayout = Toolkit::TableView::New( 3, 1 ); // Adds the default background image. - SetPopupBackgroundImage( ImageActor::New( ResourceImage::New( DEFAULT_BACKGROUND_IMAGE_PATH ) ) ); + SetPopupBackgroundImage( Toolkit::ImageView::New( ResourceImage::New( DEFAULT_BACKGROUND_IMAGE_PATH ) ) ); mPopupLayout.SetName( "popupLayoutTable" ); mPopupLayout.SetParentOrigin( ParentOrigin::CENTER ); @@ -849,7 +850,7 @@ void Popup::LayoutTail() { // Adds the tail actor. Image tail = ResourceImage::New( image ); - mTailImage = ImageActor::New( tail ); + mTailImage = Toolkit::ImageView::New( tail ); mTailImage.SetName( "tailImage" ); const Vector3 anchorPoint = AnchorPoint::BOTTOM_RIGHT - position; mTailImage.SetParentOrigin( position ); @@ -1227,7 +1228,7 @@ void Popup::SetProperty( BaseObject* object, Property::Index propertyIndex, cons Image image = ResourceImage::New( valueString ); if( image ) { - ImageActor actor = ImageActor::New( image ); + Toolkit::ImageView actor = Toolkit::ImageView::New( image ); popupImpl.SetPopupBackgroundImage( actor ); } }