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=3e16213a5fd977f35e00d209e1bb1cc8bb977867;hp=7cf97dae86d1a6337ad7c465042f51e2b4fcb5ef;hpb=a8f695318919be238c1cf3c94add9567abd82351;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 7cf97da..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,14 +29,9 @@ namespace Dali namespace Toolkit { -TextSelectionPopup TextSelectionPopup::New() +TextSelectionPopup TextSelectionPopup::New( TextSelectionPopupCallbackInterface* callbackInterface ) { - return Internal::TextSelectionPopup::New(); -} - -TextSelectionPopup TextSelectionPopup::New( Buttons enabledButtons ) -{ - return Internal::TextSelectionPopup::New( enabledButtons ); + return Internal::TextSelectionPopup::New( callbackInterface ); } TextSelectionPopup::TextSelectionPopup() @@ -66,6 +61,26 @@ 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 ); +} + +void TextSelectionPopup::ShowPopup() +{ + GetImpl(*this).ShowPopup(); +} + +void TextSelectionPopup::HidePopup() +{ + GetImpl(*this).HidePopup(); +} + TextSelectionPopup::TextSelectionPopup( Internal::TextSelectionPopup& implementation ) : Control(implementation) {