-
-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;
-}
-
-