arg6 = (Dali::PixelData::ReleaseFunction)jarg6;
{
try {
- result = Dali::PixelData::New(arg1,arg2,arg3,arg4,arg5,arg6);
+ auto pixelBuffer = new unsigned char[jarg2];
+ memcpy( pixelBuffer, arg1, arg2);
+ result = Dali::PixelData::New(pixelBuffer,arg2,arg3,arg4,arg5,arg6);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
try {
result = (int)(arg1)->GetHierarchyDepth();
Dali::Actor parent = ((Dali::Actor const *)arg1)->GetParent();
- if(parent)
- {
- const std::string parentName = parent.GetName();
- if(parentName.compare("rootAbsoluteLayout") == 0)
- {
- result -= 1;
- }
- }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
Dali::Property::Index arg3 = 0 ;
arg3 = (Dali::Property::Index)jarg3;
- Dali::Property::Value arg4;
- arg4 = (Dali::Property::Value *)jarg4;
+ Dali::Property::Value *arg4 = (Dali::Property::Value *)jarg4;
{
try {
- DevelControl::DoAction(arg1, arg2, arg3, arg4);
+ DevelControl::DoAction(arg1, arg2, arg3, *arg4);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetLayout__SWIG_0(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Internal::Control *arg1 = 0 ;
- Dali::Toolkit::LayoutItem result;
-
- arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::Control & type is null", 0);
- return 0;
- }
- {
- try {
- result = Dali::Toolkit::DevelControl::GetLayout(*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::LayoutItem((const Dali::Toolkit::LayoutItem &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetLayout__SWIG_1(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Control arg1 ;
- Dali::Toolkit::Control *argp1 ;
- Dali::Toolkit::LayoutItem result;
-
- argp1 = (Dali::Toolkit::Control *)jarg1;
- if (!argp1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Control", 0);
- return 0;
- }
- arg1 = *argp1;
- {
- try {
- result = Dali::Toolkit::DevelControl::GetLayout(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::LayoutItem((const Dali::Toolkit::LayoutItem &)result);
- return jresult;
-}
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetLayout__SWIG_0(void * jarg1, void * jarg2) {
- Dali::Toolkit::Internal::Control *arg1 = 0 ;
- Dali::Toolkit::LayoutItem arg2 ;
- Dali::Toolkit::LayoutItem *argp2 ;
-
- arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::Control & type is null", 0);
- return ;
- }
- argp2 = (Dali::Toolkit::LayoutItem *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutItem", 0);
- return ;
- }
- arg2 = *argp2;
- {
- try {
- Dali::Toolkit::DevelControl::SetLayout(*arg1,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_SetLayout__SWIG_1(void * jarg1, void * jarg2) {
- Dali::Toolkit::Control arg1 ;
- Dali::Toolkit::LayoutItem arg2 ;
- Dali::Toolkit::Control *argp1 ;
- Dali::Toolkit::LayoutItem *argp2 ;
-
- argp1 = (Dali::Toolkit::Control *)jarg1;
- if (!argp1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Control", 0);
- return ;
- }
- arg1 = *argp1;
- argp2 = (Dali::Toolkit::LayoutItem *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutItem", 0);
- return ;
- }
- arg2 = *argp2;
- {
- try {
- Dali::Toolkit::DevelControl::SetLayout(arg1,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_SetLayoutingRequired(void * jarg1, bool jarg2) {
- Dali::Toolkit::Control *arg1 = 0 ;
-
- arg1 = (Dali::Toolkit::Control *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::Control & type is null", 0);
- return ;
- }
-
- {
- try {
- Dali::Toolkit::DevelControl::SetLayoutingRequired(*arg1,jarg2);
- } 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 unsigned int SWIGSTDCALL CSharp_Dali_View_IsLayoutingRequired(void * jarg1) {
- unsigned int jresult ;
- Dali::Toolkit::Control *arg1 = 0 ;
- bool result;
-
- arg1 = (Dali::Toolkit::Control *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (bool)DevelControl::IsLayoutingRequired( *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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = result;
- return jresult;
-}
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceReadySignal(void * jarg1) {
void * jresult ;
Dali::Toolkit::Control *arg1 = 0 ;