X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-selection-popup.cpp;h=28a5819cd17334ddd723c86700e94b13d3fe3540;hp=7cf97dae86d1a6337ad7c465042f51e2b4fcb5ef;hb=5af1500ee4cbc72412934b8b7c7dc4ec0c206405;hpb=c8bceb828f2e65e82dd0f22bdb964ab7e04882a0 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) {