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_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) {
- Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
-
- arg1 = (Dali::Toolkit::Internal::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);
- } 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_SetBackground(void * jarg1, void * jarg2) {
Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
Dali::Property::Map *arg2 = 0 ;
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_GetBackgroundColor(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- Dali::Vector4 result;
-
- arg1 = (Dali::Toolkit::Control *)jarg1;
- {
- try {
- result = ((Dali::Toolkit::Control const *)arg1)->GetBackgroundColor();
- } 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::Vector4((const Dali::Vector4 &)result);
- return jresult;
-}
-
-
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_View_SetBackgroundImage(void * jarg1, void * jarg2) {
- Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 0 ;
- Dali::Image arg2 ;
- Dali::Image *argp2 ;
-
- 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);
- } 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_ClearBackground(void * jarg1) {
Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *) 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;
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_Button_Property(void * jarg1) {
+ Dali::Toolkit::Button::Property *arg1 = (Dali::Toolkit::Button::Property *) 0 ;
- result = (int)Dali::Toolkit::Button::Property::LABEL;
- 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 ;
+ };
+ }
+ }
+
+}
+
+
+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();
+ } 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_Button_Property_LABEL_TEXT_get() {
- int jresult ;
- int result;
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Button__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::Button *arg1 = 0 ;
+ Dali::Toolkit::Button *result = 0 ;
- result = (int)Dali::Toolkit::Button::Property::LABEL_TEXT;
- jresult = (int)result;
+ arg1 = (Dali::Toolkit::Button *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Button const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button((Dali::Toolkit::Button 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_new_Button_Property() {
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Button_Assign(void * jarg1, void * jarg2) {
void * jresult ;
- Dali::Toolkit::Button::Property *result = 0 ;
+ Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
+ Dali::Toolkit::Button *arg2 = 0 ;
+ Dali::Toolkit::Button *result = 0 ;
+ arg1 = (Dali::Toolkit::Button *)jarg1;
+ arg2 = (Dali::Toolkit::Button *)jarg2;
+ if (!arg2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Button const & type is null", 0);
+ return 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();
- } 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_Button__SWIG_1(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Button *arg1 = 0 ;
- Dali::Toolkit::Button *result = 0 ;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- if (!arg1) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Button const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (Dali::Toolkit::Button *)new Dali::Toolkit::Button((Dali::Toolkit::Button 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_Button_Assign(void * jarg1, void * jarg2) {
- void * jresult ;
- Dali::Toolkit::Button *arg1 = (Dali::Toolkit::Button *) 0 ;
- Dali::Toolkit::Button *arg2 = 0 ;
- Dali::Toolkit::Button *result = 0 ;
-
- arg1 = (Dali::Toolkit::Button *)jarg1;
- arg2 = (Dali::Toolkit::Button *)jarg2;
- if (!arg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Button const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (Dali::Toolkit::Button *) &(arg1)->operator =((Dali::Toolkit::Button const &)*arg2);
+ result = (Dali::Toolkit::Button *) &(arg1)->operator =((Dali::Toolkit::Button const &)*arg2);
} 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;
- 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 ;
- };
- }
- }
+ 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 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;