X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-selection-popup-impl.h;h=892c563269467908fd5a759ae7e830d07dfa1f50;hb=385a58a746d2481d4725b3018e6ebf5949aab6ee;hp=ffca9ddeca2bc670355b14236010f36b82483615;hpb=7aa9e3d716396348b89c913b306bbc1ce201db69;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 ffca9dd..892c563 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 @@ -20,7 +20,8 @@ // INTERNAL INCLUDES #include -#include +#include +#include // EXTERNAL INCLUDES #include @@ -119,7 +120,6 @@ public: /** * @brief Called when a property of an object of this type is set. - * * @param[in] object The object whose property is set. * @param[in] index The property index. * @param[in] value The new property value. @@ -203,11 +203,11 @@ private: // From Control void CreateBackground(); - void AddOption( Actor& parent, const std::string& name, const std::string& caption, const Image iconImage, bool finalOption, bool showIcons ); + void AddOption( Dali::Toolkit::TableView& parent, const std::string& name, const std::string& caption, const Image iconImage, bool finalOption, bool showIcons, bool showCaption, std::size_t& indexInTable ); - void SetUpPopup( Size& size ); + void SetUpPopup(); - void AddPopupOptions( bool createTail, bool showIcons ); + void AddPopupOptions( bool createTail, bool showIcons, bool showCaptions ); private: // Implementation @@ -229,7 +229,7 @@ private: private: // Data - Actor mButtons; // Actor which holds all the buttons, sensitivity can be set oActor buttons via this actor + Dali::Toolkit::TableView mTableOfButtons; // Actor which holds all the buttons, sensitivity can be set on buttons via this actor Layer mStencilLayer; // Layer to enable clipping when buttons exceed popup // Images to be used by the Popup @@ -274,6 +274,7 @@ private: // Data std::size_t mClipboardOptionPriority; // Position of Clipboard button bool mShowIcons; // Flag to show icons + bool mShowCaptions; // Flag to show text captions };