-#ifndef __DALI_TOOLKIT_GRID_LAYOUT_H__
-#define __DALI_TOOLKIT_GRID_LAYOUT_H__
+#ifndef DALI_TOOLKIT_GRID_LAYOUT_H
+#define DALI_TOOLKIT_GRID_LAYOUT_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
#include <dali-toolkit/public-api/controls/scrollable/item-view/item-layout.h>
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
+
+
namespace Dali
{
virtual ~GridLayout();
/**
+ * Apply grid layout Properties.
+ * @param[in] properties The properties of the layout.
+ */
+ void SetGridLayoutProperties(const Property::Map& properties);
+
+ /**
* @brief Set the number of columns in the layout.
*
* @param[in] columns The number of columns.
virtual void GetDefaultItemSize( unsigned int itemId, const Vector3& layoutSize, Vector3& itemSize ) const;
/**
- * @copydoc ItemLayout::GetResizeAnimation()
- */
- virtual void GetResizeAnimation(Animation& animation, Actor actor, Vector3 size, float durationSeconds) const;
-
- /**
* @copydoc ItemLayout::GetScrollDirection()
*/
virtual Degree GetScrollDirection() const;
private:
+ // Undefined
+ GridLayout( const GridLayout& itemLayout );
+
+ // Undefined
+ GridLayout& operator=( const GridLayout& rhs );
+
+private:
+
struct Impl;
Impl* mImpl;
};
} // namespace Dali
-#endif // __DALI_TOOLKIT_GRID_LAYOUT_H__
+#endif // DALI_TOOLKIT_GRID_LAYOUT_H