2 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include "view-wrapper-impl-wrap.h"
22 #include <dali-toolkit/devel-api/visual-factory/visual-base.h>
28 SwigDirector_ViewWrapperImpl::SwigDirector_ViewWrapperImpl(Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour behaviourFlags) : Dali::Toolkit::Internal::ControlWrapper(behaviourFlags) {
29 swig_init_callbacks();
32 SwigDirector_ViewWrapperImpl::~SwigDirector_ViewWrapperImpl() {
37 void SwigDirector_ViewWrapperImpl::OnStageConnection(int depth) {
38 swig_callbackOnStageConnection(depth);
40 Dali::Toolkit::Internal::Control::OnStageConnection(depth);
43 void SwigDirector_ViewWrapperImpl::OnStageDisconnection() {
44 swig_callbackOnStageDisconnection();
46 Dali::Toolkit::Internal::Control::OnStageDisconnection();
49 void SwigDirector_ViewWrapperImpl::OnChildAdd(Dali::Actor &child) {
50 void * jchild = (Dali::Actor *) &child;
51 swig_callbackOnChildAdd(jchild);
53 Dali::Toolkit::Internal::Control::OnChildAdd( child );
56 void SwigDirector_ViewWrapperImpl::OnChildRemove(Dali::Actor &child) {
57 void * jchild = (Dali::Actor *) &child;
58 swig_callbackOnChildRemove(jchild);
60 Dali::Toolkit::Internal::Control::OnChildRemove( child );
63 void SwigDirector_ViewWrapperImpl::OnPropertySet(Dali::Property::Index index, Dali::Property::Value propertyValue) {
65 void * jpropertyValue ;
68 jpropertyValue = (void *)new Dali::Property::Value((const Dali::Property::Value &)propertyValue);
69 swig_callbackOnPropertySet(jindex, jpropertyValue);
71 Dali::Toolkit::Internal::ControlWrapper::OnPropertySet(index,propertyValue);
74 void SwigDirector_ViewWrapperImpl::OnSizeSet(Dali::Vector3 const &targetSize) {
75 swig_callbackOnSizeSet((Dali::Vector3 *) &targetSize);
77 Dali::Toolkit::Internal::Control::OnSizeSet(targetSize);
80 void SwigDirector_ViewWrapperImpl::OnSizeAnimation(Dali::Animation &animation, Dali::Vector3 const &targetSize) {
81 swig_callbackOnSizeAnimation(&animation, (Dali::Vector3 *) &targetSize);
83 Dali::Toolkit::Internal::Control::OnSizeAnimation(animation,targetSize);
86 bool SwigDirector_ViewWrapperImpl::OnTouchEvent(Dali::TouchEvent const &event) {
87 bool c_result = SwigValueInit< bool >() ;
88 unsigned int jresult = 0 ;
91 if (!swig_callbackOnTouchEvent) {
92 return Dali::Toolkit::Internal::Control::OnTouchEvent(event);
94 jarg0 = (Dali::TouchEvent *) &event;
95 jresult = (unsigned int) swig_callbackOnTouchEvent(jarg0);
96 c_result = jresult ? true : false;
101 bool SwigDirector_ViewWrapperImpl::OnHoverEvent(Dali::HoverEvent const &event) {
102 bool c_result = SwigValueInit< bool >() ;
103 unsigned int jresult = 0 ;
106 if (!swig_callbackOnHoverEvent) {
107 return Dali::Toolkit::Internal::Control::OnHoverEvent(event);
109 jarg0 = (Dali::HoverEvent *) &event;
110 jresult = (unsigned int) swig_callbackOnHoverEvent(jarg0);
111 c_result = jresult ? true : false;
116 bool SwigDirector_ViewWrapperImpl::OnKeyEvent(Dali::KeyEvent const &event) {
117 bool c_result = SwigValueInit< bool >() ;
118 unsigned int jresult = 0 ;
121 if (!swig_callbackOnKeyEvent) {
122 return Dali::Toolkit::Internal::Control::OnKeyEvent(event);
124 jarg0 = (Dali::KeyEvent *) &event;
125 jresult = (unsigned int) swig_callbackOnKeyEvent(jarg0);
126 c_result = jresult ? true : false;
131 bool SwigDirector_ViewWrapperImpl::OnWheelEvent(Dali::WheelEvent const &event) {
132 bool c_result = SwigValueInit< bool >() ;
133 unsigned int jresult = 0 ;
136 if (!swig_callbackOnWheelEvent) {
137 return Dali::Toolkit::Internal::Control::OnWheelEvent(event);
139 jarg0 = (Dali::WheelEvent *) &event;
140 jresult = (unsigned int) swig_callbackOnWheelEvent(jarg0);
141 c_result = jresult ? true : false;
146 void SwigDirector_ViewWrapperImpl::OnRelayout(Dali::Vector2 const &size, Dali::RelayoutContainer &container) {
148 void * jcontainer = 0 ;
150 jsize = (Dali::Vector2 *) &size;
151 jcontainer = (Dali::RelayoutContainer *) &container;
152 swig_callbackOnRelayout(jsize, jcontainer);
154 Dali::Toolkit::Internal::Control::OnRelayout(size,container);
157 void SwigDirector_ViewWrapperImpl::OnSetResizePolicy(Dali::ResizePolicy::Type policy, Dali::Dimension::Type dimension) {
161 jpolicy = (int)policy;
162 jdimension = (int)dimension;
163 swig_callbackOnSetResizePolicy(jpolicy, jdimension);
165 Dali::Toolkit::Internal::Control::OnSetResizePolicy(policy,dimension);
168 Dali::Vector3 SwigDirector_ViewWrapperImpl::GetNaturalSize() {
169 Dali::Vector3 c_result ;
172 if (!swig_callbackGetNaturalSize) {
173 return Dali::Toolkit::Internal::Control::GetNaturalSize();
175 jresult = (void *) swig_callbackGetNaturalSize();
177 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Vector3", 0);
180 c_result = *(Dali::Vector3 *)jresult;
185 float SwigDirector_ViewWrapperImpl::CalculateChildSize(Dali::Actor const &child, Dali::Dimension::Type dimension) {
186 float c_result = SwigValueInit< float >() ;
191 if (!swig_callbackCalculateChildSize) {
192 return Dali::Toolkit::Internal::Control::CalculateChildSize(child,dimension);
194 jchild = (Dali::Actor *) &child;
195 jdimension = (int)dimension;
196 jresult = (float) swig_callbackCalculateChildSize(jchild, jdimension);
197 c_result = (float)jresult;
202 float SwigDirector_ViewWrapperImpl::GetHeightForWidth(float width) {
203 float c_result = SwigValueInit< float >() ;
207 if (!swig_callbackGetHeightForWidth) {
208 return Dali::Toolkit::Internal::Control::GetHeightForWidth(width);
211 jresult = (float) swig_callbackGetHeightForWidth(jwidth);
212 c_result = (float)jresult;
217 float SwigDirector_ViewWrapperImpl::GetWidthForHeight(float height) {
218 float c_result = SwigValueInit< float >() ;
222 if (!swig_callbackGetWidthForHeight) {
223 return Dali::Toolkit::Internal::Control::GetWidthForHeight(height);
226 jresult = (float) swig_callbackGetWidthForHeight(jheight);
227 c_result = (float)jresult;
232 bool SwigDirector_ViewWrapperImpl::RelayoutDependentOnChildren(Dali::Dimension::Type dimension) {
233 bool c_result = SwigValueInit< bool >() ;
234 unsigned int jresult = 0 ;
237 if (!swig_callbackRelayoutDependentOnChildren__SWIG_0) {
238 return Dali::Toolkit::Internal::Control::RelayoutDependentOnChildren(dimension);
240 jdimension = (int)dimension;
241 jresult = (unsigned int) swig_callbackRelayoutDependentOnChildren__SWIG_0(jdimension);
242 c_result = jresult ? true : false;
247 void SwigDirector_ViewWrapperImpl::OnCalculateRelayoutSize(Dali::Dimension::Type dimension) {
250 jdimension = (int)dimension;
251 swig_callbackOnCalculateRelayoutSize(jdimension);
253 Dali::Toolkit::Internal::Control::OnCalculateRelayoutSize(dimension);
256 void SwigDirector_ViewWrapperImpl::OnLayoutNegotiated(float size, Dali::Dimension::Type dimension) {
261 jdimension = (int)dimension;
262 swig_callbackOnLayoutNegotiated(jsize, jdimension);
264 Dali::Toolkit::Internal::Control::OnLayoutNegotiated(size,dimension);
267 void SwigDirector_ViewWrapperImpl::OnInitialize() {
268 swig_callbackOnInitialize();
270 Dali::Toolkit::Internal::Control::OnInitialize();
273 void SwigDirector_ViewWrapperImpl::OnControlChildAdd(Dali::Actor &child) {
274 swig_callbackOnControlChildAdd(&child);
276 Dali::Toolkit::Internal::Control::OnControlChildAdd(child);
279 void SwigDirector_ViewWrapperImpl::OnControlChildRemove(Dali::Actor &child) {
280 swig_callbackOnControlChildRemove(&child);
282 Dali::Toolkit::Internal::Control::OnControlChildRemove(child);
285 void SwigDirector_ViewWrapperImpl::OnStyleChange(Dali::Toolkit::StyleManager styleManager, Dali::StyleChange::Type change) {
286 void * jstyleManager ;
289 jstyleManager = (void *)new Dali::Toolkit::StyleManager((const Dali::Toolkit::StyleManager &)styleManager);
290 jchange = (int)change;
291 swig_callbackOnStyleChange(jstyleManager, jchange);
293 Dali::Toolkit::Internal::Control::OnStyleChange(styleManager,change);
296 bool SwigDirector_ViewWrapperImpl::OnAccessibilityActivated() {
297 bool c_result = SwigValueInit< bool >() ;
298 unsigned int jresult = 0 ;
300 if (!swig_callbackOnAccessibilityActivated) {
301 return Dali::Toolkit::Internal::Control::OnAccessibilityActivated();
303 jresult = (unsigned int) swig_callbackOnAccessibilityActivated();
304 c_result = jresult ? true : false;
309 bool SwigDirector_ViewWrapperImpl::OnAccessibilityPan(Dali::PanGesture gesture) {
310 bool c_result = SwigValueInit< bool >() ;
311 unsigned int jresult = 0 ;
314 if (!swig_callbackOnAccessibilityPan) {
315 return Dali::Toolkit::Internal::Control::OnAccessibilityPan(gesture);
317 jgesture = (void *)new Dali::PanGesture((const Dali::PanGesture &)gesture);
318 jresult = (unsigned int) swig_callbackOnAccessibilityPan(jgesture);
319 c_result = jresult ? true : false;
324 bool SwigDirector_ViewWrapperImpl::OnAccessibilityTouch(Dali::TouchEvent const &touchEvent) {
325 bool c_result = SwigValueInit< bool >() ;
326 unsigned int jresult = 0 ;
327 void * jtouchEvent = 0 ;
329 if (!swig_callbackOnAccessibilityTouch) {
330 return Dali::Toolkit::Internal::Control::OnAccessibilityTouch(touchEvent);
332 jtouchEvent = (Dali::TouchEvent *) &touchEvent;
333 jresult = (unsigned int) swig_callbackOnAccessibilityTouch(jtouchEvent);
334 c_result = jresult ? true : false;
339 bool SwigDirector_ViewWrapperImpl::OnAccessibilityValueChange(bool isIncrease) {
340 bool c_result = SwigValueInit< bool >() ;
341 unsigned int jresult = 0 ;
342 unsigned int jisIncrease ;
344 if (!swig_callbackOnAccessibilityValueChange) {
345 return Dali::Toolkit::Internal::Control::OnAccessibilityValueChange(isIncrease);
347 jisIncrease = isIncrease;
348 jresult = (unsigned int) swig_callbackOnAccessibilityValueChange(jisIncrease);
349 c_result = jresult ? true : false;
354 bool SwigDirector_ViewWrapperImpl::OnAccessibilityZoom() {
355 bool c_result = SwigValueInit< bool >() ;
356 unsigned int jresult = 0 ;
358 if (!swig_callbackOnAccessibilityZoom) {
359 return Dali::Toolkit::Internal::Control::OnAccessibilityZoom();
361 jresult = (unsigned int) swig_callbackOnAccessibilityZoom();
362 c_result = jresult ? true : false;
367 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusGained() {
368 swig_callbackOnKeyInputFocusGained();
370 Dali::Toolkit::Internal::Control::OnKeyInputFocusGained();
373 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusLost() {
374 swig_callbackOnKeyInputFocusLost();
376 Dali::Toolkit::Internal::Control::OnKeyInputFocusLost();
379 Dali::Actor SwigDirector_ViewWrapperImpl::GetNextKeyboardFocusableActor(Dali::Actor currentFocusedActor, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) {
380 Dali::Actor c_result ;
382 void * jcurrentFocusedActor ;
384 unsigned int jloopEnabled ;
386 if (!swig_callbackGetNextKeyboardFocusableActor) {
387 return Dali::Toolkit::Internal::Control::GetNextKeyboardFocusableActor(currentFocusedActor,direction,loopEnabled);
389 jcurrentFocusedActor = (void *)new Dali::Actor((const Dali::Actor &)currentFocusedActor);
390 jdirection = (int)direction;
391 jloopEnabled = loopEnabled;
392 jresult = (void *) swig_callbackGetNextKeyboardFocusableActor(jcurrentFocusedActor, jdirection, jloopEnabled);
394 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Actor", 0);
397 c_result = *(Dali::Actor *)jresult;
402 void SwigDirector_ViewWrapperImpl::OnKeyboardFocusChangeCommitted(Dali::Actor commitedFocusableActor) {
403 void * jcommitedFocusableActor ;
404 jcommitedFocusableActor = (void *)new Dali::Actor((const Dali::Actor &)commitedFocusableActor);
405 swig_callbackOnKeyboardFocusChangeCommitted(jcommitedFocusableActor);
407 Dali::Toolkit::Internal::Control::OnKeyboardFocusChangeCommitted(commitedFocusableActor);
410 bool SwigDirector_ViewWrapperImpl::OnKeyboardEnter() {
411 bool c_result = SwigValueInit< bool >() ;
412 unsigned int jresult = 0 ;
414 if (!swig_callbackOnKeyboardEnter) {
415 return Dali::Toolkit::Internal::Control::OnKeyboardEnter();
417 jresult = (unsigned int) swig_callbackOnKeyboardEnter();
418 c_result = jresult ? true : false;
423 void SwigDirector_ViewWrapperImpl::OnPinch(Dali::PinchGesture const &pinch) {
425 jpinch = (Dali::PinchGesture *) &pinch;
426 swig_callbackOnPinch(jpinch);
428 Dali::Toolkit::Internal::Control::OnPinch(pinch);
431 void SwigDirector_ViewWrapperImpl::OnPan(Dali::PanGesture const &pan) {
433 jpan = (Dali::PanGesture *) &pan;
434 swig_callbackOnPan(jpan);
436 Dali::Toolkit::Internal::Control::OnPan(pan);
439 void SwigDirector_ViewWrapperImpl::OnTap(Dali::TapGesture const &tap) {
441 jtap = (Dali::TapGesture *) &tap;
442 swig_callbackOnTap(jtap);
444 Dali::Toolkit::Internal::Control::OnTap(tap);
447 void SwigDirector_ViewWrapperImpl::OnLongPress(Dali::LongPressGesture const &longPress) {
448 void * jlongPress = 0 ;
450 jlongPress = (Dali::LongPressGesture *) &longPress;
451 swig_callbackOnLongPress(jlongPress);
453 Dali::Toolkit::Internal::Control::OnLongPress(longPress);
456 Dali::Toolkit::Internal::Control::Extension *SwigDirector_ViewWrapperImpl::GetControlExtension() {
457 return Dali::Toolkit::Internal::Control::GetControlExtension();
460 void SwigDirector_ViewWrapperImpl::swig_connect_director(SWIG_Callback0_t callbackOnStageConnection, SWIG_Callback1_t callbackOnStageDisconnection, SWIG_Callback2_t callbackOnChildAdd, SWIG_Callback3_t callbackOnChildRemove, SWIG_Callback4_t callbackOnPropertySet, SWIG_Callback5_t callbackOnSizeSet, SWIG_Callback6_t callbackOnSizeAnimation, SWIG_Callback7_t callbackOnTouchEvent, SWIG_Callback8_t callbackOnHoverEvent, SWIG_Callback9_t callbackOnKeyEvent, SWIG_Callback10_t callbackOnWheelEvent, SWIG_Callback11_t callbackOnRelayout, SWIG_Callback12_t callbackOnSetResizePolicy, SWIG_Callback13_t callbackGetNaturalSize, SWIG_Callback14_t callbackCalculateChildSize, SWIG_Callback15_t callbackGetHeightForWidth, SWIG_Callback16_t callbackGetWidthForHeight, SWIG_Callback17_t callbackRelayoutDependentOnChildren__SWIG_0, SWIG_Callback18_t callbackRelayoutDependentOnChildren__SWIG_1, SWIG_Callback19_t callbackOnCalculateRelayoutSize, SWIG_Callback20_t callbackOnLayoutNegotiated, SWIG_Callback21_t callbackOnInitialize, SWIG_Callback22_t callbackOnControlChildAdd, SWIG_Callback23_t callbackOnControlChildRemove, SWIG_Callback24_t callbackOnStyleChange, SWIG_Callback25_t callbackOnAccessibilityActivated, SWIG_Callback26_t callbackOnAccessibilityPan, SWIG_Callback27_t callbackOnAccessibilityTouch, SWIG_Callback28_t callbackOnAccessibilityValueChange, SWIG_Callback29_t callbackOnAccessibilityZoom, SWIG_Callback30_t callbackOnKeyInputFocusGained, SWIG_Callback31_t callbackOnKeyInputFocusLost, SWIG_Callback32_t callbackGetNextKeyboardFocusableActor, SWIG_Callback33_t callbackOnKeyboardFocusChangeCommitted, SWIG_Callback34_t callbackOnKeyboardEnter, SWIG_Callback35_t callbackOnPinch, SWIG_Callback36_t callbackOnPan, SWIG_Callback37_t callbackOnTap, SWIG_Callback38_t callbackOnLongPress, SWIG_Callback39_t callbackSignalConnected, SWIG_Callback40_t callbackSignalDisconnected) {
461 swig_callbackOnStageConnection = callbackOnStageConnection;
462 swig_callbackOnStageDisconnection = callbackOnStageDisconnection;
463 swig_callbackOnChildAdd = callbackOnChildAdd;
464 swig_callbackOnChildRemove = callbackOnChildRemove;
465 swig_callbackOnPropertySet = callbackOnPropertySet;
466 swig_callbackOnSizeSet = callbackOnSizeSet;
467 swig_callbackOnSizeAnimation = callbackOnSizeAnimation;
468 swig_callbackOnTouchEvent = callbackOnTouchEvent;
469 swig_callbackOnHoverEvent = callbackOnHoverEvent;
470 swig_callbackOnKeyEvent = callbackOnKeyEvent;
471 swig_callbackOnWheelEvent = callbackOnWheelEvent;
472 swig_callbackOnRelayout = callbackOnRelayout;
473 swig_callbackOnSetResizePolicy = callbackOnSetResizePolicy;
474 swig_callbackGetNaturalSize = callbackGetNaturalSize;
475 swig_callbackCalculateChildSize = callbackCalculateChildSize;
476 swig_callbackGetHeightForWidth = callbackGetHeightForWidth;
477 swig_callbackGetWidthForHeight = callbackGetWidthForHeight;
478 swig_callbackRelayoutDependentOnChildren__SWIG_0 = callbackRelayoutDependentOnChildren__SWIG_0;
479 swig_callbackRelayoutDependentOnChildren__SWIG_1 = callbackRelayoutDependentOnChildren__SWIG_1;
480 swig_callbackOnCalculateRelayoutSize = callbackOnCalculateRelayoutSize;
481 swig_callbackOnLayoutNegotiated = callbackOnLayoutNegotiated;
482 swig_callbackOnInitialize = callbackOnInitialize;
483 swig_callbackOnControlChildAdd = callbackOnControlChildAdd;
484 swig_callbackOnControlChildRemove = callbackOnControlChildRemove;
485 swig_callbackOnStyleChange = callbackOnStyleChange;
486 swig_callbackOnAccessibilityActivated = callbackOnAccessibilityActivated;
487 swig_callbackOnAccessibilityPan = callbackOnAccessibilityPan;
488 swig_callbackOnAccessibilityTouch = callbackOnAccessibilityTouch;
489 swig_callbackOnAccessibilityValueChange = callbackOnAccessibilityValueChange;
490 swig_callbackOnAccessibilityZoom = callbackOnAccessibilityZoom;
491 swig_callbackOnKeyInputFocusGained = callbackOnKeyInputFocusGained;
492 swig_callbackOnKeyInputFocusLost = callbackOnKeyInputFocusLost;
493 swig_callbackGetNextKeyboardFocusableActor = callbackGetNextKeyboardFocusableActor;
494 swig_callbackOnKeyboardFocusChangeCommitted = callbackOnKeyboardFocusChangeCommitted;
495 swig_callbackOnKeyboardEnter = callbackOnKeyboardEnter;
496 swig_callbackOnPinch = callbackOnPinch;
497 swig_callbackOnPan = callbackOnPan;
498 swig_callbackOnTap = callbackOnTap;
499 swig_callbackOnLongPress = callbackOnLongPress;
500 swig_callbackSignalConnected = callbackSignalConnected;
501 swig_callbackSignalDisconnected = callbackSignalDisconnected;
504 void SwigDirector_ViewWrapperImpl::swig_init_callbacks() {
505 swig_callbackOnStageConnection = 0;
506 swig_callbackOnStageDisconnection = 0;
507 swig_callbackOnChildAdd = 0;
508 swig_callbackOnChildRemove = 0;
509 swig_callbackOnPropertySet = 0;
510 swig_callbackOnSizeSet = 0;
511 swig_callbackOnSizeAnimation = 0;
512 swig_callbackOnTouchEvent = 0;
513 swig_callbackOnHoverEvent = 0;
514 swig_callbackOnKeyEvent = 0;
515 swig_callbackOnWheelEvent = 0;
516 swig_callbackOnRelayout = 0;
517 swig_callbackOnSetResizePolicy = 0;
518 swig_callbackGetNaturalSize = 0;
519 swig_callbackCalculateChildSize = 0;
520 swig_callbackGetHeightForWidth = 0;
521 swig_callbackGetWidthForHeight = 0;
522 swig_callbackRelayoutDependentOnChildren__SWIG_0 = 0;
523 swig_callbackRelayoutDependentOnChildren__SWIG_1 = 0;
524 swig_callbackOnCalculateRelayoutSize = 0;
525 swig_callbackOnLayoutNegotiated = 0;
526 swig_callbackOnInitialize = 0;
527 swig_callbackOnControlChildAdd = 0;
528 swig_callbackOnControlChildRemove = 0;
529 swig_callbackOnStyleChange = 0;
530 swig_callbackOnAccessibilityActivated = 0;
531 swig_callbackOnAccessibilityPan = 0;
532 swig_callbackOnAccessibilityTouch = 0;
533 swig_callbackOnAccessibilityValueChange = 0;
534 swig_callbackOnAccessibilityZoom = 0;
535 swig_callbackOnKeyInputFocusGained = 0;
536 swig_callbackOnKeyInputFocusLost = 0;
537 swig_callbackGetNextKeyboardFocusableActor = 0;
538 swig_callbackOnKeyboardFocusChangeCommitted = 0;
539 swig_callbackOnKeyboardEnter = 0;
540 swig_callbackOnPinch = 0;
541 swig_callbackOnPan = 0;
542 swig_callbackOnTap = 0;
543 swig_callbackOnLongPress = 0;
544 swig_callbackSignalConnected = 0;
545 swig_callbackSignalDisconnected = 0;
548 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_CONTROL_BEHAVIOUR_FLAG_COUNT_get() {
552 result = (int)Dali::Toolkit::Internal::ControlWrapper::CONTROL_BEHAVIOUR_FLAG_COUNT;
558 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapperImpl(int jarg1) {
560 Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour arg1 ;
561 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
563 arg1 = (Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour)jarg1;
566 result = (Dali::Toolkit::Internal::ControlWrapper *)new SwigDirector_ViewWrapperImpl(arg1);
567 } catch (std::out_of_range& e) {
569 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
571 } catch (std::exception& e) {
573 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
575 } catch (Dali::DaliException e) {
577 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
581 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
586 jresult = (void *)result;
591 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_New(char * jarg1, void * jarg2) {
594 Dali::Toolkit::Internal::ControlWrapper *arg2 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
595 Dali::Toolkit::ControlWrapper result;
598 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
601 (&arg1)->assign(jarg1);
602 arg2 = (Dali::Toolkit::Internal::ControlWrapper *)jarg2;
605 result = Dali::Toolkit::Internal::ControlWrapper::New(arg1,arg2);
606 } catch (std::out_of_range& e) {
608 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
610 } catch (std::exception& e) {
612 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
614 } catch (Dali::DaliException e) {
616 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
620 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
625 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
630 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapperImpl(void * jarg1) {
631 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
633 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
640 } catch (std::out_of_range& e) {
642 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
644 } catch (std::exception& e) {
646 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
648 } catch (Dali::DaliException e) {
650 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
654 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
662 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_director_connect(void *objarg, SwigDirector_ViewWrapperImpl::SWIG_Callback0_t callback0, SwigDirector_ViewWrapperImpl::SWIG_Callback1_t callback1, SwigDirector_ViewWrapperImpl::SWIG_Callback2_t callback2, SwigDirector_ViewWrapperImpl::SWIG_Callback3_t callback3, SwigDirector_ViewWrapperImpl::SWIG_Callback4_t callback4, SwigDirector_ViewWrapperImpl::SWIG_Callback5_t callback5, SwigDirector_ViewWrapperImpl::SWIG_Callback6_t callback6, SwigDirector_ViewWrapperImpl::SWIG_Callback7_t callback7, SwigDirector_ViewWrapperImpl::SWIG_Callback8_t callback8, SwigDirector_ViewWrapperImpl::SWIG_Callback9_t callback9, SwigDirector_ViewWrapperImpl::SWIG_Callback10_t callback10, SwigDirector_ViewWrapperImpl::SWIG_Callback11_t callback11, SwigDirector_ViewWrapperImpl::SWIG_Callback12_t callback12, SwigDirector_ViewWrapperImpl::SWIG_Callback13_t callback13, SwigDirector_ViewWrapperImpl::SWIG_Callback14_t callback14, SwigDirector_ViewWrapperImpl::SWIG_Callback15_t callback15, SwigDirector_ViewWrapperImpl::SWIG_Callback16_t callback16, SwigDirector_ViewWrapperImpl::SWIG_Callback17_t callback17, SwigDirector_ViewWrapperImpl::SWIG_Callback18_t callback18, SwigDirector_ViewWrapperImpl::SWIG_Callback19_t callback19, SwigDirector_ViewWrapperImpl::SWIG_Callback20_t callback20, SwigDirector_ViewWrapperImpl::SWIG_Callback21_t callback21, SwigDirector_ViewWrapperImpl::SWIG_Callback22_t callback22, SwigDirector_ViewWrapperImpl::SWIG_Callback23_t callback23, SwigDirector_ViewWrapperImpl::SWIG_Callback24_t callback24, SwigDirector_ViewWrapperImpl::SWIG_Callback25_t callback25, SwigDirector_ViewWrapperImpl::SWIG_Callback26_t callback26, SwigDirector_ViewWrapperImpl::SWIG_Callback27_t callback27, SwigDirector_ViewWrapperImpl::SWIG_Callback28_t callback28, SwigDirector_ViewWrapperImpl::SWIG_Callback29_t callback29, SwigDirector_ViewWrapperImpl::SWIG_Callback30_t callback30, SwigDirector_ViewWrapperImpl::SWIG_Callback31_t callback31, SwigDirector_ViewWrapperImpl::SWIG_Callback32_t callback32, SwigDirector_ViewWrapperImpl::SWIG_Callback33_t callback33, SwigDirector_ViewWrapperImpl::SWIG_Callback34_t callback34, SwigDirector_ViewWrapperImpl::SWIG_Callback35_t callback35, SwigDirector_ViewWrapperImpl::SWIG_Callback36_t callback36, SwigDirector_ViewWrapperImpl::SWIG_Callback37_t callback37, SwigDirector_ViewWrapperImpl::SWIG_Callback38_t callback38, SwigDirector_ViewWrapperImpl::SWIG_Callback39_t callback39, SwigDirector_ViewWrapperImpl::SWIG_Callback40_t callback40) {
663 Dali::Toolkit::Internal::ControlWrapper *obj = (Dali::Toolkit::Internal::ControlWrapper *)objarg;
664 SwigDirector_ViewWrapperImpl *director = dynamic_cast<SwigDirector_ViewWrapperImpl *>(obj);
666 director->swig_connect_director(callback0, callback1, callback2, callback3, callback4, callback5, callback6, callback7, callback8, callback9, callback10, callback11, callback12, callback13, callback14, callback15, callback16, callback17, callback18, callback19, callback20, callback21, callback22, callback23, callback24, callback25, callback26, callback27, callback28, callback29, callback30, callback31, callback32, callback33, callback34, callback35, callback36, callback37, callback38, callback39, callback40);
671 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetControlWrapperImpl__SWIG_0(void * jarg1) {
673 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
674 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
676 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
678 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper & type is null", 0);
683 result = (Dali::Toolkit::Internal::ControlWrapper *) &Dali::Toolkit::GetControlWrapperImpl(*arg1);
684 } catch (std::out_of_range& e) {
686 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
688 } catch (std::exception& e) {
690 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
692 } catch (Dali::DaliException e) {
694 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
698 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
703 jresult = (void *)result;
708 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_New(char * jarg1, void * jarg2) {
711 Dali::Toolkit::Internal::ControlWrapper *arg2 = 0 ;
712 Dali::Toolkit::ControlWrapper result;
715 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
718 (&arg1)->assign(jarg1);
719 arg2 = (Dali::Toolkit::Internal::ControlWrapper *)jarg2;
721 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::ControlWrapper & type is null", 0);
726 result = Dali::Toolkit::ControlWrapper::New(arg1,*arg2);
727 } catch (std::out_of_range& e) {
729 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
731 } catch (std::exception& e) {
733 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
735 } catch (Dali::DaliException e) {
737 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
741 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
746 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
751 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_0() {
753 Dali::Toolkit::ControlWrapper *result = 0 ;
757 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper();
758 } catch (std::out_of_range& e) {
760 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
762 } catch (std::exception& e) {
764 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
766 } catch (Dali::DaliException e) {
768 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
772 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
777 jresult = (void *)result;
782 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapper(void * jarg1) {
783 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
785 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
789 } catch (std::out_of_range& e) {
791 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
793 } catch (std::exception& e) {
795 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
797 } catch (Dali::DaliException e) {
799 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
803 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
811 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_1(void * jarg1) {
813 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
814 Dali::Toolkit::ControlWrapper *result = 0 ;
816 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
818 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
823 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper((Dali::Toolkit::ControlWrapper const &)*arg1);
824 } catch (std::out_of_range& e) {
826 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
828 } catch (std::exception& e) {
830 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
832 } catch (Dali::DaliException e) {
834 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
838 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
843 jresult = (void *)result;
848 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_Assign(void * jarg1, void * jarg2) {
850 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
851 Dali::Toolkit::ControlWrapper *arg2 = 0 ;
852 Dali::Toolkit::ControlWrapper *result = 0 ;
854 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
855 arg2 = (Dali::Toolkit::ControlWrapper *)jarg2;
857 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
862 result = (Dali::Toolkit::ControlWrapper *) &(arg1)->operator =((Dali::Toolkit::ControlWrapper const &)*arg2);
863 } catch (std::out_of_range& e) {
865 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
867 } catch (std::exception& e) {
869 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
871 } catch (Dali::DaliException e) {
873 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
877 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
882 jresult = (void *)result;
887 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_DownCast(void * jarg1) {
889 Dali::BaseHandle arg1 ;
890 Dali::BaseHandle *argp1 ;
891 Dali::Toolkit::ControlWrapper result;
893 argp1 = (Dali::BaseHandle *)jarg1;
895 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
901 result = Dali::Toolkit::ControlWrapper::DownCast(arg1);
902 } catch (std::out_of_range& e) {
904 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
906 } catch (std::exception& e) {
908 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
910 } catch (Dali::DaliException e) {
912 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
916 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
921 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
925 SWIGEXPORT Dali::Toolkit::Internal::Control * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_SWIGUpcast(Dali::Toolkit::Internal::ControlWrapper *jarg1) {
926 return (Dali::Toolkit::Internal::Control *)jarg1;
929 SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_ViewWrapper_SWIGUpcast(Dali::Toolkit::ControlWrapper *jarg1) {
930 return (Dali::Toolkit::Control *)jarg1;
933 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutRequest(void * jarg1) {
934 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
936 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
939 (arg1)->RelayoutRequest();
940 } catch (std::out_of_range& e) {
942 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
944 } catch (std::exception& e) {
946 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
948 } catch (Dali::DaliException e) {
950 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
954 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
962 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetHeightForWidthBase(void * jarg1, float jarg2) {
964 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
968 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
972 result = (float)(arg1)->GetHeightForWidthBase(arg2);
973 } catch (std::out_of_range& e) {
975 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
977 } catch (std::exception& e) {
979 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
981 } catch (Dali::DaliException e) {
983 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
987 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
997 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetWidthForHeightBase(void * jarg1, float jarg2) {
999 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1003 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1004 arg2 = (float)jarg2;
1007 result = (float)(arg1)->GetWidthForHeightBase(arg2);
1008 } catch (std::out_of_range& e) {
1010 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1012 } catch (std::exception& e) {
1014 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1016 } catch (Dali::DaliException e) {
1018 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1022 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1032 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_CalculateChildSizeBase(void * jarg1, void * jarg2, int jarg3) {
1034 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1035 Dali::Actor *arg2 = 0 ;
1036 Dali::Dimension::Type arg3 ;
1039 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1040 arg2 = (Dali::Actor *)jarg2;
1042 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor const & type is null", 0);
1045 arg3 = (Dali::Dimension::Type)jarg3;
1048 result = (float)(arg1)->CalculateChildSizeBase((Dali::Actor const &)*arg2,arg3);
1049 } catch (std::out_of_range& e) {
1051 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1053 } catch (std::exception& e) {
1055 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1057 } catch (Dali::DaliException e) {
1059 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1063 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1073 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_0(void * jarg1, int jarg2) {
1074 unsigned int jresult ;
1075 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1076 Dali::Dimension::Type arg2 ;
1079 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1080 arg2 = (Dali::Dimension::Type)jarg2;
1083 result = (bool)(arg1)->RelayoutDependentOnChildrenBase(arg2);
1084 } catch (std::out_of_range& e) {
1086 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1088 } catch (std::exception& e) {
1090 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1092 } catch (Dali::DaliException e) {
1094 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1098 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1108 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_1(void * jarg1) {
1109 unsigned int jresult ;
1110 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1113 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1116 result = (bool)(arg1)->RelayoutDependentOnChildrenBase();
1117 } catch (std::out_of_range& e) {
1119 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1121 } catch (std::exception& e) {
1123 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1125 } catch (Dali::DaliException e) {
1127 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1131 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1140 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_0(void * jarg1, int jarg2, void * jarg3) {
1141 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1142 Dali::Property::Index arg2 ;
1143 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1145 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1146 arg2 = (Dali::Property::Index)jarg2;
1147 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1149 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1154 (arg1)->RegisterVisual(arg2,*arg3);
1155 } catch (std::out_of_range& e) {
1157 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1159 } catch (std::exception& e) {
1161 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1163 } catch (Dali::DaliException e) {
1165 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1169 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1177 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_1(void * jarg1, int jarg2, void * jarg3, unsigned int jarg4) {
1178 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1179 Dali::Property::Index arg2 ;
1180 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1183 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1184 arg2 = (Dali::Property::Index)jarg2;
1185 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1187 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1190 arg4 = jarg4 ? true : false;
1193 (arg1)->RegisterVisual(arg2,*arg3,arg4);
1194 } catch (std::out_of_range& e) {
1196 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1198 } catch (std::exception& e) {
1200 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1202 } catch (Dali::DaliException e) {
1204 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1208 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1216 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_UnregisterVisual(void * jarg1, int jarg2) {
1217 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1218 Dali::Property::Index arg2 ;
1220 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1221 arg2 = (Dali::Property::Index)jarg2;
1224 (arg1)->UnregisterVisual(arg2);
1225 } catch (std::out_of_range& e) {
1227 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1229 } catch (std::exception& e) {
1231 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1233 } catch (Dali::DaliException e) {
1235 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1239 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1247 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_GetVisual(void * jarg1, int jarg2) {
1249 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1250 Dali::Property::Index arg2 ;
1251 Dali::Toolkit::Visual::Base result;
1253 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1254 arg2 = (Dali::Property::Index)jarg2;
1257 result = ((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->GetVisual(arg2);
1258 } catch (std::out_of_range& e) {
1260 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1262 } catch (std::exception& e) {
1264 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1266 } catch (Dali::DaliException e) {
1268 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1272 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1277 jresult = new Dali::Toolkit::Visual::Base((const Dali::Toolkit::Visual::Base &)result);
1282 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EnableVisual(void * jarg1, int jarg2, unsigned int jarg3) {
1283 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1284 Dali::Property::Index arg2 ;
1287 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1288 arg2 = (Dali::Property::Index)jarg2;
1289 arg3 = jarg3 ? true : false;
1292 (arg1)->EnableVisual(arg2,arg3);
1293 } catch (std::out_of_range& e) {
1295 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1297 } catch (std::exception& e) {
1299 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1301 } catch (Dali::DaliException e) {
1303 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1307 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1315 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_IsVisualEnabled(void * jarg1, int jarg2) {
1316 unsigned int jresult ;
1317 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1318 Dali::Property::Index arg2 ;
1321 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1322 arg2 = (Dali::Property::Index)jarg2;
1325 result = (bool)((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->IsVisualEnabled(arg2);
1326 } catch (std::out_of_range& e) {
1328 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1330 } catch (std::exception& e) {
1332 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1334 } catch (Dali::DaliException e) {
1336 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1340 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1349 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_CreateTransition(void * jarg1, void * jarg2) {
1351 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1352 Dali::Toolkit::TransitionData *arg2 = 0 ;
1353 Dali::Animation result;
1355 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1356 arg2 = (Dali::Toolkit::TransitionData *)jarg2;
1358 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
1363 result = (arg1)->CreateTransition((Dali::Toolkit::TransitionData const &)*arg2);
1364 } catch (std::out_of_range& e) {
1366 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1368 } catch (std::exception& e) {
1370 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1372 } catch (Dali::DaliException e) {
1374 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1378 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1383 jresult = new Dali::Animation((const Dali::Animation &)result);
1388 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EmitKeyInputFocusSignal(void * jarg1, unsigned int jarg2) {
1389 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1392 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1393 arg2 = jarg2 ? true : false;
1396 (arg1)->EmitKeyInputFocusSignal(arg2);
1397 } catch (std::out_of_range& e) {
1399 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1401 } catch (std::exception& e) {
1403 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1405 } catch (Dali::DaliException e) {
1407 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1411 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1418 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_ApplyThemeStyle(void * jarg1) {
1419 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1421 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1424 (arg1)->ApplyThemeStyle();
1425 } catch (std::out_of_range& e) {
1427 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1429 } catch (std::exception& e) {
1431 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1433 } catch (Dali::DaliException e) {
1435 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1439 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;