// INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/control.h>
-#include <dali-toolkit/public-api/controls/text-view/text-view.h>
-namespace Dali DALI_IMPORT_API
+namespace Dali
{
namespace Toolkit
* A popup can use various custom transition effects, e.g.
* Alpha fade, Scaling transition, position/rotation, shader effects.
*/
-class Popup : public Control
+class DALI_IMPORT_API Popup : public Control
{
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;
+ const std::string& GetTitle() const;
/**
* @brief Adds a button to this Popup.
*
* @param[in] implementation The Control implementation.
*/
- Popup(Internal::Popup& implementation);
+ DALI_INTERNAL Popup(Internal::Popup& implementation);
/**
* @brief Allows the creation of this Control from an Internal::CustomActor pointer.
*
* @param[in] internal A pointer to the internal CustomActor.
*/
- Popup( Dali::Internal::CustomActor* internal );
+ explicit DALI_INTERNAL Popup( Dali::Internal::CustomActor* internal );
};
} // namespace Toolkit