#include <dali/devel-api/actors/actor-devel.h>
#include <dali/devel-api/common/stage-devel.h>
+#include <dali/devel-api/events/key-event-devel.h>
#include <dali/public-api/math/matrix.h>
#include <dali/public-api/math/matrix3.h>
#include <dali-toolkit/devel-api/controls/web-view/web-view.h>
#include "web-view-signal-converter.h"
+#include <dali/integration-api/debug.h>
// add here SWIG version check
jdirection = (int)direction;
jresult = (void *) swig_callbackGetNextFocusableActor(jcurrent, jproposed, jdirection);
if (!jresult) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Actor", 0);
+ DALI_LOG_ERROR("[ERROR][%s line:%d] Unexpected null return for type Dali::Actor! Next focus will be NULL, please be cautious to handle the keyboard foucs! ", __FILE__, __LINE__);
return c_result;
}
c_result = *(Dali::Actor *)jresult;
return jresult;
}
+SWIGEXPORT char * SWIGSTDCALL CSharp_Dali_Key_logicalKey_get(void * jarg1) {
+ char * jresult ;
+ std::string result;
+ Dali::KeyEvent *arg1 = (Dali::KeyEvent *) 0;
+
+ arg1 = (Dali::KeyEvent *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::DevelKeyEvent const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = Dali::DevelKeyEvent::GetLogicalKey(*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 = SWIG_csharp_string_callback( (&result)->c_str() );
+ return jresult;
+}
+
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_LongPressGestureDetector__SWIG_0() {
void * jresult ;
unsigned int result;
arg1 = (Dali::Actor *)jarg1;
+
+ if(!arg1) {
+ DALI_LOG_ERROR("[ERROR] actor is null! return -1");
+ return -1;
+ }
+
{
try {
result = (unsigned int)((Dali::Actor const *)arg1)->GetId();
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetFrameBufferImage(void * jarg1, char * jarg2) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetPath(void * jarg1, char * jarg2) {
void * jresult ;
Dali::Toolkit::Builder *arg1 = (Dali::Toolkit::Builder *) 0 ;
std::string *arg2 = 0 ;
- Dali::FrameBufferImage result;
+ Dali::Path result;
arg1 = (Dali::Toolkit::Builder *)jarg1;
if (!jarg2) {
arg2 = &arg2_str;
{
try {
- result = (arg1)->GetFrameBufferImage((std::string const &)*arg2);
+ result = (arg1)->GetPath((std::string const &)*arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result);
+ jresult = new Dali::Path((const Dali::Path &)result);
//argout typemap for const std::string&
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetPath(void * jarg1, char * jarg2) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetPathConstrainer(void * jarg1, char * jarg2) {
void * jresult ;
Dali::Toolkit::Builder *arg1 = (Dali::Toolkit::Builder *) 0 ;
std::string *arg2 = 0 ;
- Dali::Path result;
+ Dali::PathConstrainer result;
arg1 = (Dali::Toolkit::Builder *)jarg1;
if (!jarg2) {
arg2 = &arg2_str;
{
try {
- result = (arg1)->GetPath((std::string const &)*arg2);
+ result = (arg1)->GetPathConstrainer((std::string const &)*arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = new Dali::Path((const Dali::Path &)result);
+ jresult = new Dali::PathConstrainer((const Dali::PathConstrainer &)result);
//argout typemap for const std::string&
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetPathConstrainer(void * jarg1, char * jarg2) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetLinearConstrainer(void * jarg1, char * jarg2) {
void * jresult ;
Dali::Toolkit::Builder *arg1 = (Dali::Toolkit::Builder *) 0 ;
std::string *arg2 = 0 ;
- Dali::PathConstrainer result;
+ Dali::LinearConstrainer result;
arg1 = (Dali::Toolkit::Builder *)jarg1;
if (!jarg2) {
arg2 = &arg2_str;
{
try {
- result = (arg1)->GetPathConstrainer((std::string const &)*arg2);
+ result = (arg1)->GetLinearConstrainer((std::string const &)*arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = new Dali::PathConstrainer((const Dali::PathConstrainer &)result);
+ jresult = new Dali::LinearConstrainer((const Dali::LinearConstrainer &)result);
//argout typemap for const std::string&
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_GetLinearConstrainer(void * jarg1, char * jarg2) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_QuitSignal(void * jarg1) {
void * jresult ;
Dali::Toolkit::Builder *arg1 = (Dali::Toolkit::Builder *) 0 ;
- std::string *arg2 = 0 ;
- Dali::LinearConstrainer result;
+ Dali::Toolkit::Builder::BuilderSignalType *result = 0 ;
arg1 = (Dali::Toolkit::Builder *)jarg1;
- if (!jarg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
+ {
+ try {
+ result = (Dali::Toolkit::Builder::BuilderSignalType *) &(arg1)->QuitSignal();
+ } 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 = (void *)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TransitionData__SWIG_0() {
+ void * jresult ;
+ Dali::Toolkit::TransitionData *result = 0 ;
+
+ {
+ try {
+ result = (Dali::Toolkit::TransitionData *)new Dali::Toolkit::TransitionData();
+ } 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 = (void *)result;
+ return jresult;
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TransitionData(void * jarg1) {
+ Dali::Toolkit::TransitionData *arg1 = (Dali::Toolkit::TransitionData *) 0 ;
+
+ arg1 = (Dali::Toolkit::TransitionData *)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 (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_New__SWIG_0(void * jarg1) {
+ void * jresult ;
+ Dali::Property::Map *arg1 = 0 ;
+ Dali::Toolkit::TransitionData result;
+
+ arg1 = (Dali::Property::Map *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Map const & type is null", 0);
return 0;
}
- std::string arg2_str(jarg2);
- arg2 = &arg2_str;
{
try {
- result = (arg1)->GetLinearConstrainer((std::string const &)*arg2);
+ result = Dali::Toolkit::TransitionData::New((Dali::Property::Map const &)*arg1);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = new Dali::LinearConstrainer((const Dali::LinearConstrainer &)result);
+ jresult = new Dali::Toolkit::TransitionData((const Dali::Toolkit::TransitionData &)result);
+ return jresult;
+}
- //argout typemap for const std::string&
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_New__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Property::Array *arg1 = 0 ;
+ Dali::Toolkit::TransitionData result;
+
+ arg1 = (Dali::Property::Array *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Array const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = Dali::Toolkit::TransitionData::New((Dali::Property::Array 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 (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+
+ jresult = new Dali::Toolkit::TransitionData((const Dali::Toolkit::TransitionData &)result);
return jresult;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Builder_QuitSignal(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_DownCast(void * jarg1) {
void * jresult ;
- Dali::Toolkit::Builder *arg1 = (Dali::Toolkit::Builder *) 0 ;
- Dali::Toolkit::Builder::BuilderSignalType *result = 0 ;
+ Dali::BaseHandle arg1 ;
+ Dali::BaseHandle *argp1 ;
+ Dali::Toolkit::TransitionData result;
- arg1 = (Dali::Toolkit::Builder *)jarg1;
+ 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::Builder::BuilderSignalType *) &(arg1)->QuitSignal();
+ result = Dali::Toolkit::TransitionData::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 (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+
+ jresult = new Dali::Toolkit::TransitionData((const Dali::Toolkit::TransitionData &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TransitionData__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::TransitionData *arg1 = 0 ;
+ Dali::Toolkit::TransitionData *result = 0 ;
+
+ arg1 = (Dali::Toolkit::TransitionData *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::TransitionData *)new Dali::Toolkit::TransitionData((Dali::Toolkit::TransitionData const &)*arg1);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TransitionData__SWIG_0() {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_Assign(void * jarg1, void * jarg2) {
void * jresult ;
+ Dali::Toolkit::TransitionData *arg1 = (Dali::Toolkit::TransitionData *) 0 ;
+ Dali::Toolkit::TransitionData *arg2 = 0 ;
Dali::Toolkit::TransitionData *result = 0 ;
+ arg1 = (Dali::Toolkit::TransitionData *)jarg1;
+ arg2 = (Dali::Toolkit::TransitionData *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
+ return 0;
+ }
{
try {
- result = (Dali::Toolkit::TransitionData *)new Dali::Toolkit::TransitionData();
- } 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 = (void *)result;
- return jresult;
-}
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TransitionData(void * jarg1) {
- Dali::Toolkit::TransitionData *arg1 = (Dali::Toolkit::TransitionData *) 0 ;
-
- arg1 = (Dali::Toolkit::TransitionData *)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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_New__SWIG_0(void * jarg1) {
- void * jresult ;
- Dali::Property::Map *arg1 = 0 ;
- Dali::Toolkit::TransitionData result;
-
- arg1 = (Dali::Property::Map *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Map const & type is null", 0);
- return 0;
- }
- {
- try {
- result = Dali::Toolkit::TransitionData::New((Dali::Property::Map 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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = new Dali::Toolkit::TransitionData((const Dali::Toolkit::TransitionData &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_New__SWIG_1(void * jarg1) {
- void * jresult ;
- Dali::Property::Array *arg1 = 0 ;
- Dali::Toolkit::TransitionData result;
-
- arg1 = (Dali::Property::Array *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Array const & type is null", 0);
- return 0;
- }
- {
- try {
- result = Dali::Toolkit::TransitionData::New((Dali::Property::Array 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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = new Dali::Toolkit::TransitionData((const Dali::Toolkit::TransitionData &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_DownCast(void * jarg1) {
- void * jresult ;
- Dali::BaseHandle arg1 ;
- Dali::BaseHandle *argp1 ;
- Dali::Toolkit::TransitionData 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::TransitionData::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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = new Dali::Toolkit::TransitionData((const Dali::Toolkit::TransitionData &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TransitionData__SWIG_1(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::TransitionData *arg1 = 0 ;
- Dali::Toolkit::TransitionData *result = 0 ;
-
- arg1 = (Dali::Toolkit::TransitionData *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (Dali::Toolkit::TransitionData *)new Dali::Toolkit::TransitionData((Dali::Toolkit::TransitionData 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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_TransitionData_Assign(void * jarg1, void * jarg2) {
- void * jresult ;
- Dali::Toolkit::TransitionData *arg1 = (Dali::Toolkit::TransitionData *) 0 ;
- Dali::Toolkit::TransitionData *arg2 = 0 ;
- Dali::Toolkit::TransitionData *result = 0 ;
-
- arg1 = (Dali::Toolkit::TransitionData *)jarg1;
- arg2 = (Dali::Toolkit::TransitionData *)jarg2;
- if (!arg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (Dali::Toolkit::TransitionData *) &(arg1)->operator =((Dali::Toolkit::TransitionData const &)*arg2);
+ result = (Dali::Toolkit::TransitionData *) &(arg1)->operator =((Dali::Toolkit::TransitionData const &)*arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewImpl_GetBackgroundColor(void * jarg1) {
void * jresult ;
- Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
+ Dali::Handle *arg1 = (Dali::Handle *) 0 ;
Dali::Vector4 result;
- arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
+ arg1 = (Dali::Handle *)jarg1;
{
try {
- result = ((Dali::Toolkit::Internal::Control const *)arg1)->GetBackgroundColor();
+ Property::Map* resultMap = ((arg1)->GetProperty( Control::Property::BACKGROUND )).GetMap();
+ if (resultMap)
+ {
+ Dali::Property::Value* type = resultMap->Find( Toolkit::Visual::Property::TYPE );
+ if(type && type->Get<int>() == Visual::COLOR )
+ {
+ Dali::Property::Value* value = resultMap->Find( ColorVisual::Property::MIX_COLOR );
+ if (value)
+ {
+ result = value->Get<Vector4>();
+ }
+ }
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_SetBackgroundImage(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_SetBackground(void * jarg1, void * jarg2) {
Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
+ Dali::Property::Map *arg2 = 0 ;
arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- argp2 = (Dali::Image *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0);
+ arg2 = (Dali::Property::Map *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Map const & type is null", 0);
return ;
}
- arg2 = *argp2;
{
try {
- (arg1)->SetBackgroundImage(arg2);
+ (arg1)->SetBackground((Dali::Property::Map const &)*arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_SetBackground(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_ClearBackground(void * jarg1) {
Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
- Dali::Property::Map *arg2 = 0 ;
arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- arg2 = (Dali::Property::Map *)jarg2;
- if (!arg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Property::Map const & type is null", 0);
- return ;
- }
{
try {
- (arg1)->SetBackground((Dali::Property::Map const &)*arg2);
+ (arg1)->ClearBackground();
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_ClearBackground(void * jarg1) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_EnableGestureDetection(void * jarg1, int jarg2) {
Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
+ Dali::Gesture::Type arg2 ;
arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
+ arg2 = (Dali::Gesture::Type)jarg2;
{
try {
- (arg1)->ClearBackground();
+ (arg1)->EnableGestureDetection(arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_EnableGestureDetection(void * jarg1, int jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_DisableGestureDetection(void * jarg1, int jarg2) {
Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
Dali::Gesture::Type arg2 ;
arg2 = (Dali::Gesture::Type)jarg2;
{
try {
- (arg1)->EnableGestureDetection(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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_DisableGestureDetection(void * jarg1, int jarg2) {
- Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
- Dali::Gesture::Type arg2 ;
-
- arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- arg2 = (Dali::Gesture::Type)jarg2;
- {
- try {
- (arg1)->DisableGestureDetection(arg2);
+ (arg1)->DisableGestureDetection(arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
return jresult;
}
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_BACKGROUND_COLOR_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::Control::Property::BACKGROUND_COLOR;
- jresult = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_BACKGROUND_IMAGE_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::Control::Property::BACKGROUND_IMAGE;
- jresult = (int)result;
- return jresult;
-}
-
-
SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_Property_KEY_INPUT_FOCUS_get() {
int jresult ;
int result;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_ClearBackground(void * jarg1) {
+ Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
+
+ arg1 = (Dali::Toolkit::Control *)jarg1;
+ {
+ try {
+ (arg1)->ClearBackground();
+ } 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 (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+
+}
+
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_GetBackgroundColor(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_KeyEventSignal(void * jarg1) {
void * jresult ;
Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- Dali::Vector4 result;
+ Dali::Toolkit::Control::KeyEventSignalType *result = 0 ;
arg1 = (Dali::Toolkit::Control *)jarg1;
{
try {
- result = ((Dali::Toolkit::Control const *)arg1)->GetBackgroundColor();
+ result = (Dali::Toolkit::Control::KeyEventSignalType *) &(arg1)->KeyEventSignal();
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = new Dali::Vector4((const Dali::Vector4 &)result);
+ jresult = (void *)result;
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_SetBackgroundImage(void * jarg1, void * jarg2) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_KeyInputFocusGainedSignal(void * jarg1) {
+ void * jresult ;
Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
+ Dali::Toolkit::Control::KeyInputFocusSignalType *result = 0 ;
arg1 = (Dali::Toolkit::Control *)jarg1;
- argp2 = (Dali::Image *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0);
- return ;
- }
- arg2 = *argp2;
{
try {
- (arg1)->SetBackgroundImage(arg2);
+ result = (Dali::Toolkit::Control::KeyInputFocusSignalType *) &(arg1)->KeyInputFocusGainedSignal();
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = (void *)result;
+ return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_ClearBackground(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_KeyInputFocusLostSignal(void * jarg1) {
+ void * jresult ;
Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
+ Dali::Toolkit::Control::KeyInputFocusSignalType *result = 0 ;
arg1 = (Dali::Toolkit::Control *)jarg1;
{
try {
- (arg1)->ClearBackground();
+ result = (Dali::Toolkit::Control::KeyInputFocusSignalType *) &(arg1)->KeyInputFocusLostSignal();
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = (void *)result;
+ return jresult;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_KeyEventSignal(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_View__SWIG_2(void * jarg1) {
void * jresult ;
+ Dali::Toolkit::Internal::Control *arg1 = 0 ;
+ Dali::Toolkit::Control *result = 0 ;
+
+ 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::Control *)new Dali::Toolkit::Control(*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 = (void *)result;
+ return jresult;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_GetVisualResourceStatus(void * jarg1, int jarg2)
+{
+ int jresult;
Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- Dali::Toolkit::Control::KeyEventSignalType *result = 0 ;
+ arg1 = (Dali::Toolkit::Control *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control & type is null", 0);
+ return 0;
+ }
+
+ Dali::Property::Index arg2 = 0 ;
+ arg2 = (Dali::Property::Index)jarg2;
+
+ Toolkit::Visual::ResourceStatus result;
+ {
+ try {
+ result = arg1->GetVisualResourceStatus(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 = (int)(result);
+ return jresult;
+}
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_CreateTransition(void * jarg1, void * jarg2)
+{
+ void * jresult;
+ Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
arg1 = (Dali::Toolkit::Control *)jarg1;
+
+ Dali::Toolkit::Internal::Control& controlImpl = Dali::Toolkit::Internal::GetImplementation( *arg1 );
+
+ Dali::Toolkit::TransitionData *arg2 = 0 ;
+ Dali::Animation result;
+
+ arg2 = (Dali::Toolkit::TransitionData *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
+ return 0;
+ }
{
try {
- result = (Dali::Toolkit::Control::KeyEventSignalType *) &(arg1)->KeyEventSignal();
+ result = DevelControl::CreateTransition( controlImpl, (Dali::Toolkit::TransitionData const &)*arg2);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = (void *)result;
+ jresult = new Dali::Animation((const Dali::Animation &)result);
return jresult;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_DoAction(void * jarg1, int jarg2, int jarg3, void * jarg4 )
+{
+ Dali::Toolkit::Control arg1;
+ Dali::Toolkit::Control *argp1 = (Dali::Toolkit::Control *)jarg1;
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_KeyInputFocusGainedSignal(void * jarg1) {
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control & type is null", 0);
+ }
+ arg1 = *argp1;
+
+ Dali::Property::Index arg2 = 0 ;
+ arg2 = (Dali::Property::Index)jarg2;
+
+ Dali::Property::Index arg3 = 0 ;
+ arg3 = (Dali::Property::Index)jarg3;
+
+ Dali::Property::Value *arg4 = (Dali::Property::Value *)jarg4;
+
+ {
+ try {
+ DevelControl::DoAction(arg1, arg2, arg3, *arg4);
+ } 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_ResourceReadySignal(void * jarg1) {
void * jresult ;
- Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- Dali::Toolkit::Control::KeyInputFocusSignalType *result = 0 ;
+ Dali::Toolkit::Control *arg1 = 0 ;
+ Dali::Toolkit::Control::ResourceReadySignalType *result = 0 ;
arg1 = (Dali::Toolkit::Control *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control & type is null", 0);
+ return 0;
+ }
{
try {
- result = (Dali::Toolkit::Control::KeyInputFocusSignalType *) &(arg1)->KeyInputFocusGainedSignal();
- } 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 = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_KeyInputFocusLostSignal(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- Dali::Toolkit::Control::KeyInputFocusSignalType *result = 0 ;
-
- arg1 = (Dali::Toolkit::Control *)jarg1;
- {
- try {
- result = (Dali::Toolkit::Control::KeyInputFocusSignalType *) &(arg1)->KeyInputFocusLostSignal();
- } 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 = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_View__SWIG_2(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Internal::Control *arg1 = 0 ;
- Dali::Toolkit::Control *result = 0 ;
-
- 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::Control *)new Dali::Toolkit::Control(*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 = (void *)result;
- return jresult;
-}
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_View_GetVisualResourceStatus(void * jarg1, int jarg2)
-{
- int jresult;
- Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- arg1 = (Dali::Toolkit::Control *)jarg1;
-
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control & type is null", 0);
- return 0;
- }
-
- Dali::Property::Index arg2 = 0 ;
- arg2 = (Dali::Property::Index)jarg2;
-
- Toolkit::Visual::ResourceStatus result;
- {
- try {
- result = arg1->GetVisualResourceStatus(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 = (int)(result);
- return jresult;
-}
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_CreateTransition(void * jarg1, void * jarg2)
-{
- void * jresult;
- Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- arg1 = (Dali::Toolkit::Control *)jarg1;
-
- Dali::Toolkit::Internal::Control& controlImpl = Dali::Toolkit::Internal::GetImplementation( *arg1 );
-
- Dali::Toolkit::TransitionData *arg2 = 0 ;
- Dali::Animation result;
-
- arg2 = (Dali::Toolkit::TransitionData *)jarg2;
- if (!arg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
- return 0;
- }
- {
- try {
- result = DevelControl::CreateTransition( controlImpl, (Dali::Toolkit::TransitionData 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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = new Dali::Animation((const Dali::Animation &)result);
- return jresult;
-}
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_DoAction(void * jarg1, int jarg2, int jarg3, void * jarg4 )
-{
- Dali::Toolkit::Control arg1;
- Dali::Toolkit::Control *argp1 = (Dali::Toolkit::Control *)jarg1;
-
- if (!argp1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control & type is null", 0);
- }
- arg1 = *argp1;
-
- Dali::Property::Index arg2 = 0 ;
- arg2 = (Dali::Property::Index)jarg2;
-
- Dali::Property::Index arg3 = 0 ;
- arg3 = (Dali::Property::Index)jarg3;
-
- Dali::Property::Value *arg4 = (Dali::Property::Value *)jarg4;
-
- {
- try {
- DevelControl::DoAction(arg1, arg2, arg3, *arg4);
- } 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_ResourceReadySignal(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Control *arg1 = 0 ;
- Dali::Toolkit::Control::ResourceReadySignalType *result = 0 ;
-
- arg1 = (Dali::Toolkit::Control *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control & type is null", 0);
- return 0;
- }
- {
- try {
- result = (Dali::Toolkit::Control::ResourceReadySignalType *) &arg1->ResourceReadySignal();
+ result = (Dali::Toolkit::Control::ResourceReadySignalType *) &arg1->ResourceReadySignal();
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
return jresult;
}
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_UNSELECTED_COLOR_get() {
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_LABEL_get() {
int jresult ;
int result;
- result = (int)Dali::Toolkit::Button::Property::UNSELECTED_COLOR;
+ result = (int)Dali::Toolkit::Button::Property::LABEL;
jresult = (int)result;
return jresult;
}
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button_Property() {
+ void * jresult ;
+ Dali::Toolkit::Button::Property *result = 0 ;
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_SELECTED_COLOR_get() {
- int jresult ;
- int result;
+ {
+ try {
+ result = (Dali::Toolkit::Button::Property *)new Dali::Toolkit::Button::Property();
+ } 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;
+ };
+ }
+ }
- result = (int)Dali::Toolkit::Button::Property::SELECTED_COLOR;
- jresult = (int)result;
+ jresult = (void *)result;
return jresult;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_LABEL_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::Button::Property::LABEL;
- jresult = (int)result;
- return jresult;
-}
-
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Button_Property(void * jarg1) {
+ Dali::Toolkit::Button::Property *arg1 = (Dali::Toolkit::Button::Property *) 0 ;
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Button_Property_LABEL_TEXT_get() {
- int jresult ;
- int result;
+ arg1 = (Dali::Toolkit::Button::Property *)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 (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
- result = (int)Dali::Toolkit::Button::Property::LABEL_TEXT;
- jresult = (int)result;
- return jresult;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button_Property() {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button__SWIG_0() {
void * jresult ;
- Dali::Toolkit::Button::Property *result = 0 ;
+ Dali::Toolkit::Button *result = 0 ;
{
try {
- result = (Dali::Toolkit::Button::Property *)new Dali::Toolkit::Button::Property();
- } 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 = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Button_Property(void * jarg1) {
- Dali::Toolkit::Button::Property *arg1 = (Dali::Toolkit::Button::Property *) 0 ;
-
- arg1 = (Dali::Toolkit::Button::Property *)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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button__SWIG_0() {
- void * jresult ;
- Dali::Toolkit::Button *result = 0 ;
-
- {
- try {
- result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button();
+ result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button();
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_Button_IsDisabled(void * jarg1) {
- unsigned int jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- bool result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = (bool)((Dali::Toolkit::Button const *)arg1)->IsDisabled();
- } 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 unsigned int SWIGSTDCALL CSharp_Dali_Button_IsAutoRepeating(void * jarg1) {
- unsigned int jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- bool result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = (bool)((Dali::Toolkit::Button const *)arg1)->IsAutoRepeating();
- } 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 float SWIGSTDCALL CSharp_Dali_Button_GetInitialAutoRepeatingDelay(void * jarg1) {
- float jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- float result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = (float)((Dali::Toolkit::Button const *)arg1)->GetInitialAutoRepeatingDelay();
- } 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 float SWIGSTDCALL CSharp_Dali_Button_GetNextAutoRepeatingDelay(void * jarg1) {
- float jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- float result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = (float)((Dali::Toolkit::Button const *)arg1)->GetNextAutoRepeatingDelay();
- } 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 unsigned int SWIGSTDCALL CSharp_Dali_Button_IsTogglableButton(void * jarg1) {
- unsigned int jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- bool result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = (bool)((Dali::Toolkit::Button const *)arg1)->IsTogglableButton();
- } 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 unsigned int SWIGSTDCALL CSharp_Dali_Button_IsSelected(void * jarg1) {
- unsigned int jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- bool result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = (bool)((Dali::Toolkit::Button const *)arg1)->IsSelected();
- } 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 float SWIGSTDCALL CSharp_Dali_Button_GetAnimationTime(void * jarg1) {
- float jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- float result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = (float)((Dali::Toolkit::Button const *)arg1)->GetAnimationTime();
- } 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 char * SWIGSTDCALL CSharp_Dali_Button_GetLabelText(void * jarg1) {
- char * jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- std::string result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = ((Dali::Toolkit::Button const *)arg1)->GetLabelText();
- } 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 = SWIG_csharp_string_callback((&result)->c_str());
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Button_SetLabel(void * jarg1, void * jarg2) {
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
- }
- arg2 = *argp2;
- {
- try {
- (arg1)->SetLabel(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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Button_SetButtonImage(void * jarg1, void * jarg2) {
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- argp2 = (Dali::Image *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0);
- return ;
- }
- arg2 = *argp2;
- {
- try {
- (arg1)->SetButtonImage(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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Button_SetSelectedImage(void * jarg1, void * jarg2) {
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- argp2 = (Dali::Image *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0);
- return ;
- }
- arg2 = *argp2;
- {
- try {
- (arg1)->SetSelectedImage(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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_GetButtonImage(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- Dali::Actor result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = ((Dali::Toolkit::Button const *)arg1)->GetButtonImage();
- } 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 = new Dali::Actor((const Dali::Actor &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_GetSelectedImage(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- Dali::Actor result;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- {
- try {
- result = ((Dali::Toolkit::Button const *)arg1)->GetSelectedImage();
- } 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 = new Dali::Actor((const Dali::Actor &)result);
- return jresult;
-}
-
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_PressedSignal(void * jarg1) {
void * jresult ;
Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
return jresult;
}
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_ReleasedSignal(void * jarg1) {
void * jresult ;
Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_CheckBoxButton_New() {
- void * jresult ;
- Dali::Toolkit::CheckBoxButton result;
-
- {
- try {
- result = Dali::Toolkit::CheckBoxButton::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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = new Dali::Toolkit::CheckBoxButton((const Dali::Toolkit::CheckBoxButton &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_CheckBoxButton_DownCast(void * jarg1) {
- void * jresult ;
- Dali::BaseHandle arg1 ;
- Dali::BaseHandle *argp1 ;
- Dali::Toolkit::CheckBoxButton 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::CheckBoxButton::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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = new Dali::Toolkit::CheckBoxButton((const Dali::Toolkit::CheckBoxButton &)result);
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_UNSELECTED_ICON_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::PushButton::Property::UNSELECTED_ICON;
- jresult = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_SELECTED_ICON_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::PushButton::Property::SELECTED_ICON;
- jresult = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_ICON_ALIGNMENT_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::PushButton::Property::ICON_ALIGNMENT;
- jresult = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_LABEL_PADDING_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::PushButton::Property::LABEL_PADDING;
- jresult = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_ICON_PADDING_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::PushButton::Property::ICON_PADDING;
- jresult = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PushButton_Property() {
- void * jresult ;
- Dali::Toolkit::PushButton::Property *result = 0 ;
-
- {
- try {
- result = (Dali::Toolkit::PushButton::Property *)new Dali::Toolkit::PushButton::Property();
- } 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 = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_PushButton_Property(void * jarg1) {
- Dali::Toolkit::PushButton::Property *arg1 = (Dali::Toolkit::PushButton::Property *) 0 ;
-
- arg1 = (Dali::Toolkit::PushButton::Property *)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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PushButton__SWIG_0() {
- void * jresult ;
- Dali::Toolkit::PushButton *result = 0 ;
-
- {
- try {
- result = (Dali::Toolkit::PushButton *)new Dali::Toolkit::PushButton();
- } 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 = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PushButton__SWIG_1(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::PushButton *arg1 = 0 ;
- Dali::Toolkit::PushButton *result = 0 ;
-
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::PushButton const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (Dali::Toolkit::PushButton *)new Dali::Toolkit::PushButton((Dali::Toolkit::PushButton 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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_Assign(void * jarg1, void * jarg2) {
- void * jresult ;
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Toolkit::PushButton *arg2 = 0 ;
- Dali::Toolkit::PushButton *result = 0 ;
-
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- arg2 = (Dali::Toolkit::PushButton *)jarg2;
- if (!arg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::PushButton const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (Dali::Toolkit::PushButton *) &(arg1)->operator =((Dali::Toolkit::PushButton 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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
-
- jresult = (void *)result;
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_PushButton(void * jarg1) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
-
- arg1 = (Dali::Toolkit::PushButton *)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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
-
-}
-
-
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_New() {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_CheckBoxButton_New() {
void * jresult ;
- Dali::Toolkit::PushButton result;
+ Dali::Toolkit::CheckBoxButton result;
{
try {
- result = Dali::Toolkit::PushButton::New();
+ result = Dali::Toolkit::CheckBoxButton::New();
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result);
+ jresult = new Dali::Toolkit::CheckBoxButton((const Dali::Toolkit::CheckBoxButton &)result);
return jresult;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_DownCast(void * jarg1) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_CheckBoxButton_DownCast(void * jarg1) {
void * jresult ;
Dali::BaseHandle arg1 ;
Dali::BaseHandle *argp1 ;
- Dali::Toolkit::PushButton result;
+ Dali::Toolkit::CheckBoxButton result;
argp1 = (Dali::BaseHandle *)jarg1;
if (!argp1) {
arg1 = *argp1;
{
try {
- result = Dali::Toolkit::PushButton::DownCast(arg1);
+ result = Dali::Toolkit::CheckBoxButton::DownCast(arg1);
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result);
+ jresult = new Dali::Toolkit::CheckBoxButton((const Dali::Toolkit::CheckBoxButton &)result);
return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetButtonImage__SWIG_0_0(void * jarg1, void * jarg2) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_UNSELECTED_ICON_get() {
+ int jresult ;
+ int result;
+
+ result = (int)Dali::Toolkit::PushButton::Property::UNSELECTED_ICON;
+ jresult = (int)result;
+ return jresult;
+}
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Image *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0);
- return ;
- }
- arg2 = *argp2;
- {
- try {
- (arg1)->SetButtonImage(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 (Dali::DaliException e) {
- {
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
- };
- }
- }
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_SELECTED_ICON_get() {
+ int jresult ;
+ int result;
+
+ result = (int)Dali::Toolkit::PushButton::Property::SELECTED_ICON;
+ jresult = (int)result;
+ return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetButtonImage__SWIG_1(void * jarg1, void * jarg2) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_ICON_ALIGNMENT_get() {
+ int jresult ;
+ int result;
+
+ result = (int)Dali::Toolkit::PushButton::Property::ICON_ALIGNMENT;
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_LABEL_PADDING_get() {
+ int jresult ;
+ int result;
+
+ result = (int)Dali::Toolkit::PushButton::Property::LABEL_PADDING;
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PushButton_Property_ICON_PADDING_get() {
+ int jresult ;
+ int result;
+
+ result = (int)Dali::Toolkit::PushButton::Property::ICON_PADDING;
+ jresult = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PushButton_Property() {
+ void * jresult ;
+ Dali::Toolkit::PushButton::Property *result = 0 ;
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
- }
- arg2 = *argp2;
{
try {
- (arg1)->SetButtonImage(arg2);
+ result = (Dali::Toolkit::PushButton::Property *)new Dali::Toolkit::PushButton::Property();
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = (void *)result;
+ return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetBackgroundImage(void * jarg1, void * jarg2) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_PushButton_Property(void * jarg1) {
+ Dali::Toolkit::PushButton::Property *arg1 = (Dali::Toolkit::PushButton::Property *) 0 ;
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
- }
- arg2 = *argp2;
+ arg1 = (Dali::Toolkit::PushButton::Property *)jarg1;
{
try {
- (arg1)->SetBackgroundImage(arg2);
+ delete arg1;
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetSelectedImage__SWIG_0_0(void * jarg1, void * jarg2) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PushButton__SWIG_0() {
+ void * jresult ;
+ Dali::Toolkit::PushButton *result = 0 ;
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Image *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0);
- return ;
- }
- arg2 = *argp2;
{
try {
- (arg1)->SetSelectedImage(arg2);
+ result = (Dali::Toolkit::PushButton *)new Dali::Toolkit::PushButton();
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = (void *)result;
+ return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetSelectedImage__SWIG_1(void * jarg1, void * jarg2) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PushButton__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::PushButton *arg1 = 0 ;
+ Dali::Toolkit::PushButton *result = 0 ;
arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::PushButton const & type is null", 0);
+ return 0;
}
- arg2 = *argp2;
{
try {
- (arg1)->SetSelectedImage(arg2);
+ result = (Dali::Toolkit::PushButton *)new Dali::Toolkit::PushButton((Dali::Toolkit::PushButton const &)*arg1);
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = (void *)result;
+ return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetSelectedBackgroundImage(void * jarg1, void * jarg2) {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_Assign(void * jarg1, void * jarg2) {
+ void * jresult ;
Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
+ Dali::Toolkit::PushButton *arg2 = 0 ;
+ Dali::Toolkit::PushButton *result = 0 ;
arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
+ arg2 = (Dali::Toolkit::PushButton *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::PushButton const & type is null", 0);
+ return 0;
}
- arg2 = *argp2;
{
try {
- (arg1)->SetSelectedBackgroundImage(arg2);
+ result = (Dali::Toolkit::PushButton *) &(arg1)->operator =((Dali::Toolkit::PushButton const &)*arg2);
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = (void *)result;
+ return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetDisabledBackgroundImage(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_PushButton(void * jarg1) {
Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
- }
- arg2 = *argp2;
{
try {
- (arg1)->SetDisabledBackgroundImage(arg2);
+ delete arg1;
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetDisabledImage(void * jarg1, void * jarg2) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_New() {
+ void * jresult ;
+ Dali::Toolkit::PushButton result;
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
- }
- arg2 = *argp2;
{
try {
- (arg1)->SetDisabledImage(arg2);
+ result = Dali::Toolkit::PushButton::New();
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result);
+ return jresult;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_PushButton_SetDisabledSelectedImage(void * jarg1, void * jarg2) {
- Dali::Toolkit::PushButton *arg1 = (Dali::Toolkit::PushButton *) 0 ;
- Dali::Actor arg2 ;
- Dali::Actor *argp2 ;
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_PushButton_DownCast(void * jarg1) {
+ void * jresult ;
+ Dali::BaseHandle arg1 ;
+ Dali::BaseHandle *argp1 ;
+ Dali::Toolkit::PushButton result;
- arg1 = (Dali::Toolkit::PushButton *)jarg1;
- argp2 = (Dali::Actor *)jarg2;
- if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Actor", 0);
- return ;
+ argp1 = (Dali::BaseHandle *)jarg1;
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
+ return 0;
}
- arg2 = *argp2;
+ arg1 = *argp1;
{
try {
- (arg1)->SetDisabledSelectedImage(arg2);
+ result = Dali::Toolkit::PushButton::DownCast(arg1);
} catch (std::out_of_range& e) {
{
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ 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 ;
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
};
} catch (Dali::DaliException e) {
{
- SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
};
} catch (...) {
{
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
};
}
}
+ jresult = new Dali::Toolkit::PushButton((const Dali::Toolkit::PushButton &)result);
+ return jresult;
}
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_RadioButton__SWIG_0() {
void * jresult ;
Dali::Toolkit::RadioButton *result = 0 ;
return jresult;
}
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ImageView_Property_RESOURCE_URL_get() {
- int jresult ;
- int result;
-
- result = (int)Dali::Toolkit::ImageView::Property::RESOURCE_URL;
- jresult = (int)result;
- return jresult;
-}
-
-
SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ImageView_Property_IMAGE_get() {
int jresult ;
int result;
SWIGEXPORT void SWIGSTDCALL CSharp_Dali_GaussianBlurView_SetUserImageAndOutputRenderTarget(void * jarg1, void * jarg2, void * jarg3) {
Dali::Toolkit::GaussianBlurView *arg1 = (Dali::Toolkit::GaussianBlurView *) 0 ;
- Dali::Image arg2 ;
- Dali::FrameBufferImage arg3 ;
- Dali::Image *argp2 ;
- Dali::FrameBufferImage *argp3 ;
+ Dali::Texture arg2 ;
+ Dali::FrameBuffer arg3 ;
+ Dali::Texture *argp2 ;
+ Dali::FrameBuffer *argp3 ;
arg1 = (Dali::Toolkit::GaussianBlurView *)jarg1;
- argp2 = (Dali::Image *)jarg2;
+ argp2 = (Dali::Texture *)jarg2;
if (!argp2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Image", 0);
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Texture", 0);
return ;
}
arg2 = *argp2;
- argp3 = (Dali::FrameBufferImage *)jarg3;
+ argp3 = (Dali::FrameBuffer *)jarg3;
if (!argp3) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::FrameBufferImage", 0);
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::FrameBuffer", 0);
return ;
}
arg3 = *argp3;
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GaussianBlurView_GetBlurredRenderTarget(void * jarg1) {
void * jresult ;
Dali::Toolkit::GaussianBlurView *arg1 = (Dali::Toolkit::GaussianBlurView *) 0 ;
- Dali::FrameBufferImage result;
+ Dali::FrameBuffer result;
arg1 = (Dali::Toolkit::GaussianBlurView *)jarg1;
{
}
}
- jresult = new Dali::FrameBufferImage((const Dali::FrameBufferImage &)result);
+ jresult = new Dali::FrameBuffer((const Dali::FrameBuffer &)result);
return jresult;
}
}
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PageTurnView_Property_PAGE_SIZE_get() {
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_PageTurnView_Property_VIEW_PAGE_SIZE_get() {
int jresult ;
int result;
- result = (int)Dali::Toolkit::PageTurnView::Property::PAGE_SIZE;
+ result = (int)Dali::Toolkit::PageTurnView::Property::VIEW_PAGE_SIZE;
jresult = (int)result;
return jresult;
}
std::string jarg2_str = std::string(jarg2);
arg2 = &jarg2_str;
- void (*handler)(char*) = (void (*)(char*)) jarg3;
-
{
try {
- (arg1)->EvaluateJavaScript((std::string const &)*arg2, [handler](const std::string& result) {
- handler(SWIG_csharp_string_callback(result.c_str()));
- });
+ if (jarg3) {
+ void (*handler)(char*) = (void (*)(char*)) jarg3;
+ (arg1)->EvaluateJavaScript((std::string const &)*arg2, [handler](const std::string& result) {
+ handler(SWIG_csharp_string_callback(result.c_str()));
+ });
+ } else {
+ (arg1)->EvaluateJavaScript((std::string const &)*arg2);
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;