#include <dali/public-api/common/intrusive-ptr.h>
#include <dali/public-api/object/ref-object.h>
#include <dali/public-api/math/rect.h>
+#include <dali/public-api/math/vector2.h>
namespace Dali
{
Dali::Image GetImage( SelectionHandle handle, SelectionHandleState state ) const;
/**
- * @brief Show the Copy and Paste Popup
+ * @brief Adds a quad to the existing selection highlights.
+ *
+ * @param[in] x1 The top-left x position.
+ * @param[in] y1 The top-left y position.
+ * @param[in] x2 The bottom-right x position.
+ * @param[in] y3 The bottom-right y position.
*/
- void ShowPopup();
+ void AddHighlight( float x1, float y1, float x2, float y2 );
/**
- * @brief Hide the Copy and Paste Popup
+ * @brief Removes all of the previously added highlights.
*/
- void HidePopup();
+ void ClearHighlights();
+
+ /**
+ * @brief Set the Selection Popup to show or hide via the active flaf
+ * @param[in] active true to show, false to hide
+ */
+ void SetPopupActive( bool active );
+
+ /**
+ * @brief Query whether the Selection Popup is active.
+ *
+ * @return True if the Selection Popup should be active.
+ */
+ bool IsPopupActive() const;
+
protected: