X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Flayouting%2Flayout-group.h;h=45aec9813b8dce0994b59239a7024aeae5d025d1;hb=e57ac623d829edc5470e4ede8beff556a13035e1;hp=c6b777b5a6df743c99567beb3410dcb249dba8b4;hpb=856005f3abcf14447769c31758e89b74ca8843eb;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/layouting/layout-group.h b/dali-toolkit/devel-api/layouting/layout-group.h old mode 100644 new mode 100755 index c6b777b..45aec98 --- a/dali-toolkit/devel-api/layouting/layout-group.h +++ b/dali-toolkit/devel-api/layouting/layout-group.h @@ -1,7 +1,7 @@ #ifndef DALI_TOOLKIT_LAYOUTING_LAYOUT_GROUP_H #define DALI_TOOLKIT_LAYOUTING_LAYOUT_GROUP_H /* - * Copyright (c) 2018 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. @@ -17,7 +17,6 @@ */ #include -#include #include #include #include @@ -49,21 +48,12 @@ class LayoutGroup; * To write a new layout, inherit from both LayoutGroup handle and Internal::LayoutGroup body. * */ -class DALI_IMPORT_API LayoutGroup : public LayoutItem +class DALI_TOOLKIT_API LayoutGroup : public LayoutItem { public: using LayoutId = unsigned int; static const unsigned int UNKNOWN_ID = 0; - struct ChildProperty - { - enum - { - MARGIN_SPECIFICATION = LAYOUT_GROUP_CHILD_PROPERTY_START_INDEX, - }; - }; - - /** * @brief Creates an uninitialized LayoutGroup handle. * @@ -81,6 +71,13 @@ public: ~LayoutGroup() = default; /** + * @brief Create an initialized LayoutGroup + * + * @param[in] handle A handle to the object that this layout for, e.g. a Control or a Visual::Base + */ + static LayoutGroup New( Handle& handle ); + + /** * @brief Copy constructor */ LayoutGroup(const LayoutGroup& copy) = default;