X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-selection-popup-impl.cpp;h=c167f81857c087a1962e34c63bb8721aa2787edc;hp=babd0eb981d22b9cf1e90c3c57e94309154e8e80;hb=eaebf2e8aa5903e4acbb37ae46050e009863146c;hpb=c45b6c9f3254cde5e817f8cfe6d59703f40d28d7 diff --git a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp index babd0eb..c167f81 100644 --- a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp +++ b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -352,7 +353,7 @@ Property::Value TextSelectionPopup::GetProperty( BaseObject* object, Property::I case Toolkit::TextSelectionPopup::Property::BACKGROUND_BORDER: { Property::Map map; - Toolkit::Visual::Base visual = impl.GetVisual( Toolkit::TextSelectionPopup::Property::BACKGROUND_BORDER ); + Toolkit::Visual::Base visual = DevelControl::GetVisual( impl, Toolkit::TextSelectionPopup::Property::BACKGROUND_BORDER ); if( visual ) { visual.CreatePropertyMap( map ); @@ -841,7 +842,7 @@ std::string TextSelectionPopup::GetPressedImage() const void TextSelectionPopup::CreateBackgroundBorder( Property::Map& propertyMap ) { // Removes previous image if necessary - UnregisterVisual( Toolkit::TextSelectionPopup::Property::BACKGROUND_BORDER ); + DevelControl::UnregisterVisual( *this, Toolkit::TextSelectionPopup::Property::BACKGROUND_BORDER ); if( ! propertyMap.Empty() ) { @@ -849,8 +850,7 @@ void TextSelectionPopup::CreateBackgroundBorder( Property::Map& propertyMap ) if( visual ) { - RegisterVisual( Toolkit::TextSelectionPopup::Property::BACKGROUND_BORDER, visual ); - visual.SetDepthIndex( DepthIndex::CONTENT ); + DevelControl::RegisterVisual( *this, Toolkit::TextSelectionPopup::Property::BACKGROUND_BORDER, visual, DepthIndex::CONTENT ); } } }