X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fpopup%2Fpopup-impl.h;h=ec85966972964f122bc8e20beffe15fdfe2d87ff;hb=afb47f411d700d2b4be6415b61995cde5c37126c;hp=b716c0996a61af31bc7d48c0989a3a51ff1781f4;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/popup/popup-impl.h b/dali-toolkit/internal/controls/popup/popup-impl.h index b716c09..ec85966 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 { @@ -122,7 +123,6 @@ public: */ void HideTail(); - /** * Sets the style of the popup * @param[in] style The style of the popup @@ -135,6 +135,11 @@ public: */ PopupStylePtr GetStyle() const; + /** + * @copydoc Toolkit::Popup::MarkDirtyForRelayout + */ + void MarkDirtyForRelayout(); + protected: /** @@ -251,9 +256,14 @@ private: virtual void OnControlChildAdd( Actor& child ); /** - * @copydoc Control::OnRelayout() + * @copydoc Control::OnRelayOut() + */ + virtual void OnRelayout( const Vector2& size, RelayoutContainer& container ); + + /** + * @copydoc Control::OnSetResizePolicy() */ - virtual void OnRelayout( const Vector2& size, ActorSizeContainer& container ); + virtual void OnSetResizePolicy( ResizePolicy policy, Dimension dimension ); /** * @copydoc Control::OnKeyEvent() @@ -280,6 +290,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 +318,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