#define SWIG_DIRECTORS
-
#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
#include <string.h>
#include <stdio.h>
-
/* Support for throwing C# exceptions from C/C++. There are two types:
* Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */
typedef enum {
#include <dali-toolkit/dali-toolkit.h>
#include <dali/devel-api/actors/actor-devel.h>
+#include <dali/devel-api/common/stage-devel.h>
#include <dali/public-api/math/matrix.h>
#include <dali/public-api/math/matrix3.h>
#include <dali/devel-api/adaptor-framework/pixel-buffer.h>
#include <dali/devel-api/adaptor-framework/image-loading.h>
+#include <dali/public-api/events/mouse-button.h>
+
// add here SWIG version check
#if defined(_MSC_VER) // Microsoft Visual C++ 6.0
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TypeRegistry__SWIG_2(void * jarg1) {
- void * jresult ;
- Dali::Internal::TypeRegistry *arg1 = (Dali::Internal::TypeRegistry *) 0 ;
- Dali::TypeRegistry *result = 0 ;
-
- arg1 = (Dali::Internal::TypeRegistry *)jarg1;
- {
- try {
- result = (Dali::TypeRegistry *)new Dali::TypeRegistry(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_TypeRegistration__SWIG_0(void * jarg1, void * jarg2, void * jarg3) {
void * jresult ;
std::type_info *arg1 = 0 ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_Texture__SWIG_2(void * jarg1) {
- void * jresult ;
- Dali::Internal::Texture *arg1 = (Dali::Internal::Texture *) 0 ;
- Dali::Texture *result = 0 ;
-
- arg1 = (Dali::Internal::Texture *)jarg1;
- {
- try {
- result = (Dali::Texture *)new Dali::Texture(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_Sampler_New() {
void * jresult ;
Dali::Sampler result;
}
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Touch_GetMouseButton(void * jarg1, unsigned long jarg2) {
+ int jresult ;
+ Dali::TouchData *arg1 = (Dali::TouchData *) 0 ;
+ std::size_t arg2 ;
+ Dali::MouseButton::Type result;
+
+ arg1 = (Dali::TouchData *)jarg1;
+ arg2 = (std::size_t)jarg2;
+ {
+ try {
+ result = ((Dali::TouchData const *)arg1)->GetMouseButton(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 = static_cast< int >(result);
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_GestureDetector__SWIG_0() {
void * jresult ;
Dali::GestureDetector *result = 0 ;
}
-
SWIGEXPORT void SWIGSTDCALL CSharp_Dali_RaiseAbove(void * jarg1, void * jarg2) {
Dali::Actor arg1 ;
Dali::Actor arg2 ;
{
try {
result = (int)(arg1)->GetHierarchyDepth();
+ Dali::Actor parent = ((Dali::Actor const *)arg1)->GetParent();
+ if(parent)
+ {
+ const std::string parentName = parent.GetName();
+ if(parentName.compare("rootAbsoluteLayout") == 0)
+ {
+ result -= 1;
+ }
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
return jresult;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Stage_SetRenderingBehavior(void * jarg1, int jarg2) {
+ Dali::Stage *arg1 = (Dali::Stage *) 0 ;
+ Dali::DevelStage::Rendering arg2 ;
+
+ arg1 = (Dali::Stage *)jarg1;
+ arg2 = (Dali::DevelStage::Rendering)jarg2;
+ {
+ try {
+ DevelStage::SetRenderingBehavior(*arg1,arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Stage_GetRenderingBehavior(void * jarg1) {
+
+ int jresult ;
+ int result ;
+ Dali::Stage *arg1 = (Dali::Stage *) 0 ;
+
+ arg1 = (Dali::Stage *)jarg1;
+ {
+ try {
+ result = (int)(DevelStage::GetRenderingBehavior(*arg1));
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+
+ jresult = result;
+ return jresult;
+}
SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_RelayoutContainer(void * jarg1) {
Dali::RelayoutContainer *arg1 = (Dali::RelayoutContainer *) 0 ;
return jresult;
}
-
SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_TransitionData(void * jarg1) {
Dali::Toolkit::TransitionData *arg1 = (Dali::Toolkit::TransitionData *) 0 ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_TransitionData__SWIG_2(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Internal::TransitionData *arg1 = (Dali::Toolkit::Internal::TransitionData *) 0 ;
- Dali::Toolkit::TransitionData *result = 0 ;
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_CONTENT_get() {
+ int jresult ;
+ int result;
- arg1 = (Dali::Toolkit::Internal::TransitionData *)jarg1;
{
try {
- result = (Dali::Toolkit::TransitionData *)new Dali::Toolkit::TransitionData(arg1);
+ result = (int)Dali::Toolkit::Tooltip::Property::CONTENT;
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
}
- jresult = (void *)result;
+ jresult = (int)result;
return jresult;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_CONTENT_get() {
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_LAYOUT_get() {
int jresult ;
int result;
{
try {
- result = (int)Dali::Toolkit::Tooltip::Property::CONTENT;
- } 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 = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_LAYOUT_get() {
- int jresult ;
- int result;
-
- {
- try {
- result = (int)Dali::Toolkit::Tooltip::Property::LAYOUT;
- } 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 = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_WAIT_TIME_get() {
- int jresult ;
- int result;
-
- {
- try {
- result = (int)Dali::Toolkit::Tooltip::Property::WAIT_TIME;
- } 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 = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_BACKGROUND_get() {
- int jresult ;
- int result;
-
- {
- try {
- result = (int)Dali::Toolkit::Tooltip::Property::BACKGROUND;
- } 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 = (int)result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_TAIL_get() {
- int jresult ;
- int result;
-
- {
- try {
- result = (int)Dali::Toolkit::Tooltip::Property::TAIL;
+ result = (int)Dali::Toolkit::Tooltip::Property::LAYOUT;
+ } 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 = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_WAIT_TIME_get() {
+ int jresult ;
+ int result;
+
+ {
+ try {
+ result = (int)Dali::Toolkit::Tooltip::Property::WAIT_TIME;
+ } 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 = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_BACKGROUND_get() {
+ int jresult ;
+ int result;
+
+ {
+ try {
+ result = (int)Dali::Toolkit::Tooltip::Property::BACKGROUND;
+ } 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 = (int)result;
+ return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TOOLTIP_TAIL_get() {
+ int jresult ;
+ int result;
+
+ {
+ try {
+ result = (int)Dali::Toolkit::Tooltip::Property::TAIL;
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_AccessibilityActivate(void * jarg1) {
- Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
-
- arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- {
- try {
- (arg1)->AccessibilityActivate();
- } 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_KeyboardEnter(void * jarg1) {
- Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
-
- arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- {
- try {
- (arg1)->KeyboardEnter();
- } 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_KeyEventSignal(void * jarg1) {
void * jresult ;
Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
}
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_ViewImpl_EmitKeyEventSignal(void * jarg1, void * jarg2) {
- unsigned int jresult ;
- Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
- Dali::KeyEvent *arg2 = 0 ;
- bool result;
-
- arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
- arg2 = (Dali::KeyEvent *)jarg2;
- if (!arg2) {
- SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::KeyEvent const & type is null", 0);
- return 0;
- }
- {
- try {
- result = (bool)(arg1)->EmitKeyEventSignal((Dali::KeyEvent 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 = result;
- return jresult;
-}
-
-
SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewImpl_OnStageConnection(void * jarg1, int jarg2) {
Dali::Toolkit::Internal::Control *arg1 = (Dali::Toolkit::Internal::Control *) 0 ;
int arg2 ;
arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
arg2 = (int)jarg2;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
arg2 = (int)jarg2;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
return ;
}
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
return ;
}
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
return ;
}
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
return ;
}
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if(!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
if(darg) {
}
arg3 = *argp3;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if (!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
(darg)->OnPropertySet(arg2,arg3);
}
arg3 = *argp3;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
+ if (!darg) {
+ SWIG_CSharpException(SWIG_TypeError, "dynamic_cast<SwigDirector_ViewImpl> error. darg is null");
+ return;
+ }
{
try {
(darg)->OnPropertySetSwigPublic(arg2,arg3);
}
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetLayout__SWIG_0(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::Internal::Control *arg1 = 0 ;
+ Dali::Toolkit::LayoutItem result;
+
+ arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::Control & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = Dali::Toolkit::DevelControl::GetLayout(*arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::LayoutItem((const Dali::Toolkit::LayoutItem &)result);
+ return jresult;
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetLayout__SWIG_1(void * jarg1) {
+ void * jresult ;
+ Dali::Toolkit::Control arg1 ;
+ Dali::Toolkit::Control *argp1 ;
+ Dali::Toolkit::LayoutItem result;
+
+ argp1 = (Dali::Toolkit::Control *)jarg1;
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Control", 0);
+ return 0;
+ }
+ arg1 = *argp1;
+ {
+ try {
+ result = Dali::Toolkit::DevelControl::GetLayout(arg1);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+ jresult = new Dali::Toolkit::LayoutItem((const Dali::Toolkit::LayoutItem &)result);
+ return jresult;
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetLayout__SWIG_0(void * jarg1, void * jarg2) {
+ Dali::Toolkit::Internal::Control *arg1 = 0 ;
+ Dali::Toolkit::LayoutItem arg2 ;
+ Dali::Toolkit::LayoutItem *argp2 ;
+
+ arg1 = (Dali::Toolkit::Internal::Control *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::Control & type is null", 0);
+ return ;
+ }
+ argp2 = (Dali::Toolkit::LayoutItem *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutItem", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ {
+ try {
+ Dali::Toolkit::DevelControl::SetLayout(*arg1,arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetLayout__SWIG_1(void * jarg1, void * jarg2) {
+ Dali::Toolkit::Control arg1 ;
+ Dali::Toolkit::LayoutItem arg2 ;
+ Dali::Toolkit::Control *argp1 ;
+ Dali::Toolkit::LayoutItem *argp2 ;
+
+ argp1 = (Dali::Toolkit::Control *)jarg1;
+ if (!argp1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::Control", 0);
+ return ;
+ }
+ arg1 = *argp1;
+ argp2 = (Dali::Toolkit::LayoutItem *)jarg2;
+ if (!argp2) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Toolkit::LayoutItem", 0);
+ return ;
+ }
+ arg2 = *argp2;
+ {
+ try {
+ Dali::Toolkit::DevelControl::SetLayout(arg1,arg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SetLayoutingRequired(void * jarg1, bool jarg2) {
+ Dali::Toolkit::Control *arg1 = 0 ;
+
+ arg1 = (Dali::Toolkit::Control *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::Control & type is null", 0);
+ return ;
+ }
+
+ {
+ try {
+ Dali::Toolkit::DevelControl::SetLayoutingRequired(*arg1,jarg2);
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+ };
+ }
+ }
+}
+
+SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_View_IsLayoutingRequired(void * jarg1) {
+ unsigned int jresult ;
+ Dali::Toolkit::Control *arg1 = 0 ;
+ bool result;
+
+ arg1 = (Dali::Toolkit::Control *)jarg1;
+ if (!arg1) {
+ SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control const & type is null", 0);
+ return 0;
+ }
+ {
+ try {
+ result = (bool)DevelControl::IsLayoutingRequired( *arg1 );
+ } catch (std::out_of_range& e) {
+ {
+ SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (std::exception& e) {
+ {
+ SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+ };
+ } catch (Dali::DaliException e) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+ };
+ } catch (...) {
+ {
+ SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+ };
+ }
+ }
+
+ jresult = result;
+ return jresult;
+}
+
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ResourceReadySignal(void * jarg1) {
void * jresult ;
Dali::Toolkit::Control *arg1 = 0 ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_VisualBase__SWIG_2(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Internal::Visual::Base *arg1 = (Dali::Toolkit::Internal::Visual::Base *) 0 ;
- Dali::Toolkit::Visual::Base *result = 0 ;
-
- arg1 = (Dali::Toolkit::Internal::Visual::Base *)jarg1;
- {
- try {
- result = (Dali::Toolkit::Visual::Base *)new Dali::Toolkit::Visual::Base(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_VisualFactory_Get() {
void * jresult ;
Dali::Toolkit::VisualFactory result;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_AsyncImageLoader__SWIG_2(void * jarg1) {
- void * jresult ;
- Dali::Toolkit::Internal::AsyncImageLoader *arg1 = (Dali::Toolkit::Internal::AsyncImageLoader *) 0 ;
- Dali::Toolkit::AsyncImageLoader *result = 0 ;
-
- arg1 = (Dali::Toolkit::Internal::AsyncImageLoader *)jarg1;
- {
- try {
- result = (Dali::Toolkit::AsyncImageLoader *)new Dali::Toolkit::AsyncImageLoader(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_LoadImageSynchronously__SWIG_0(char * jarg1) {
void * jresult ;
std::string *arg1 = 0 ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_PixelBuffer__SWIG_2(void * jarg1) {
- void * jresult ;
- Dali::Internal::Adaptor::PixelBuffer *arg1 = (Dali::Internal::Adaptor::PixelBuffer *) 0 ;
- Dali::Devel::PixelBuffer *result = 0 ;
-
- arg1 = (Dali::Internal::Adaptor::PixelBuffer *)jarg1;
- {
- try {
- result = (Dali::Devel::PixelBuffer *)new Dali::Devel::PixelBuffer(arg1);
- } catch (std::out_of_range& e) {
- {
- SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
- };
- } catch (std::exception& e) {
- {
- SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
- };
- } catch (...) {
- {
- SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
- };
- }
- }
- jresult = (void *)result;
- return jresult;
-}
-
-
SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_LoadImageFromFile__SWIG_0(char * jarg1, void * jarg2, int jarg3, int jarg4, unsigned int jarg5) {
void * jresult ;
std::string *arg1 = 0 ;