X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Flayouting%2Fsize-negotiation-mapper.h;h=082da3348dd3bd5b5779342cb899edc8187147d4;hb=267bed869a0b35414526b5c393fc2586603ee173;hp=d89996ca6a1cbc371bd82b6c0e96575e2e6458e4;hpb=a6df5a1084f5784b49e20b4bb3298ca0a953bc35;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/layouting/size-negotiation-mapper.h b/dali-toolkit/internal/layouting/size-negotiation-mapper.h index d89996c..082da33 100644 --- a/dali-toolkit/internal/layouting/size-negotiation-mapper.h +++ b/dali-toolkit/internal/layouting/size-negotiation-mapper.h @@ -40,17 +40,19 @@ namespace SizeNegotiationMapper * @param[out] control the control to set the layout params on * @param[out] layout the layout for the given control * @param[in] dimension the dimension or dimensions the resize policy applies to. + * @note If Dimension::ALL_DIMENSIONS is provided as the dimension parameter then Dimension::WIDTH is used for + * both height and width mapping. */ void SetLayoutParametersUsingResizePolicy( Toolkit::Control control, Toolkit::Internal::LayoutItemPtr layout, const Dimension::Type dimension ); /** * @brief Sets the child layout parameters on the control using the a ResizePolicy that is dependant on it's parent - * @note This method should be used after a child has been parented and a parent measure spec is available. * @param[out] control the control to set the layout params on * @param[in] parentWidthSpecification the parent's width measure specification * @param[in] parentHeightSpecification the parent's height measure specification * @param[out] childWidth the resulting child width * @param[out] childHeight the resulting child height + * @note This method should be used after a child has been parented and a parent measure spec is available. */ void GetSizeofChildForParentDependentResizePolicy( Toolkit::Control control, const MeasureSpec parentWidthSpecification, const MeasureSpec parentHeightSpecification, LayoutLength& childWidth, LayoutLength& childHeight );