From 14421af77e3f983f34f8c5ef83208f92e6da5e60 Mon Sep 17 00:00:00 2001 From: Bongjoo Seo Date: Fri, 22 Mar 2013 21:45:45 +0900 Subject: [PATCH] Removed workaround codes Change-Id: I4e77c120b8400e2ad07774e0ccacf0e980eeeac4 Signed-off-by: Bongjoo Seo --- src/ui/animations/FUiAnim_EflNode.cpp | 1 + src/ui/animations/FUiAnim_EflVisualElementSurfaceImpl.cpp | 10 ++-------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/ui/animations/FUiAnim_EflNode.cpp b/src/ui/animations/FUiAnim_EflNode.cpp index 8625a25..403cf3b 100644 --- a/src/ui/animations/FUiAnim_EflNode.cpp +++ b/src/ui/animations/FUiAnim_EflNode.cpp @@ -953,6 +953,7 @@ _EflNode::Reconfigure(VisualElementSurface* pSurface, _VisualElementImpl& elemen _EflVisualElementSurfaceImpl* pEflVisualElementSurfaceImpl = dynamic_cast<_EflVisualElementSurfaceImpl*>(_VisualElementSurfaceImpl::GetInstance(*pSurface)); if (pEflVisualElementSurfaceImpl && pEflVisualElementSurfaceImpl->__pBuffer != null) { + evas_object_show(pImageObjectNew); evas_object_image_source_set(pImageObject, pImageObjectNew); evas_object_image_source_visible_set(pImageObject, EINA_FALSE); } diff --git a/src/ui/animations/FUiAnim_EflVisualElementSurfaceImpl.cpp b/src/ui/animations/FUiAnim_EflVisualElementSurfaceImpl.cpp index 329daf5..6b3e7e9 100644 --- a/src/ui/animations/FUiAnim_EflVisualElementSurfaceImpl.cpp +++ b/src/ui/animations/FUiAnim_EflVisualElementSurfaceImpl.cpp @@ -86,7 +86,7 @@ _EflVisualElementSurfaceImpl::_EflVisualElementSurfaceImpl(const Handle layer, c evas_object_resize(__pEvasImage, outputSize.width, outputSize.height); evas_object_image_data_set(__pEvasImage, reinterpret_cast(__pBuffer)); - evas_object_show(__pEvasImage); + //evas_object_show(__pEvasImage); return; CATCH: @@ -108,13 +108,7 @@ _EflVisualElementSurfaceImpl::_EflVisualElementSurfaceImpl(const Handle layer, c __pEvasImage = reinterpret_cast(object); } SysTryReturnVoidResult(NID_UI_ANIM, __pEvasImage, E_SYSTEM, "[E_SYSTEM] A system error has been occurred. Failed to create a new surface."); - -#if 1 // Todo : Temporary code(regarding the visibility of evas source object) - evas_object_show(__pEvasImage); - evas_object_move(__pEvasImage, -999999, -999999); -#else - evas_object_hide(__pEvasImage); -#endif + //evas_object_show(__pEvasImage); } result -- 2.7.4