X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Flayouting%2Flayout-item-data-impl.h;h=e7b2819dbd03bb662139e604644403ddd4073543;hb=c440dd0d4d403b2b31a426a472810e2f94c80f25;hp=a2d28552e543a291e1bc0bad23640213b8e9d294;hpb=adc698c7c3cce7b4d3732ae1d1b5df2969b79c29;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/layouting/layout-item-data-impl.h b/dali-toolkit/internal/layouting/layout-item-data-impl.h index a2d2855..e7b2819 100644 --- a/dali-toolkit/internal/layouting/layout-item-data-impl.h +++ b/dali-toolkit/internal/layouting/layout-item-data-impl.h @@ -16,10 +16,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +#include #include #include #include +#include namespace Dali { @@ -27,8 +28,6 @@ namespace Toolkit { namespace Internal { -class LayoutParent; - class LayoutItem::Impl { @@ -36,7 +35,7 @@ public: Impl(); public: - BaseObject* mOwner; ///< Control or Visual that owns this layout. Raw pointer to prevent cyclic references + WeakHandle mOwner; ///< Control or Visual that owns this layout. Weak pointer to prevent cyclic references LayoutParent* mLayoutParent; ///< The containing layout parent. MeasureSpec mOldWidthMeasureSpec; @@ -57,6 +56,7 @@ public: static const int PRIVATE_FLAG_IS_LAID_OUT = 0x00000008; static const int PRIVATE_FLAG_MEASURE_NEEDED_BEFORE_LAYOUT = 0x00000010; ///< Flag indicating that a call to measure() was skipped and should be done instead when layout() is invoked. static const int PRIVATE_FLAG_FORCE_SET_FRAME = 0x00000020; + static const int PRIVATE_FLAG_USE_RESIZE_POLICY = 0x00000040; int mViewFlags; int mPrivateFlags; @@ -80,6 +80,17 @@ public: static bool sUseZeroUnspecifiedMeasureSpec; + // Custom transitions + LayoutTransitionDataPtr mOnChildAddTransitionData; + LayoutTransitionDataPtr mOnChildRemoveTransitionData; + LayoutTransitionDataPtr mOnChildFocusTransitionData; + LayoutTransitionDataPtr mOnOwnerSetTransitionData; + LayoutTransitionDataPtr mOnLayoutChangeTransitionData; + // Default transition + LayoutTransitionDataPtr mDefaultTransitionData; + + // To pass layout data during perform layout + static LayoutData* sLayoutData; }; } // namespace Internal