X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Flayouting%2Flayout-controller-impl.h;h=7443776d9f5e5553f6af465397d2c31831ea928b;hp=71c947c4c283fec598ab41658dc92a6e136e9620;hb=118f87dfe57967bfed8ccdf9143a078eaef1b119;hpb=d77eb8256291852ab373718df3fc8fd937150974 diff --git a/dali-toolkit/internal/layouting/layout-controller-impl.h b/dali-toolkit/internal/layouting/layout-controller-impl.h index 71c947c..7443776 100644 --- a/dali-toolkit/internal/layouting/layout-controller-impl.h +++ b/dali-toolkit/internal/layouting/layout-controller-impl.h @@ -92,6 +92,27 @@ protected: // Implementation of Processor virtual void Process(); private: + struct ActorSizeSpec + { + ActorSizeSpec(Actor actor) + : actor( actor ) + , widthSpec( actor.GetProperty( Toolkit::LayoutItem::ChildProperty::WIDTH_SPECIFICATION ) ) + , heightSpec( actor.GetProperty( Toolkit::LayoutItem::ChildProperty::HEIGHT_SPECIFICATION ) ) + { + } + + Actor actor; + int widthSpec; + int heightSpec; + }; + std::vector mActorSizeSpecs; + + void UpdateMeasureHierarchyForAnimation( LayoutData& layoutData ); + + void UpdateMeasureHierarchyForAnimation( Actor root, LayoutData& layoutData ); + + void RestoreActorsSpecs(); + std::list< LayoutTransition > mLayoutTransitions; struct AnimationFinishedFunctor {