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 Dali::Toolkit::Internal::Control::OnStageConnection(depth);
39 swig_callbackOnStageConnection(depth);
42 void SwigDirector_ViewWrapperImpl::OnStageDisconnection() {
43 swig_callbackOnStageDisconnection();
44 Dali::Toolkit::Internal::Control::OnStageDisconnection();
47 void SwigDirector_ViewWrapperImpl::OnChildAdd(Dali::Actor &child) {
48 Dali::Toolkit::Internal::Control::OnChildAdd( child );
49 void * jchild = (Dali::Actor *) &child;
50 swig_callbackOnChildAdd(jchild);
53 void SwigDirector_ViewWrapperImpl::OnChildRemove(Dali::Actor &child) {
54 void * jchild = (Dali::Actor *) &child;
55 swig_callbackOnChildRemove(jchild);
56 Dali::Toolkit::Internal::Control::OnChildRemove( child );
59 void SwigDirector_ViewWrapperImpl::OnPropertySet(Dali::Property::Index index, Dali::Property::Value propertyValue) {
61 void * jpropertyValue ;
63 if (!swig_callbackOnPropertySet) {
64 Dali::Toolkit::Internal::ControlWrapper::OnPropertySet(index,propertyValue);
68 jpropertyValue = (void *)new Dali::Property::Value((const Dali::Property::Value &)propertyValue);
69 swig_callbackOnPropertySet(jindex, jpropertyValue);
73 void SwigDirector_ViewWrapperImpl::OnSizeSet(Dali::Vector3 const &targetSize) {
74 Dali::Toolkit::Internal::Control::OnSizeSet(targetSize);
75 swig_callbackOnSizeSet((Dali::Vector3 *) &targetSize);
78 void SwigDirector_ViewWrapperImpl::OnSizeAnimation(Dali::Animation &animation, Dali::Vector3 const &targetSize) {
79 Dali::Toolkit::Internal::Control::OnSizeAnimation(animation,targetSize);
80 swig_callbackOnSizeAnimation(&animation, (Dali::Vector3 *) &targetSize);
83 bool SwigDirector_ViewWrapperImpl::OnTouchEvent(Dali::TouchEvent const &event) {
84 bool c_result = SwigValueInit< bool >() ;
85 unsigned int jresult = 0 ;
88 if (!swig_callbackOnTouchEvent) {
89 return Dali::Toolkit::Internal::Control::OnTouchEvent(event);
91 jarg0 = (Dali::TouchEvent *) &event;
92 jresult = (unsigned int) swig_callbackOnTouchEvent(jarg0);
93 c_result = jresult ? true : false;
98 bool SwigDirector_ViewWrapperImpl::OnHoverEvent(Dali::HoverEvent const &event) {
99 bool c_result = SwigValueInit< bool >() ;
100 unsigned int jresult = 0 ;
103 if (!swig_callbackOnHoverEvent) {
104 return Dali::Toolkit::Internal::Control::OnHoverEvent(event);
106 jarg0 = (Dali::HoverEvent *) &event;
107 jresult = (unsigned int) swig_callbackOnHoverEvent(jarg0);
108 c_result = jresult ? true : false;
113 bool SwigDirector_ViewWrapperImpl::OnKeyEvent(Dali::KeyEvent const &event) {
114 bool c_result = SwigValueInit< bool >() ;
115 unsigned int jresult = 0 ;
118 if (!swig_callbackOnKeyEvent) {
119 return Dali::Toolkit::Internal::Control::OnKeyEvent(event);
121 jarg0 = (Dali::KeyEvent *) &event;
122 jresult = (unsigned int) swig_callbackOnKeyEvent(jarg0);
123 c_result = jresult ? true : false;
128 bool SwigDirector_ViewWrapperImpl::OnWheelEvent(Dali::WheelEvent const &event) {
129 bool c_result = SwigValueInit< bool >() ;
130 unsigned int jresult = 0 ;
133 if (!swig_callbackOnWheelEvent) {
134 return Dali::Toolkit::Internal::Control::OnWheelEvent(event);
136 jarg0 = (Dali::WheelEvent *) &event;
137 jresult = (unsigned int) swig_callbackOnWheelEvent(jarg0);
138 c_result = jresult ? true : false;
143 void SwigDirector_ViewWrapperImpl::OnRelayout(Dali::Vector2 const &size, Dali::RelayoutContainer &container) {
145 void * jcontainer = 0 ;
147 if (!swig_callbackOnRelayout) {
148 Dali::Toolkit::Internal::Control::OnRelayout(size,container);
151 jsize = (Dali::Vector2 *) &size;
152 jcontainer = (Dali::RelayoutContainer *) &container;
153 swig_callbackOnRelayout(jsize, jcontainer);
157 void SwigDirector_ViewWrapperImpl::OnSetResizePolicy(Dali::ResizePolicy::Type policy, Dali::Dimension::Type dimension) {
161 if (!swig_callbackOnSetResizePolicy) {
162 Dali::Toolkit::Internal::Control::OnSetResizePolicy(policy,dimension);
165 jpolicy = (int)policy;
166 jdimension = (int)dimension;
167 swig_callbackOnSetResizePolicy(jpolicy, jdimension);
171 Dali::Vector3 SwigDirector_ViewWrapperImpl::GetNaturalSize() {
172 Dali::Vector3 c_result ;
175 if (!swig_callbackGetNaturalSize) {
176 return Dali::Toolkit::Internal::Control::GetNaturalSize();
178 jresult = (void *) swig_callbackGetNaturalSize();
180 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Vector3", 0);
183 c_result = *(Dali::Vector3 *)jresult;
188 float SwigDirector_ViewWrapperImpl::CalculateChildSize(Dali::Actor const &child, Dali::Dimension::Type dimension) {
189 float c_result = SwigValueInit< float >() ;
194 if (!swig_callbackCalculateChildSize) {
195 return Dali::Toolkit::Internal::Control::CalculateChildSize(child,dimension);
197 jchild = (Dali::Actor *) &child;
198 jdimension = (int)dimension;
199 jresult = (float) swig_callbackCalculateChildSize(jchild, jdimension);
200 c_result = (float)jresult;
205 float SwigDirector_ViewWrapperImpl::GetHeightForWidth(float width) {
206 float c_result = SwigValueInit< float >() ;
210 if (!swig_callbackGetHeightForWidth) {
211 return Dali::Toolkit::Internal::Control::GetHeightForWidth(width);
214 jresult = (float) swig_callbackGetHeightForWidth(jwidth);
215 c_result = (float)jresult;
220 float SwigDirector_ViewWrapperImpl::GetWidthForHeight(float height) {
221 float c_result = SwigValueInit< float >() ;
225 if (!swig_callbackGetWidthForHeight) {
226 return Dali::Toolkit::Internal::Control::GetWidthForHeight(height);
229 jresult = (float) swig_callbackGetWidthForHeight(jheight);
230 c_result = (float)jresult;
235 bool SwigDirector_ViewWrapperImpl::RelayoutDependentOnChildren(Dali::Dimension::Type dimension) {
236 bool c_result = SwigValueInit< bool >() ;
237 unsigned int jresult = 0 ;
240 if (!swig_callbackRelayoutDependentOnChildren__SWIG_0) {
241 return Dali::Toolkit::Internal::Control::RelayoutDependentOnChildren(dimension);
243 jdimension = (int)dimension;
244 jresult = (unsigned int) swig_callbackRelayoutDependentOnChildren__SWIG_0(jdimension);
245 c_result = jresult ? true : false;
250 void SwigDirector_ViewWrapperImpl::OnCalculateRelayoutSize(Dali::Dimension::Type dimension) {
253 if (!swig_callbackOnCalculateRelayoutSize) {
254 Dali::Toolkit::Internal::Control::OnCalculateRelayoutSize(dimension);
257 jdimension = (int)dimension;
258 swig_callbackOnCalculateRelayoutSize(jdimension);
262 void SwigDirector_ViewWrapperImpl::OnLayoutNegotiated(float size, Dali::Dimension::Type dimension) {
266 if (!swig_callbackOnLayoutNegotiated) {
267 Dali::Toolkit::Internal::Control::OnLayoutNegotiated(size,dimension);
271 jdimension = (int)dimension;
272 swig_callbackOnLayoutNegotiated(jsize, jdimension);
276 void SwigDirector_ViewWrapperImpl::OnInitialize() {
277 if (!swig_callbackOnInitialize) {
278 Dali::Toolkit::Internal::Control::OnInitialize();
281 swig_callbackOnInitialize();
285 void SwigDirector_ViewWrapperImpl::OnControlChildAdd(Dali::Actor &child) {
286 Dali::Toolkit::Internal::Control::OnControlChildAdd(child);
287 swig_callbackOnControlChildAdd(&child);
290 void SwigDirector_ViewWrapperImpl::OnControlChildRemove(Dali::Actor &child) {
291 swig_callbackOnControlChildRemove(&child);
292 Dali::Toolkit::Internal::Control::OnControlChildRemove(child);
295 void SwigDirector_ViewWrapperImpl::OnStyleChange(Dali::Toolkit::StyleManager styleManager, Dali::StyleChange::Type change) {
296 void * jstyleManager ;
299 if (!swig_callbackOnStyleChange) {
300 Dali::Toolkit::Internal::Control::OnStyleChange(styleManager,change);
303 jstyleManager = (void *)new Dali::Toolkit::StyleManager((const Dali::Toolkit::StyleManager &)styleManager);
304 jchange = (int)change;
305 swig_callbackOnStyleChange(jstyleManager, jchange);
309 bool SwigDirector_ViewWrapperImpl::OnAccessibilityActivated() {
310 bool c_result = SwigValueInit< bool >() ;
311 unsigned int jresult = 0 ;
313 if (!swig_callbackOnAccessibilityActivated) {
314 return Dali::Toolkit::Internal::Control::OnAccessibilityActivated();
316 jresult = (unsigned int) swig_callbackOnAccessibilityActivated();
317 c_result = jresult ? true : false;
322 bool SwigDirector_ViewWrapperImpl::OnAccessibilityPan(Dali::PanGesture gesture) {
323 bool c_result = SwigValueInit< bool >() ;
324 unsigned int jresult = 0 ;
327 if (!swig_callbackOnAccessibilityPan) {
328 return Dali::Toolkit::Internal::Control::OnAccessibilityPan(gesture);
330 jgesture = (void *)new Dali::PanGesture((const Dali::PanGesture &)gesture);
331 jresult = (unsigned int) swig_callbackOnAccessibilityPan(jgesture);
332 c_result = jresult ? true : false;
337 bool SwigDirector_ViewWrapperImpl::OnAccessibilityTouch(Dali::TouchEvent const &touchEvent) {
338 bool c_result = SwigValueInit< bool >() ;
339 unsigned int jresult = 0 ;
340 void * jtouchEvent = 0 ;
342 if (!swig_callbackOnAccessibilityTouch) {
343 return Dali::Toolkit::Internal::Control::OnAccessibilityTouch(touchEvent);
345 jtouchEvent = (Dali::TouchEvent *) &touchEvent;
346 jresult = (unsigned int) swig_callbackOnAccessibilityTouch(jtouchEvent);
347 c_result = jresult ? true : false;
352 bool SwigDirector_ViewWrapperImpl::OnAccessibilityValueChange(bool isIncrease) {
353 bool c_result = SwigValueInit< bool >() ;
354 unsigned int jresult = 0 ;
355 unsigned int jisIncrease ;
357 if (!swig_callbackOnAccessibilityValueChange) {
358 return Dali::Toolkit::Internal::Control::OnAccessibilityValueChange(isIncrease);
360 jisIncrease = isIncrease;
361 jresult = (unsigned int) swig_callbackOnAccessibilityValueChange(jisIncrease);
362 c_result = jresult ? true : false;
367 bool SwigDirector_ViewWrapperImpl::OnAccessibilityZoom() {
368 bool c_result = SwigValueInit< bool >() ;
369 unsigned int jresult = 0 ;
371 if (!swig_callbackOnAccessibilityZoom) {
372 return Dali::Toolkit::Internal::Control::OnAccessibilityZoom();
374 jresult = (unsigned int) swig_callbackOnAccessibilityZoom();
375 c_result = jresult ? true : false;
380 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusGained() {
381 if (!swig_callbackOnKeyInputFocusGained) {
382 Dali::Toolkit::Internal::Control::OnKeyInputFocusGained();
385 swig_callbackOnKeyInputFocusGained();
389 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusLost() {
390 if (!swig_callbackOnKeyInputFocusLost) {
391 Dali::Toolkit::Internal::Control::OnKeyInputFocusLost();
394 swig_callbackOnKeyInputFocusLost();
398 Dali::Actor SwigDirector_ViewWrapperImpl::GetNextKeyboardFocusableActor(Dali::Actor currentFocusedActor, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) {
399 Dali::Actor c_result ;
401 void * jcurrentFocusedActor ;
403 unsigned int jloopEnabled ;
405 if (!swig_callbackGetNextKeyboardFocusableActor) {
406 return Dali::Toolkit::Internal::Control::GetNextKeyboardFocusableActor(currentFocusedActor,direction,loopEnabled);
408 jcurrentFocusedActor = (void *)new Dali::Actor((const Dali::Actor &)currentFocusedActor);
409 jdirection = (int)direction;
410 jloopEnabled = loopEnabled;
411 jresult = (void *) swig_callbackGetNextKeyboardFocusableActor(jcurrentFocusedActor, jdirection, jloopEnabled);
413 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Actor", 0);
416 c_result = *(Dali::Actor *)jresult;
421 void SwigDirector_ViewWrapperImpl::OnKeyboardFocusChangeCommitted(Dali::Actor commitedFocusableActor) {
422 void * jcommitedFocusableActor ;
424 if (!swig_callbackOnKeyboardFocusChangeCommitted) {
425 Dali::Toolkit::Internal::Control::OnKeyboardFocusChangeCommitted(commitedFocusableActor);
428 jcommitedFocusableActor = (void *)new Dali::Actor((const Dali::Actor &)commitedFocusableActor);
429 swig_callbackOnKeyboardFocusChangeCommitted(jcommitedFocusableActor);
433 bool SwigDirector_ViewWrapperImpl::OnKeyboardEnter() {
434 bool c_result = SwigValueInit< bool >() ;
435 unsigned int jresult = 0 ;
437 if (!swig_callbackOnKeyboardEnter) {
438 return Dali::Toolkit::Internal::Control::OnKeyboardEnter();
440 jresult = (unsigned int) swig_callbackOnKeyboardEnter();
441 c_result = jresult ? true : false;
446 void SwigDirector_ViewWrapperImpl::OnPinch(Dali::PinchGesture const &pinch) {
449 if (!swig_callbackOnPinch) {
450 Dali::Toolkit::Internal::Control::OnPinch(pinch);
453 jpinch = (Dali::PinchGesture *) &pinch;
454 swig_callbackOnPinch(jpinch);
458 void SwigDirector_ViewWrapperImpl::OnPan(Dali::PanGesture const &pan) {
461 if (!swig_callbackOnPan) {
462 Dali::Toolkit::Internal::Control::OnPan(pan);
465 jpan = (Dali::PanGesture *) &pan;
466 swig_callbackOnPan(jpan);
470 void SwigDirector_ViewWrapperImpl::OnTap(Dali::TapGesture const &tap) {
473 if (!swig_callbackOnTap) {
474 Dali::Toolkit::Internal::Control::OnTap(tap);
477 jtap = (Dali::TapGesture *) &tap;
478 swig_callbackOnTap(jtap);
482 void SwigDirector_ViewWrapperImpl::OnLongPress(Dali::LongPressGesture const &longPress) {
483 void * jlongPress = 0 ;
485 if (!swig_callbackOnLongPress) {
486 Dali::Toolkit::Internal::Control::OnLongPress(longPress);
489 jlongPress = (Dali::LongPressGesture *) &longPress;
490 swig_callbackOnLongPress(jlongPress);
494 void SwigDirector_ViewWrapperImpl::SignalConnected(Dali::SlotObserver *slotObserver, Dali::CallbackBase *callback) {
495 void * jslotObserver = 0 ;
496 void * jcallback = 0 ;
498 if (!swig_callbackSignalConnected) {
499 Dali::Toolkit::Internal::Control::SignalConnected(slotObserver,callback);
502 jslotObserver = (void *) slotObserver;
503 jcallback = (void *) callback;
504 swig_callbackSignalConnected(jslotObserver, jcallback);
508 void SwigDirector_ViewWrapperImpl::SignalDisconnected(Dali::SlotObserver *slotObserver, Dali::CallbackBase *callback) {
509 void * jslotObserver = 0 ;
510 void * jcallback = 0 ;
512 if (!swig_callbackSignalDisconnected) {
513 Dali::Toolkit::Internal::Control::SignalDisconnected(slotObserver,callback);
516 jslotObserver = (void *) slotObserver;
517 jcallback = (void *) callback;
518 swig_callbackSignalDisconnected(jslotObserver, jcallback);
522 Dali::Toolkit::Internal::Control::Extension *SwigDirector_ViewWrapperImpl::GetControlExtension() {
523 return Dali::Toolkit::Internal::Control::GetControlExtension();
526 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) {
527 swig_callbackOnStageConnection = callbackOnStageConnection;
528 swig_callbackOnStageDisconnection = callbackOnStageDisconnection;
529 swig_callbackOnChildAdd = callbackOnChildAdd;
530 swig_callbackOnChildRemove = callbackOnChildRemove;
531 swig_callbackOnPropertySet = callbackOnPropertySet;
532 swig_callbackOnSizeSet = callbackOnSizeSet;
533 swig_callbackOnSizeAnimation = callbackOnSizeAnimation;
534 swig_callbackOnTouchEvent = callbackOnTouchEvent;
535 swig_callbackOnHoverEvent = callbackOnHoverEvent;
536 swig_callbackOnKeyEvent = callbackOnKeyEvent;
537 swig_callbackOnWheelEvent = callbackOnWheelEvent;
538 swig_callbackOnRelayout = callbackOnRelayout;
539 swig_callbackOnSetResizePolicy = callbackOnSetResizePolicy;
540 swig_callbackGetNaturalSize = callbackGetNaturalSize;
541 swig_callbackCalculateChildSize = callbackCalculateChildSize;
542 swig_callbackGetHeightForWidth = callbackGetHeightForWidth;
543 swig_callbackGetWidthForHeight = callbackGetWidthForHeight;
544 swig_callbackRelayoutDependentOnChildren__SWIG_0 = callbackRelayoutDependentOnChildren__SWIG_0;
545 swig_callbackRelayoutDependentOnChildren__SWIG_1 = callbackRelayoutDependentOnChildren__SWIG_1;
546 swig_callbackOnCalculateRelayoutSize = callbackOnCalculateRelayoutSize;
547 swig_callbackOnLayoutNegotiated = callbackOnLayoutNegotiated;
548 swig_callbackOnInitialize = callbackOnInitialize;
549 swig_callbackOnControlChildAdd = callbackOnControlChildAdd;
550 swig_callbackOnControlChildRemove = callbackOnControlChildRemove;
551 swig_callbackOnStyleChange = callbackOnStyleChange;
552 swig_callbackOnAccessibilityActivated = callbackOnAccessibilityActivated;
553 swig_callbackOnAccessibilityPan = callbackOnAccessibilityPan;
554 swig_callbackOnAccessibilityTouch = callbackOnAccessibilityTouch;
555 swig_callbackOnAccessibilityValueChange = callbackOnAccessibilityValueChange;
556 swig_callbackOnAccessibilityZoom = callbackOnAccessibilityZoom;
557 swig_callbackOnKeyInputFocusGained = callbackOnKeyInputFocusGained;
558 swig_callbackOnKeyInputFocusLost = callbackOnKeyInputFocusLost;
559 swig_callbackGetNextKeyboardFocusableActor = callbackGetNextKeyboardFocusableActor;
560 swig_callbackOnKeyboardFocusChangeCommitted = callbackOnKeyboardFocusChangeCommitted;
561 swig_callbackOnKeyboardEnter = callbackOnKeyboardEnter;
562 swig_callbackOnPinch = callbackOnPinch;
563 swig_callbackOnPan = callbackOnPan;
564 swig_callbackOnTap = callbackOnTap;
565 swig_callbackOnLongPress = callbackOnLongPress;
566 swig_callbackSignalConnected = callbackSignalConnected;
567 swig_callbackSignalDisconnected = callbackSignalDisconnected;
570 void SwigDirector_ViewWrapperImpl::swig_init_callbacks() {
571 swig_callbackOnStageConnection = 0;
572 swig_callbackOnStageDisconnection = 0;
573 swig_callbackOnChildAdd = 0;
574 swig_callbackOnChildRemove = 0;
575 swig_callbackOnPropertySet = 0;
576 swig_callbackOnSizeSet = 0;
577 swig_callbackOnSizeAnimation = 0;
578 swig_callbackOnTouchEvent = 0;
579 swig_callbackOnHoverEvent = 0;
580 swig_callbackOnKeyEvent = 0;
581 swig_callbackOnWheelEvent = 0;
582 swig_callbackOnRelayout = 0;
583 swig_callbackOnSetResizePolicy = 0;
584 swig_callbackGetNaturalSize = 0;
585 swig_callbackCalculateChildSize = 0;
586 swig_callbackGetHeightForWidth = 0;
587 swig_callbackGetWidthForHeight = 0;
588 swig_callbackRelayoutDependentOnChildren__SWIG_0 = 0;
589 swig_callbackRelayoutDependentOnChildren__SWIG_1 = 0;
590 swig_callbackOnCalculateRelayoutSize = 0;
591 swig_callbackOnLayoutNegotiated = 0;
592 swig_callbackOnInitialize = 0;
593 swig_callbackOnControlChildAdd = 0;
594 swig_callbackOnControlChildRemove = 0;
595 swig_callbackOnStyleChange = 0;
596 swig_callbackOnAccessibilityActivated = 0;
597 swig_callbackOnAccessibilityPan = 0;
598 swig_callbackOnAccessibilityTouch = 0;
599 swig_callbackOnAccessibilityValueChange = 0;
600 swig_callbackOnAccessibilityZoom = 0;
601 swig_callbackOnKeyInputFocusGained = 0;
602 swig_callbackOnKeyInputFocusLost = 0;
603 swig_callbackGetNextKeyboardFocusableActor = 0;
604 swig_callbackOnKeyboardFocusChangeCommitted = 0;
605 swig_callbackOnKeyboardEnter = 0;
606 swig_callbackOnPinch = 0;
607 swig_callbackOnPan = 0;
608 swig_callbackOnTap = 0;
609 swig_callbackOnLongPress = 0;
610 swig_callbackSignalConnected = 0;
611 swig_callbackSignalDisconnected = 0;
614 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_CONTROL_BEHAVIOUR_FLAG_COUNT_get() {
618 result = (int)Dali::Toolkit::Internal::ControlWrapper::CONTROL_BEHAVIOUR_FLAG_COUNT;
624 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapperImpl(int jarg1) {
626 Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour arg1 ;
627 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
629 arg1 = (Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour)jarg1;
632 result = (Dali::Toolkit::Internal::ControlWrapper *)new SwigDirector_ViewWrapperImpl(arg1);
633 } catch (std::out_of_range& e) {
635 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
637 } catch (std::exception& e) {
639 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
643 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
647 jresult = (void *)result;
652 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_New(void * jarg1) {
654 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
655 Dali::Toolkit::ControlWrapper result;
657 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
660 result = Dali::Toolkit::Internal::ControlWrapper::New(arg1);
661 } catch (std::out_of_range& e) {
663 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
665 } catch (std::exception& e) {
667 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
671 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
675 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
680 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapperImpl(void * jarg1) {
681 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
683 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
690 } catch (std::out_of_range& e) {
692 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
694 } catch (std::exception& e) {
696 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
700 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
707 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) {
708 Dali::Toolkit::Internal::ControlWrapper *obj = (Dali::Toolkit::Internal::ControlWrapper *)objarg;
709 SwigDirector_ViewWrapperImpl *director = dynamic_cast<SwigDirector_ViewWrapperImpl *>(obj);
711 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);
716 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetControlWrapperImpl__SWIG_0(void * jarg1) {
718 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
719 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
721 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
723 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper & type is null", 0);
728 result = (Dali::Toolkit::Internal::ControlWrapper *) &Dali::Toolkit::GetControlWrapperImpl(*arg1);
729 } catch (std::out_of_range& e) {
731 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
733 } catch (std::exception& e) {
735 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
739 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
743 jresult = (void *)result;
748 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_New(void * jarg1) {
750 Dali::Toolkit::Internal::ControlWrapper *arg1 = 0 ;
751 Dali::Toolkit::ControlWrapper result;
753 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
755 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::ControlWrapper & type is null", 0);
760 result = Dali::Toolkit::ControlWrapper::New(*arg1);
761 } catch (std::out_of_range& e) {
763 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
765 } catch (std::exception& e) {
767 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
771 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
775 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
780 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_0() {
782 Dali::Toolkit::ControlWrapper *result = 0 ;
786 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper();
787 } catch (std::out_of_range& e) {
789 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
791 } catch (std::exception& e) {
793 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
797 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
801 jresult = (void *)result;
806 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapper(void * jarg1) {
807 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
809 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
813 } catch (std::out_of_range& e) {
815 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
817 } catch (std::exception& e) {
819 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
823 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
830 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_1(void * jarg1) {
832 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
833 Dali::Toolkit::ControlWrapper *result = 0 ;
835 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
837 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
842 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper((Dali::Toolkit::ControlWrapper const &)*arg1);
843 } catch (std::out_of_range& e) {
845 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
847 } catch (std::exception& e) {
849 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
853 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
857 jresult = (void *)result;
862 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_Assign(void * jarg1, void * jarg2) {
864 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
865 Dali::Toolkit::ControlWrapper *arg2 = 0 ;
866 Dali::Toolkit::ControlWrapper *result = 0 ;
868 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
869 arg2 = (Dali::Toolkit::ControlWrapper *)jarg2;
871 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
876 result = (Dali::Toolkit::ControlWrapper *) &(arg1)->operator =((Dali::Toolkit::ControlWrapper const &)*arg2);
877 } catch (std::out_of_range& e) {
879 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
881 } catch (std::exception& e) {
883 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
887 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
891 jresult = (void *)result;
896 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_DownCast(void * jarg1) {
898 Dali::BaseHandle arg1 ;
899 Dali::BaseHandle *argp1 ;
900 Dali::Toolkit::ControlWrapper result;
902 argp1 = (Dali::BaseHandle *)jarg1;
904 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
910 result = Dali::Toolkit::ControlWrapper::DownCast(arg1);
911 } catch (std::out_of_range& e) {
913 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
915 } catch (std::exception& e) {
917 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
921 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
925 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
929 SWIGEXPORT Dali::Toolkit::Internal::Control * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_SWIGUpcast(Dali::Toolkit::Internal::ControlWrapper *jarg1) {
930 return (Dali::Toolkit::Internal::Control *)jarg1;
933 SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_ViewWrapper_SWIGUpcast(Dali::Toolkit::ControlWrapper *jarg1) {
934 return (Dali::Toolkit::Control *)jarg1;
937 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutRequest(void * jarg1) {
938 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
940 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
943 (arg1)->RelayoutRequest();
944 } catch (std::out_of_range& e) {
946 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
948 } catch (std::exception& e) {
950 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
954 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
961 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetHeightForWidthBase(void * jarg1, float jarg2) {
963 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
967 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
971 result = (float)(arg1)->GetHeightForWidthBase(arg2);
972 } catch (std::out_of_range& e) {
974 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
976 } catch (std::exception& e) {
978 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
982 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
991 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetWidthForHeightBase(void * jarg1, float jarg2) {
993 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
997 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1001 result = (float)(arg1)->GetWidthForHeightBase(arg2);
1002 } catch (std::out_of_range& e) {
1004 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1006 } catch (std::exception& e) {
1008 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1012 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1021 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_CalculateChildSizeBase(void * jarg1, void * jarg2, int jarg3) {
1023 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1024 Dali::Actor *arg2 = 0 ;
1025 Dali::Dimension::Type arg3 ;
1028 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1029 arg2 = (Dali::Actor *)jarg2;
1031 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor const & type is null", 0);
1034 arg3 = (Dali::Dimension::Type)jarg3;
1037 result = (float)(arg1)->CalculateChildSizeBase((Dali::Actor const &)*arg2,arg3);
1038 } catch (std::out_of_range& e) {
1040 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1042 } catch (std::exception& e) {
1044 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1048 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1057 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_0(void * jarg1, int jarg2) {
1058 unsigned int jresult ;
1059 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1060 Dali::Dimension::Type arg2 ;
1063 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1064 arg2 = (Dali::Dimension::Type)jarg2;
1067 result = (bool)(arg1)->RelayoutDependentOnChildrenBase(arg2);
1068 } catch (std::out_of_range& e) {
1070 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1072 } catch (std::exception& e) {
1074 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1078 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1087 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_1(void * jarg1) {
1088 unsigned int jresult ;
1089 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1092 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1095 result = (bool)(arg1)->RelayoutDependentOnChildrenBase();
1096 } catch (std::out_of_range& e) {
1098 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1100 } catch (std::exception& e) {
1102 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1106 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1114 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_0(void * jarg1, int jarg2, void * jarg3) {
1115 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1116 Dali::Property::Index arg2 ;
1117 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1119 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1120 arg2 = (Dali::Property::Index)jarg2;
1121 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1123 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1128 (arg1)->RegisterVisual(arg2,*arg3);
1129 } catch (std::out_of_range& e) {
1131 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1133 } catch (std::exception& e) {
1135 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1139 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1146 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_1(void * jarg1, int jarg2, void * jarg3, unsigned int jarg4) {
1147 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1148 Dali::Property::Index arg2 ;
1149 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1152 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1153 arg2 = (Dali::Property::Index)jarg2;
1154 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1156 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1159 arg4 = jarg4 ? true : false;
1162 (arg1)->RegisterVisual(arg2,*arg3,arg4);
1163 } catch (std::out_of_range& e) {
1165 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1167 } catch (std::exception& e) {
1169 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1173 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1180 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_UnregisterVisual(void * jarg1, int jarg2) {
1181 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1182 Dali::Property::Index arg2 ;
1184 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1185 arg2 = (Dali::Property::Index)jarg2;
1188 (arg1)->UnregisterVisual(arg2);
1189 } catch (std::out_of_range& e) {
1191 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1193 } catch (std::exception& e) {
1195 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1199 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1206 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_GetVisual(void * jarg1, int jarg2) {
1208 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1209 Dali::Property::Index arg2 ;
1210 Dali::Toolkit::Visual::Base result;
1212 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1213 arg2 = (Dali::Property::Index)jarg2;
1216 result = ((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->GetVisual(arg2);
1217 } catch (std::out_of_range& e) {
1219 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1221 } catch (std::exception& e) {
1223 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1227 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1231 jresult = new Dali::Toolkit::Visual::Base((const Dali::Toolkit::Visual::Base &)result);
1236 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EnableVisual(void * jarg1, int jarg2, unsigned int jarg3) {
1237 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1238 Dali::Property::Index arg2 ;
1241 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1242 arg2 = (Dali::Property::Index)jarg2;
1243 arg3 = jarg3 ? true : false;
1246 (arg1)->EnableVisual(arg2,arg3);
1247 } catch (std::out_of_range& e) {
1249 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1251 } catch (std::exception& e) {
1253 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1257 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1264 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_IsVisualEnabled(void * jarg1, int jarg2) {
1265 unsigned int jresult ;
1266 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1267 Dali::Property::Index arg2 ;
1270 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1271 arg2 = (Dali::Property::Index)jarg2;
1274 result = (bool)((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->IsVisualEnabled(arg2);
1275 } catch (std::out_of_range& e) {
1277 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1279 } catch (std::exception& e) {
1281 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1285 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1293 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_CreateTransition(void * jarg1, void * jarg2) {
1295 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1296 Dali::Toolkit::TransitionData *arg2 = 0 ;
1297 Dali::Animation result;
1299 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1300 arg2 = (Dali::Toolkit::TransitionData *)jarg2;
1302 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
1307 result = (arg1)->CreateTransition((Dali::Toolkit::TransitionData const &)*arg2);
1308 } catch (std::out_of_range& e) {
1310 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1312 } catch (std::exception& e) {
1314 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1318 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1322 jresult = new Dali::Animation((const Dali::Animation &)result);
1327 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EmitKeyInputFocusSignal(void * jarg1, unsigned int jarg2) {
1328 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1331 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1332 arg2 = jarg2 ? true : false;
1335 (arg1)->EmitKeyInputFocusSignal(arg2);
1336 } catch (std::out_of_range& e) {
1338 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1340 } catch (std::exception& e) {
1342 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1346 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1352 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_ApplyThemeStyle(void * jarg1) {
1353 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1355 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1358 (arg1)->ApplyThemeStyle();
1359 } catch (std::out_of_range& e) {
1361 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1363 } catch (std::exception& e) {
1365 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1369 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;