X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fpopup%2Fpopup.h;h=1ab708bc0e7163827b897b2f435879bdf2d900ff;hp=0c876a291e36b081db45bd7c038e345067a33e51;hb=7aa9e3d716396348b89c913b306bbc1ce201db69;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2 diff --git a/dali-toolkit/public-api/controls/popup/popup.h b/dali-toolkit/public-api/controls/popup/popup.h index 0c876a2..1ab708b 100644 --- a/dali-toolkit/public-api/controls/popup/popup.h +++ b/dali-toolkit/public-api/controls/popup/popup.h @@ -20,7 +20,6 @@ // INTERNAL INCLUDES #include -#include namespace Dali { @@ -62,16 +61,18 @@ class Button; * * A popup can use various custom transition effects, e.g. * Alpha fade, Scaling transition, position/rotation, shader effects. + * + * Signals + * | %Signal Name | Method | + * |-------------------|------------------------------| + * | touched-outside | @ref OutsideTouchedSignal() | + * | hidden | @ref HiddenSignal() | */ class DALI_IMPORT_API Popup : public Control { public: - //Signal Names - static const char* const SIGNAL_TOUCHED_OUTSIDE; ///< name "touched-outside" - static const char* const SIGNAL_HIDDEN; ///< name "hidden" - /** * @brief Current popup state. */ @@ -165,18 +166,11 @@ public: void SetTitle( const std::string& text ); /** - * @brief Sets a title for this Popup. - * - * @param[in] titleActor The TextView to appear as the heading for this Popup - */ - void SetTitle( TextView titleActor ); - - /** * @brief Gets the text (TextView) for this Popup. * - * @return The TextView representing this popup is returned. + * @return The text to appear as the heading for this Popup */ - TextView GetTitle() const; + std::string GetTitle() const; /** * @brief Adds a button to this Popup. @@ -250,6 +244,11 @@ public: */ void HideTail(); + /** + * @brief Flag the popup as dirty for relayout + */ + void MarkDirtyForRelayout(); + public: // Not intended for application developers /**