X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftool-bar%2Ftool-bar.h;h=36f4c34179b716229cd37950c73866b76c265628;hb=refs%2Fchanges%2F49%2F243849%2F2;hp=a9ad2e01f4886457360b367cf79432625739e965;hpb=b97b29c76acefabbae2c0a4e9ecc261bf9dd8036;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/tool-bar/tool-bar.h b/dali-toolkit/devel-api/controls/tool-bar/tool-bar.h index a9ad2e0..36f4c34 100644 --- a/dali-toolkit/devel-api/controls/tool-bar/tool-bar.h +++ b/dali-toolkit/devel-api/controls/tool-bar/tool-bar.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TOOL_BAR_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,19 +22,17 @@ #include // INTERNAL INCLUDES -#include +#include namespace Dali { - namespace Toolkit { - namespace Internal DALI_INTERNAL { // Forward declarations class ToolBar; -} +} // namespace DALI_INTERNAL /** * Provides a tool bar where other controls (Dali::Actor) could be placed. @@ -59,12 +57,12 @@ public: * Copy constructor. Creates another handle that points to the same real object * @param handle to copy from */ - ToolBar( const ToolBar& handle ); + ToolBar(const ToolBar& handle); /** * Assignment operator. Changes this handle to point to another real object */ - ToolBar& operator=( const ToolBar& handle ); + ToolBar& operator=(const ToolBar& handle); /** * @brief Destructor @@ -85,7 +83,7 @@ public: * @param[in] handle Handle to an object * @return handle to a ToolBar or an uninitialized handle */ - static ToolBar DownCast( BaseHandle handle ); + static ToolBar DownCast(BaseHandle handle); /** * Adds an additional control to the tool bar. @@ -96,28 +94,27 @@ public: * @param alignment Where to insert controls. Possible values are Toolkit::Alignment::Left, Toolkit::Alignment::Center or Toolkit::Alignment::Right. * @param padding Padding values used for the added control (left, right, top, bottom). By default, no padding is added. */ - void AddControl( Actor control, float relativeSize, Toolkit::Alignment::Type alignment, const Toolkit::Alignment::Padding& padding = DEFAULT_PADDING ); + void AddControl(Actor control, float relativeSize, Toolkit::Alignment::Type alignment, const Toolkit::Alignment::Padding& padding = DEFAULT_PADDING); /** * Removes a control from the tool bar. * @pre control must have been added before to this tool bar. * @param control The control to be removed. */ - void RemoveControl( Actor control ); + void RemoveControl(Actor control); public: // Not intended for application developers - /** * Creates a handle using the Toolkit::Internal implementation. * @param[in] implementation The Control implementation. */ - DALI_INTERNAL ToolBar( Internal::ToolBar& implementation ); + DALI_INTERNAL ToolBar(Internal::ToolBar& implementation); /** * Allows the creation of this Control from an Internal::CustomActor pointer. * @param[in] internal A pointer to the internal CustomActor. */ - explicit DALI_INTERNAL ToolBar( Dali::Internal::CustomActor* internal ); + explicit DALI_INTERNAL ToolBar(Dali::Internal::CustomActor* internal); }; } // namespace Toolkit