X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Flayouting%2Flayout-group.h;h=49620323c19d13364b445dfd714fe6f043fa26a1;hb=7742c07e1fdc5d78bab7c2c9cc5d7803f04fb012;hp=d006775770700a77c4dfcab16f3e7e3f7f362e33;hpb=20b42a9bcaba6b874f2271f03a56da6f884c4053;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 d006775..4962032 --- a/dali-toolkit/devel-api/layouting/layout-group.h +++ b/dali-toolkit/devel-api/layouting/layout-group.h @@ -17,8 +17,8 @@ */ #include -#include #include +#include #include #include @@ -48,23 +48,16 @@ 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; - enum PropertyRange - { - CHILD_PROPERTY_START_INDEX = CHILD_PROPERTY_REGISTRATION_START_INDEX+100, - CHILD_PROPERTY_END_INDEX = CHILD_PROPERTY_START_INDEX+1000 - }; - struct ChildProperty { enum { - MARGIN_SPECIFICATION = CHILD_PROPERTY_START_INDEX, }; }; @@ -86,6 +79,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;