X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fpopup%2Fpopup-impl.h;h=3fe2abaff1d5601d6a063e61e50f42f32b3b6743;hp=6a6fc0e005d7081d98384909ad0a1e19669acc6d;hb=refs%2Fchanges%2F36%2F37536%2F6;hpb=77af5d8a3230bf16729573df1866be763938ca40 diff --git a/dali-toolkit/internal/controls/popup/popup-impl.h b/dali-toolkit/internal/controls/popup/popup-impl.h index 6a6fc0e..3fe2aba 100755 --- a/dali-toolkit/internal/controls/popup/popup-impl.h +++ b/dali-toolkit/internal/controls/popup/popup-impl.h @@ -27,6 +27,7 @@ #include #include #include +#include namespace Dali { @@ -117,7 +118,6 @@ public: */ void HideTail(); - /** * Sets the style of the popup * @param[in] style The style of the popup @@ -130,6 +130,11 @@ public: */ PopupStylePtr GetStyle() const; + /** + * @copydoc Toolkit::Popup::MarkDirtyForRelayout + */ + void MarkDirtyForRelayout(); + protected: /** @@ -246,14 +251,14 @@ private: virtual void OnControlChildAdd( Actor& child ); /** - * @copydoc Toolkit::Control::OnControlSizeSet( const Vector3& size ) + * @copydoc Control::OnRelayOut() */ - virtual void OnControlSizeSet( const Vector3& size ); + virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); /** - * @copydoc Control::OnRelayOut() + * @copydoc Control::OnSetResizePolicy() */ - virtual void OnRelayout( const Vector2& size, ActorSizeContainer& container ); + virtual void OnSetResizePolicy( ResizePolicy policy, Dimension dimension ); /** * @copydoc Control::OnKeyEvent() @@ -280,6 +285,11 @@ private: */ Actor GetNextKeyboardFocusableActor(Actor currentFocusedActor, Toolkit::Control::KeyboardFocusNavigationDirection direction, bool loopEnabled); + /** + * Create the root actor for the footer + */ + void CreateFooter(); + private: // Undefined @@ -303,7 +313,7 @@ private: bool mShowing; ///< Popup is showing or not Layer mLayer; ///< Popup Layer (i.e. Dim backing and PopupBg reside in this) - Actor mPopupBg; ///< Popup Background (i.e. dialog reside in this) + Toolkit::TableView mPopupLayout; ///< Popup layout (i.e. dialog reside in this) ImageActor mBacking; ///< Backing actor (dim effect) Actor mPreviousFocusedActor; ///< Store the previous focused actor to restore the focus when popup hide