X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fcustom-layout.h;h=df07d4f13aa07924b40b86f03ae19aec609cad3f;hp=fa977e7bf0f1c2e92be2f03f9d0f9c4781977b03;hb=5434c2607f3806204be8d7f192d3be53584d9ad6;hpb=8c0983fe41416e2a9f09be19f005567079a7b763 diff --git a/automated-tests/src/dali-toolkit/custom-layout.h b/automated-tests/src/dali-toolkit/custom-layout.h index fa977e7..df07d4f 100644 --- a/automated-tests/src/dali-toolkit/custom-layout.h +++ b/automated-tests/src/dali-toolkit/custom-layout.h @@ -38,6 +38,10 @@ class CustomLayout : public Dali::Toolkit::LayoutGroup { public: + // Behaviour flags + static const int BEHAVIOUR_FLAG_UNCONSTRAINED_CHILD_WIDTH = 0x00000001; // Child width measured without constraint + static const int BEHAVIOUR_FLAG_UNCONSTRAINED_CHILD_HEIGHT = 0x00000002; // Child height measured without constraint + /** * @brief Creates an uninitialized CustomLayout handle. * @@ -90,8 +94,29 @@ public: */ static CustomLayout DownCast( BaseHandle handle ); + /** + * Request for a relayout of this layout + */ void RequestLayout(); + /** + * Enables setting of flags corresponding to particular behaviour of this layout + * @param[in] flag the flag to set + */ + void SetCustomBehaviourFlag( int flag ); + + /** + * Returns true or false depending on whether flag is set + * @return bool returns true if flag set + */ + bool GetCustomBehaviourFlags( int flagToCheck ); + + /** + * Clears the flag if already set. + * @param[in] flag the flag to clear + */ + void ClearPrivateFlag( int flag ); + public: // Not intended for application developers /// @cond internal