X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftool-bar%2Ftool-bar-impl.h;h=f64d9e8ddddb3ccd7a83fd92a96167185a52d5f1;hb=b81849b1d366b03595dec285264ecbd8b6f1801e;hp=ebf0fcdc94bee522528151e8841d76c879e2ed7d;hpb=66c5b1e0a29cc284f7acbe3f1e0e6bd8ee43316e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h b/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h index ebf0fcd..f64d9e8 100644 --- a/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h +++ b/dali-toolkit/internal/controls/tool-bar/tool-bar-impl.h @@ -19,12 +19,12 @@ */ // EXTERNAL INCLUDES -#include +#include // INTERNAL INCLUDES #include -#include #include +#include namespace Dali { @@ -52,11 +52,6 @@ public: static Toolkit::ToolBar New(); /** - * @copydoc Dali::Toolkit::ToolBar::SetBackground() - */ - void SetBackground( Actor background ); - - /** * @copydoc Dali::Toolkit::ToolBar::AddControl() */ void AddControl( Dali::Actor control, float relativeSize, Toolkit::Alignment::Type alignment, const Toolkit::Alignment::Padding& padding ); @@ -77,15 +72,9 @@ private: // From Control * Adds a control using some default values (the control uses 10% of the tool bar space and is placed on the left group). * @param child The control to be added. * - * @see Control::OnControlChildAdd() - */ - virtual void OnControlChildAdd(Actor& child); - - /** - * - * @copydoc Toolkit::Control::OnControlSizeSet( const Vector3& targetSize ) + * @see Control::OnChildAdd() */ - virtual void OnControlSizeSet( const Vector3& targetSize ); + virtual void OnChildAdd(Actor& child); private: /** @@ -135,8 +124,6 @@ private: float mRightRelativeSpace; ///< Relative space between center and right groups of controls. float mAccumulatedRelativeSpace; ///< Stores the total percentage space used by controls. bool mInitializing; ///< Allows the use of Actor's API to add controls. - Vector3 mToolBarSize; ///< The size of tool bar - Actor mBackground; ///< The background of the tool bar std::map mControls; ///< Stores a relationship between controls and their alignments used to place them inside the table view. };