X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-selection-popup.cpp;h=28a5819cd17334ddd723c86700e94b13d3fe3540;hb=944834b7c881983b31cdfecfc8fd262443e623fd;hp=4b9f548dc88e07805e2142c963044fe3ccede32e;hpb=93865ae71c4937b0301c7160f9b1496b81c5af3e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp b/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp index 4b9f548..28a5819 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp +++ b/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.cpp @@ -29,11 +29,9 @@ namespace Dali namespace Toolkit { -TextSelectionPopup TextSelectionPopup::New( Buttons enabledButtons, - TextSelectionPopupCallbackInterface* callbackInterface ) +TextSelectionPopup TextSelectionPopup::New( TextSelectionPopupCallbackInterface* callbackInterface ) { - return Internal::TextSelectionPopup::New( enabledButtons, - callbackInterface ); + return Internal::TextSelectionPopup::New( callbackInterface ); } TextSelectionPopup::TextSelectionPopup() @@ -63,6 +61,11 @@ TextSelectionPopup TextSelectionPopup::DownCast( BaseHandle handle ) return Control::DownCast(handle); } +void TextSelectionPopup::EnableButtons( Toolkit::TextSelectionPopup::Buttons buttonsToEnable ) +{ + GetImpl(*this).EnableButtons( buttonsToEnable ); +} + void TextSelectionPopup::RaiseAbove( Layer target ) { GetImpl(*this).RaiseAbove( target ); @@ -73,6 +76,11 @@ void TextSelectionPopup::ShowPopup() GetImpl(*this).ShowPopup(); } +void TextSelectionPopup::HidePopup() +{ + GetImpl(*this).HidePopup(); +} + TextSelectionPopup::TextSelectionPopup( Internal::TextSelectionPopup& implementation ) : Control(implementation) {