X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fbuilder%2Fbuilder-impl.h;h=af1c85c107374b9b90b114526e3dfa2d72172a3c;hp=4fb7aba6f5c5913ec293273344a704fc0afe1b0f;hb=ff26956b1702af9d1ffff11d93cc118f6db5c4ba;hpb=cded468bd11aab522fae3f2a9818170160c74ff9 diff --git a/dali-toolkit/internal/builder/builder-impl.h b/dali-toolkit/internal/builder/builder-impl.h index 4fb7aba..af1c85c 100644 --- a/dali-toolkit/internal/builder/builder-impl.h +++ b/dali-toolkit/internal/builder/builder-impl.h @@ -186,6 +186,33 @@ public: * @copydoc Toolkit::Builder::GetPath */ Path GetPath( const std::string &name ); + + /** + * @copydoc Toolkit::Builder::GetPathConstrainer + */ + Dali::PathConstrainer GetPathConstrainer( const std::string& name ); + + /* + * Check if a given constrainer is of type PathConstrainer + * @param[in] name The name of the constrainer + * @return True if constainer is of type PathConstrainer, False otherwise + * + */ + bool IsPathConstrainer( const std::string& name ); + + /** + * @copydoc Toolkit::Builder::GetLinearConstrainer + */ + Dali::LinearConstrainer GetLinearConstrainer( const std::string& name ); + + /* + * Check if a given constrainer is of type LinearConstrainer + * @param[in] name The name of the constrainer + * @return True if constainer is of type LinearConstrainer, False otherwise + * + */ + bool IsLinearConstrainer( const std::string& name ); + /** * @copydoc Toolkit::Builder::QuitSignal */ @@ -219,6 +246,14 @@ private: typedef std::map PathLut; PathLut mPathLut; + typedef struct{ std::string name; Dali::PathConstrainer pathConstrainer; } PathConstrainerEntry; + typedef std::vector PathConstrainerLut; + PathConstrainerLut mPathConstrainerLut; + + typedef struct{ std::string name; Dali::LinearConstrainer linearConstrainer; } LinearConstrainerEntry; + typedef std::vector LinearConstrainerLut; + LinearConstrainerLut mLinearConstrainerLut; + SlotDelegate mSlotDelegate; Property::Map mReplacementMap;