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=07535798e8386dfda79f2d5a5ee4f48390da4ad2;hp=ffca9ddeca2bc670355b14236010f36b82483615;hb=62c9b7fde35b88ebd422b88d3ca03140e470aa1f;hpb=d04c5bdbb95cc98f90848c7a98b0b2804df6e5b8 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..0753579 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,6 +20,7 @@ // INTERNAL INCLUDES #include +#include #include // EXTERNAL INCLUDES @@ -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 };