X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fscrollable%2Fitem-view%2Fdepth-layout.h;h=0f9f2637e2b0488499c54b666852099795be7b17;hb=443e920238427ac044e165b0e6f9c58ae67d62e0;hp=83917fbe94e14d4defcb5459b28877fef48b741d;hpb=5359a575636e678baf178dab5209b587be1a7551;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h b/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h old mode 100755 new mode 100644 index 83917fb..0f9f263 --- a/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h +++ b/dali-toolkit/internal/controls/scrollable/item-view/depth-layout.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_DEPTH_LAYOUT_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -21,17 +21,12 @@ // INTERNAL INCLUDES #include - - namespace Dali { - namespace Toolkit { - namespace Internal { - class DepthLayout; typedef IntrusivePtr DepthLayoutPtr; @@ -42,7 +37,6 @@ typedef IntrusivePtr DepthLayoutPtr; class DepthLayout : public ItemLayout { public: - /** * Create a new spiral layout */ @@ -167,7 +161,6 @@ public: int GetNextFocusItemID(int itemID, int maxItems, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) override; private: - /** * @copydoc ItemLayout::GetMinimumLayoutPosition() */ @@ -196,7 +189,7 @@ private: /** * @copydoc ItemLayout::GetDefaultItemSize() */ - void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const override; + void GetDefaultItemSize(unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize) const override; /** * @copydoc ItemLayout::GetScrollDirection() @@ -206,30 +199,27 @@ private: /** * @copydoc ItemLayout::ApplyConstraints() */ - void ApplyConstraints( Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor ) override; + void ApplyConstraints(Actor& actor, const int itemId, const Vector3& layoutSize, const Actor& itemViewActor) override; /** * @copydoc ItemLayout::GetItemPosition() */ - Vector3 GetItemPosition( int itemID, float currentLayoutPosition, const Vector3& layoutSize ) const override; + Vector3 GetItemPosition(int itemID, float currentLayoutPosition, const Vector3& layoutSize) const override; protected: - /** * Protected constructor; see also DepthLayout::New() */ DepthLayout(); private: - // Undefined - DepthLayout( const DepthLayout& depthLayout ); + DepthLayout(const DepthLayout& depthLayout); // Undefined - DepthLayout& operator=( const DepthLayout& depthLayout ); + DepthLayout& operator=(const DepthLayout& depthLayout); private: - struct Impl; Impl* mImpl; };