X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-selection-popup-impl.h;h=a94fee99d1e7627e78a4ddf7797c67ff360dc9de;hp=9cd7ab781272e83b486f1fe803cca61afb3f40df;hb=6865cb71a775041100dbbfa3c4d950e69d3864b7;hpb=6261b85db16d8e9f842c9dc152046747eec67eaa diff --git a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h index 9cd7ab7..a94fee9 100644 --- a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.h @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include @@ -122,7 +122,7 @@ public: /** * @copydoc Toolkit::TextSelectionPopup::RaiseAbove() */ - void RaiseAbove( Layer target ); + void RaiseAbove( Actor target ); /** * @copydoc Toolkit::TextSelectionPopup::ShowPopup() @@ -139,7 +139,7 @@ private: // From Control /** * @copydoc Control::OnInitialize() */ - virtual void OnInitialize(); + void OnInitialize() override; private: // Implementation @@ -200,7 +200,7 @@ private: // Implementation * * @param[in] setting The setting from the PopupCustomisations enum */ - Size GetDimensionToCustomise( const PopupCustomisations& setting ); + Size GetDimensionToCustomise( const PopupCustomisations& setting ) const; /** * @brief Sets the image for the given button of the Popup. @@ -216,7 +216,7 @@ private: // Implementation * @param[in] button The button to get the image from * @return The image used for that button. */ - std::string GetButtonImage( Toolkit::TextSelectionPopup::Buttons button ); + const std::string& GetButtonImage( Toolkit::TextSelectionPopup::Buttons button ) const; /** * @brief Sets the image for the pressed state of a popup option. @@ -236,7 +236,7 @@ private: // Implementation void AddOption( const ButtonRequirement& button, bool showDivider, bool showIcons, bool showCaption ); - std::size_t GetNumberOfEnabledOptions(); + std::size_t GetNumberOfEnabledOptions() const; void AddPopupOptionsToToolbar( bool showIcons, bool showCaptions );