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=ec3ad655c832a55ab644fe63a04baa79ca81a003;hb=dd0935960c1acaf63d2b4f560b39236b871135b7;hpb=88e94c0533741de9664d32968a85f18db5a4c5dd 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 ec3ad65..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,11 +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) {