src/layout-item-wrapper-impl.cpp \
src/layout-group-wrapper.cpp \
src/layout-group-wrapper-impl.cpp \
+ src/absolute-layout.cpp \
+ src/flex-layout.cpp \
+ src/linear-layout.cpp \
src/view-wrapper-impl-wrap.cpp \
src/event-thread-callback-wrap.cpp \
src/application.cpp \
src/layout-item-wrapper-impl.cpp \
src/layout-group-wrapper.cpp \
src/layout-group-wrapper-impl.cpp \
+ src/absolute-layout.cpp \
+ src/flex-layout.cpp \
+ src/linear-layout.cpp \
src/view-wrapper-impl-wrap.cpp \
src/event-thread-callback-wrap.cpp \
src/application.cpp \
--- /dev/null
+#ifndef CSHARP_ABSOLUTE_LAYOUT
+#define CSHARP_ABSOLUTE_LAYOUT
+#endif
+
+#include "common.h"
+#include <dali-toolkit/devel-api/layouting/absolute-layout.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+SWIGEXPORT Dali::Toolkit::LayoutGroup * SWIGSTDCALL CSharp_Dali_AbsoluteLayout_SWIGUpcast(Dali::Toolkit::AbsoluteLayout *jarg1) {
+ return (Dali::Toolkit::LayoutGroup *)jarg1;
+}
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_AbsoluteLayout__SWIG_0() {
+ void * jresult ;
+ Dali::Toolkit::AbsoluteLayout *result = 0 ;
+
+ {
+ try {
+ result = (Dali::Toolkit::AbsoluteLayout *)new Dali::Toolkit::AbsoluteLayout();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AbsoluteLayout_New() {
+ void * jresult ;
+ Dali::Toolkit::AbsoluteLayout result;
+
+ {
+ try {
+ result = Dali::Toolkit::AbsoluteLayout::New();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::AbsoluteLayout((const Dali::Toolkit::AbsoluteLayout &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AbsoluteLayout_DownCast(void * jarg1) {
+ void * jresult ;
+ Dali::BaseHandle arg1 ;
+ Dali::BaseHandle *argp1 ;
+ Dali::Toolkit::AbsoluteLayout result;
+
+ argp1 = (Dali::BaseHandle *)jarg1;
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
+ return 0;
+ }
+ arg1 = *argp1;
+ {
+ try {
+ result = Dali::Toolkit::AbsoluteLayout::DownCast(arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::AbsoluteLayout((const Dali::Toolkit::AbsoluteLayout &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_AbsoluteLayout__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::AbsoluteLayout *arg1 = 0 ;
+ Dali::Toolkit::AbsoluteLayout *result = 0 ;
+
+ arg1 = (Dali::Toolkit::AbsoluteLayout *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::AbsoluteLayout const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::AbsoluteLayout *)new Dali::Toolkit::AbsoluteLayout((Dali::Toolkit::AbsoluteLayout const &)*arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_AbsoluteLayout_Assign(void * jarg1, void * jarg2) {
+ void * jresult ;
+ Dali::Toolkit::AbsoluteLayout *arg1 = (Dali::Toolkit::AbsoluteLayout *) 0 ;
+ Dali::Toolkit::AbsoluteLayout *arg2 = 0 ;
+ Dali::Toolkit::AbsoluteLayout *result = 0 ;
+
+ arg1 = (Dali::Toolkit::AbsoluteLayout *)jarg1;
+ arg2 = (Dali::Toolkit::AbsoluteLayout *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::AbsoluteLayout const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::AbsoluteLayout *) &(arg1)->operator =((Dali::Toolkit::AbsoluteLayout const &)*arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_AbsoluteLayout(void * jarg1) {
+ Dali::Toolkit::AbsoluteLayout *arg1 = (Dali::Toolkit::AbsoluteLayout *) 0 ;
+
+ arg1 = (Dali::Toolkit::AbsoluteLayout *)jarg1;
+ {
+ try {
+ delete arg1;
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+#ifdef __cplusplus
+}
+#endif
--- /dev/null
+#ifndef CSHARP_FLEX_LAYOUT
+#define CSHARP_FLEX_LAYOUT
+#endif
+
+#include "common.h"
+#include <dali-toolkit/devel-api/layouting/flex-layout.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+SWIGEXPORT Dali::Toolkit::LayoutGroup * SWIGSTDCALL CSharp_Dali_FlexLayout_SWIGUpcast(Dali::Toolkit::FlexLayout *jarg1) {
+ return (Dali::Toolkit::LayoutGroup *)jarg1;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FlexLayout_ChildProperty_FLEX_get() {
+ int jresult ;
+ int result;
+
+ result = (int)Dali::Toolkit::FlexLayout::ChildProperty::FLEX;
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FlexLayout_ChildProperty_ALIGN_SELF_get() {
+ int jresult ;
+ int result;
+
+ result = (int)Dali::Toolkit::FlexLayout::ChildProperty::ALIGN_SELF;
+ jresult = (int)result;
+ return jresult;
+}
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FlexLayout__SWIG_0() {
+ void * jresult ;
+ Dali::Toolkit::FlexLayout *result = 0 ;
+
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout *)new Dali::Toolkit::FlexLayout();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FlexLayout_New() {
+ void * jresult ;
+ Dali::Toolkit::FlexLayout result;
+
+ {
+ try {
+ result = Dali::Toolkit::FlexLayout::New();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::FlexLayout((const Dali::Toolkit::FlexLayout &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FlexLayout_DownCast(void * jarg1) {
+ void * jresult ;
+ Dali::BaseHandle arg1 ;
+ Dali::BaseHandle *argp1 ;
+ Dali::Toolkit::FlexLayout result;
+
+ argp1 = (Dali::BaseHandle *)jarg1;
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
+ return 0;
+ }
+ arg1 = *argp1;
+ {
+ try {
+ result = Dali::Toolkit::FlexLayout::DownCast(arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::FlexLayout((const Dali::Toolkit::FlexLayout &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_FlexLayout__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::FlexLayout *arg1 = 0 ;
+ Dali::Toolkit::FlexLayout *result = 0 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::FlexLayout const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout *)new Dali::Toolkit::FlexLayout((Dali::Toolkit::FlexLayout const &)*arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_FlexLayout_Assign(void * jarg1, void * jarg2) {
+ void * jresult ;
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout *arg2 = 0 ;
+ Dali::Toolkit::FlexLayout *result = 0 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ arg2 = (Dali::Toolkit::FlexLayout *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::FlexLayout const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout *) &(arg1)->operator =((Dali::Toolkit::FlexLayout const &)*arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_FlexLayout(void * jarg1) {
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ {
+ try {
+ delete arg1;
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FlexLayout_SetFlexDirection(void * jarg1, int jarg2) {
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::FlexDirection arg2 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ arg2 = (Dali::Toolkit::FlexLayout::FlexDirection)jarg2;
+ {
+ try {
+ (arg1)->SetFlexDirection(arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FlexLayout_GetFlexDirection(void * jarg1) {
+ int jresult ;
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::FlexDirection result;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout::FlexDirection)((Dali::Toolkit::FlexLayout const *)arg1)->GetFlexDirection();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FlexLayout_SetFlexJustification(void * jarg1, int jarg2) {
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::Justification arg2 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ arg2 = (Dali::Toolkit::FlexLayout::Justification)jarg2;
+ {
+ try {
+ (arg1)->SetFlexJustification(arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FlexLayout_GetFlexJustification(void * jarg1) {
+ int jresult ;
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::Justification result;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout::Justification)((Dali::Toolkit::FlexLayout const *)arg1)->GetFlexJustification();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FlexLayout_SetFlexWrap(void * jarg1, int jarg2) {
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::WrapType arg2 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ arg2 = (Dali::Toolkit::FlexLayout::WrapType)jarg2;
+ {
+ try {
+ (arg1)->SetFlexWrap(arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FlexLayout_GetFlexWrap(void * jarg1) {
+ int jresult ;
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::WrapType result;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout::WrapType)((Dali::Toolkit::FlexLayout const *)arg1)->GetFlexWrap();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FlexLayout_SetFlexAlignment(void * jarg1, int jarg2) {
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::Alignment::Type arg2 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ arg2 = (Dali::Toolkit::FlexLayout::Alignment::Type)jarg2;
+ {
+ try {
+ (arg1)->SetFlexAlignment(arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FlexLayout_GetFlexAlignment(void * jarg1) {
+ int jresult ;
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::Alignment::Type result;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout::Alignment::Type)((Dali::Toolkit::FlexLayout const *)arg1)->GetFlexAlignment();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_FlexLayout_SetFlexItemsAlignment(void * jarg1, int jarg2) {
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::Alignment::Type arg2 ;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ arg2 = (Dali::Toolkit::FlexLayout::Alignment::Type)jarg2;
+ {
+ try {
+ (arg1)->SetFlexItemsAlignment(arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_FlexLayout_GetFlexItemsAlignment(void * jarg1) {
+ int jresult ;
+ Dali::Toolkit::FlexLayout *arg1 = (Dali::Toolkit::FlexLayout *) 0 ;
+ Dali::Toolkit::FlexLayout::Alignment::Type result;
+
+ arg1 = (Dali::Toolkit::FlexLayout *)jarg1;
+ {
+ try {
+ result = (Dali::Toolkit::FlexLayout::Alignment::Type)((Dali::Toolkit::FlexLayout const *)arg1)->GetFlexItemsAlignment();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (int)result;
+ return jresult;
+}
+
+
+#ifdef __cplusplus
+}
+#endif
--- /dev/null
+#ifndef CSHARP_LINEAR_LAYOUT
+#define CSHARP_LINEAR_LAYOUT
+#endif
+
+#include "common.h"
+#include <dali-toolkit/devel-api/layouting/linear-layout.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+SWIGEXPORT Dali::Toolkit::LayoutGroup * SWIGSTDCALL CSharp_Dali_LinearLayout_SWIGUpcast(Dali::Toolkit::LinearLayout *jarg1) {
+ return (Dali::Toolkit::LayoutGroup *)jarg1;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LinearLayout__SWIG_0() {
+ void * jresult ;
+ Dali::Toolkit::LinearLayout *result = 0 ;
+
+ {
+ try {
+ result = (Dali::Toolkit::LinearLayout *)new Dali::Toolkit::LinearLayout();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LinearLayout_New() {
+ void * jresult ;
+ Dali::Toolkit::LinearLayout result;
+
+ {
+ try {
+ result = Dali::Toolkit::LinearLayout::New();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::LinearLayout((const Dali::Toolkit::LinearLayout &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LinearLayout_DownCast(void * jarg1) {
+ void * jresult ;
+ Dali::BaseHandle arg1 ;
+ Dali::BaseHandle *argp1 ;
+ Dali::Toolkit::LinearLayout result;
+
+ argp1 = (Dali::BaseHandle *)jarg1;
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
+ return 0;
+ }
+ arg1 = *argp1;
+ {
+ try {
+ result = Dali::Toolkit::LinearLayout::DownCast(arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::LinearLayout((const Dali::Toolkit::LinearLayout &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LinearLayout__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::LinearLayout *arg1 = 0 ;
+ Dali::Toolkit::LinearLayout *result = 0 ;
+
+ arg1 = (Dali::Toolkit::LinearLayout *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::LinearLayout const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::LinearLayout *)new Dali::Toolkit::LinearLayout((Dali::Toolkit::LinearLayout const &)*arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LinearLayout_Assign(void * jarg1, void * jarg2) {
+ void * jresult ;
+ Dali::Toolkit::LinearLayout *arg1 = (Dali::Toolkit::LinearLayout *) 0 ;
+ Dali::Toolkit::LinearLayout *arg2 = 0 ;
+ Dali::Toolkit::LinearLayout *result = 0 ;
+
+ arg1 = (Dali::Toolkit::LinearLayout *)jarg1;
+ arg2 = (Dali::Toolkit::LinearLayout *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::LinearLayout const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::LinearLayout *) &(arg1)->operator =((Dali::Toolkit::LinearLayout const &)*arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_LinearLayout(void * jarg1) {
+ Dali::Toolkit::LinearLayout *arg1 = (Dali::Toolkit::LinearLayout *) 0 ;
+
+ arg1 = (Dali::Toolkit::LinearLayout *)jarg1;
+ {
+ try {
+ delete arg1;
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LinearLayout_SetCellPadding(void * jarg1, void * jarg2) {
+ Dali::Toolkit::LinearLayout *arg1 = (Dali::Toolkit::LinearLayout *) 0 ;
+ Dali::Toolkit::LayoutSize arg2 ;
+ Dali::Toolkit::LayoutSize *argp2 ;
+
+ arg1 = (Dali::Toolkit::LinearLayout *)jarg1;
+ argp2 = (Dali::Toolkit::LayoutSize *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutSize", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ {
+ try {
+ (arg1)->SetCellPadding(arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LinearLayout_GetCellPadding(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::LinearLayout *arg1 = (Dali::Toolkit::LinearLayout *) 0 ;
+ Dali::Toolkit::LayoutSize result;
+
+ arg1 = (Dali::Toolkit::LinearLayout *)jarg1;
+ {
+ try {
+ result = (arg1)->GetCellPadding();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::LayoutSize((const Dali::Toolkit::LayoutSize &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_LinearLayout_SetOrientation(void * jarg1, int jarg2) {
+ Dali::Toolkit::LinearLayout *arg1 = (Dali::Toolkit::LinearLayout *) 0 ;
+ Dali::Toolkit::LinearLayout::Orientation arg2 ;
+
+ arg1 = (Dali::Toolkit::LinearLayout *)jarg1;
+ arg2 = (Dali::Toolkit::LinearLayout::Orientation)jarg2;
+ {
+ try {
+ (arg1)->SetOrientation(arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_LinearLayout_GetOrientation(void * jarg1) {
+ int jresult ;
+ Dali::Toolkit::LinearLayout *arg1 = (Dali::Toolkit::LinearLayout *) 0 ;
+ Dali::Toolkit::LinearLayout::Orientation result;
+
+ arg1 = (Dali::Toolkit::LinearLayout *)jarg1;
+ {
+ try {
+ result = (Dali::Toolkit::LinearLayout::Orientation)(arg1)->GetOrientation();
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = (int)result;
+ return jresult;
+}
+
+
+#ifdef __cplusplus
+}
+#endif