X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-selection-popup.h;h=67a796696f7c9abbcd96f862cbb374ac72ed1eff;hb=536dbd95b845181336b94928d26e92b2f5da47fc;hp=292d5c52e49c89c3494a53a9bb7dd5eb4e4d1263;hpb=a8f695318919be238c1cf3c94add9567abd82351;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.h b/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.h index 292d5c5..67a7966 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.h +++ b/dali-toolkit/devel-api/controls/text-controls/text-selection-popup.h @@ -27,6 +27,8 @@ namespace Dali namespace Toolkit { +class TextSelectionPopupCallbackInterface; + namespace Internal DALI_INTERNAL { class TextSelectionPopup; @@ -84,21 +86,20 @@ public: POPUP_PASTE_BUTTON_ICON_IMAGE, ///< name "popup-paste-button-image", The image to use as the popup paste icon, type STRING POPUP_SELECT_BUTTON_ICON_IMAGE, ///< name "popup-select-button-image", The image to use as the popup select icon, type STRING POPUP_SELECT_ALL_BUTTON_ICON_IMAGE, ///< name "popup-select-all-button-image", The image to use as the popup select all icon, type STRING + DIVIDER_COLOR, ///< name "popup-divider-color", VECTOR4, The color of the divider between options, type VECTOR4 + ICON_COLOR, ///< name "popup-icon-color", VECTOR4, The color of the icons (if supplied), type VECTOR4 + PRESSED_COLOR ///< name "popup-pressed-color", VECTOR4, The color of the option when pressed, type VECTOR4 }; }; /** - * Create the TextSelectionPopup control. - * @return A handle to the TextSelectionPopup control. - */ - static TextSelectionPopup New(); - - /** * Create the TextSelectionPopup control with the given set of buttons. * @param[in] enabledButtons The given set of buttons to enable + * @param[in] callbackInterface The text popup callback interface which receives the button click callbacks. * @return A handle to the TextSelectionPopup control. */ - static TextSelectionPopup New( Buttons enabledButtons ); + static TextSelectionPopup New( Buttons enabledButtons, + TextSelectionPopupCallbackInterface* callbackInterface ); /** * @brief Creates an empty handle. @@ -138,6 +139,18 @@ public: */ static TextSelectionPopup DownCast( BaseHandle handle ); + /** + * @brief Raises the toolbar's layer above the given @e target layer. + * + * @param[in] target The layer to get above of. + */ + void RaiseAbove( Layer target ); + + /** + * @brief Show the Popup + */ + void ShowPopup(); + public: // Not intended for application developers /**