X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Flayouting%2Flayout-item-impl.h;h=5f4c4a551c6421cf09d4f685da2facfdef41dc6e;hp=e91e7f9bb6aaab752569039f3995f85523da0979;hb=e4235b523a775fbbee334dea6cd929a6f3ccbc80;hpb=ab7b3ff5e1baf4a63220e1bb250390f42c424d7f diff --git a/dali-toolkit/devel-api/layouting/layout-item-impl.h b/dali-toolkit/devel-api/layouting/layout-item-impl.h index e91e7f9..5f4c4a5 100644 --- a/dali-toolkit/devel-api/layouting/layout-item-impl.h +++ b/dali-toolkit/devel-api/layouting/layout-item-impl.h @@ -44,8 +44,8 @@ using LayoutItemPtr = IntrusivePtr; /** * Base class for layouts. */ -class DALI_IMPORT_API LayoutItem : public BaseObject, - public LayoutParent +class DALI_TOOLKIT_API LayoutItem : public BaseObject, + public LayoutParent { public: /** @@ -168,6 +168,11 @@ public: static LayoutLength GetDefaultSize( LayoutLength size, MeasureSpec measureSpec ); /** + * @copydoc LayoutParent::SetParent + */ + virtual void SetParent( LayoutParent* parent ) override; + + /** * @copydoc LayoutParent::GetParent */ virtual LayoutParent* GetParent() override; @@ -187,6 +192,11 @@ public: bool IsLayoutRequested() const; /** + * @brief Set layout requested flag (mark the layout dirty). + */ + void SetLayoutRequested(); + + /** * @brief Get the measured width (without any measurement flags). * * This method should be used only during measurement and layout calculations.