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>
23 #include <dali/devel-api/events/touch-data-devel.h>
29 SwigDirector_ViewWrapperImpl::SwigDirector_ViewWrapperImpl(Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour behaviourFlags) : Dali::Toolkit::Internal::ControlWrapper(behaviourFlags) {
30 swig_init_callbacks();
33 SwigDirector_ViewWrapperImpl::~SwigDirector_ViewWrapperImpl() {
38 void SwigDirector_ViewWrapperImpl::OnStageConnection(int depth) {
39 swig_callbackOnStageConnection(depth);
41 Dali::Toolkit::Internal::Control::OnStageConnection(depth);
44 void SwigDirector_ViewWrapperImpl::OnStageDisconnection() {
45 swig_callbackOnStageDisconnection();
47 Dali::Toolkit::Internal::Control::OnStageDisconnection();
50 void SwigDirector_ViewWrapperImpl::OnChildAdd(Dali::Actor &child) {
51 void * jchild = (Dali::Actor *) &child;
52 swig_callbackOnChildAdd(jchild);
54 Dali::Toolkit::Internal::Control::OnChildAdd( child );
57 void SwigDirector_ViewWrapperImpl::OnChildRemove(Dali::Actor &child) {
58 void * jchild = (Dali::Actor *) &child;
59 swig_callbackOnChildRemove(jchild);
61 Dali::Toolkit::Internal::Control::OnChildRemove( child );
64 void SwigDirector_ViewWrapperImpl::OnPropertySet(Dali::Property::Index index, Dali::Property::Value propertyValue) {
66 void * jpropertyValue ;
69 jpropertyValue = (void *)new Dali::Property::Value((const Dali::Property::Value &)propertyValue);
70 swig_callbackOnPropertySet(jindex, jpropertyValue);
72 Dali::Toolkit::Internal::ControlWrapper::OnPropertySet(index,propertyValue);
75 void SwigDirector_ViewWrapperImpl::OnSizeSet(Dali::Vector3 const &targetSize) {
76 swig_callbackOnSizeSet((Dali::Vector3 *) &targetSize);
78 Dali::Toolkit::Internal::Control::OnSizeSet(targetSize);
81 void SwigDirector_ViewWrapperImpl::OnSizeAnimation(Dali::Animation &animation, Dali::Vector3 const &targetSize) {
82 swig_callbackOnSizeAnimation(&animation, (Dali::Vector3 *) &targetSize);
84 Dali::Toolkit::Internal::Control::OnSizeAnimation(animation,targetSize);
87 bool SwigDirector_ViewWrapperImpl::OnTouchEvent(Dali::TouchEvent const &event) {
88 bool c_result = SwigValueInit< bool >() ;
89 unsigned int jresult = 0 ;
92 if (!swig_callbackOnTouchEvent) {
93 return Dali::Toolkit::Internal::Control::OnTouchEvent(event);
95 Dali::TouchData data = Dali::DevelTouchData::Convert(event);
96 jarg0 = (Dali::TouchData *) &data;
97 jresult = (unsigned int) swig_callbackOnTouchEvent(jarg0);
98 c_result = jresult ? true : false;
103 bool SwigDirector_ViewWrapperImpl::OnHoverEvent(Dali::HoverEvent const &event) {
104 bool c_result = SwigValueInit< bool >() ;
105 unsigned int jresult = 0 ;
108 if (!swig_callbackOnHoverEvent) {
109 return Dali::Toolkit::Internal::Control::OnHoverEvent(event);
111 jarg0 = (Dali::HoverEvent *) &event;
112 jresult = (unsigned int) swig_callbackOnHoverEvent(jarg0);
113 c_result = jresult ? true : false;
118 bool SwigDirector_ViewWrapperImpl::OnKeyEvent(Dali::KeyEvent const &event) {
119 bool c_result = SwigValueInit< bool >() ;
120 unsigned int jresult = 0 ;
123 if (!swig_callbackOnKeyEvent) {
124 return Dali::Toolkit::Internal::Control::OnKeyEvent(event);
126 jarg0 = (Dali::KeyEvent *) &event;
127 jresult = (unsigned int) swig_callbackOnKeyEvent(jarg0);
128 c_result = jresult ? true : false;
133 bool SwigDirector_ViewWrapperImpl::OnWheelEvent(Dali::WheelEvent const &event) {
134 bool c_result = SwigValueInit< bool >() ;
135 unsigned int jresult = 0 ;
138 if (!swig_callbackOnWheelEvent) {
139 return Dali::Toolkit::Internal::Control::OnWheelEvent(event);
141 jarg0 = (Dali::WheelEvent *) &event;
142 jresult = (unsigned int) swig_callbackOnWheelEvent(jarg0);
143 c_result = jresult ? true : false;
148 void SwigDirector_ViewWrapperImpl::OnRelayout(Dali::Vector2 const &size, Dali::RelayoutContainer &container) {
150 void * jcontainer = 0 ;
152 jsize = (Dali::Vector2 *) &size;
153 jcontainer = (Dali::RelayoutContainer *) &container;
154 swig_callbackOnRelayout(jsize, jcontainer);
156 Dali::Toolkit::Internal::Control::OnRelayout(size,container);
159 void SwigDirector_ViewWrapperImpl::OnSetResizePolicy(Dali::ResizePolicy::Type policy, Dali::Dimension::Type dimension) {
163 jpolicy = (int)policy;
164 jdimension = (int)dimension;
165 swig_callbackOnSetResizePolicy(jpolicy, jdimension);
167 Dali::Toolkit::Internal::Control::OnSetResizePolicy(policy,dimension);
170 Dali::Vector3 SwigDirector_ViewWrapperImpl::GetNaturalSize() {
171 Dali::Vector3 c_result ;
174 if (!swig_callbackGetNaturalSize) {
175 return Dali::Toolkit::Internal::Control::GetNaturalSize();
177 jresult = (void *) swig_callbackGetNaturalSize();
179 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Vector3", 0);
182 c_result = *(Dali::Vector3 *)jresult;
187 float SwigDirector_ViewWrapperImpl::CalculateChildSize(Dali::Actor const &child, Dali::Dimension::Type dimension) {
188 float c_result = SwigValueInit< float >() ;
193 if (!swig_callbackCalculateChildSize) {
194 return Dali::Toolkit::Internal::Control::CalculateChildSize(child,dimension);
196 jchild = (Dali::Actor *) &child;
197 jdimension = (int)dimension;
198 jresult = (float) swig_callbackCalculateChildSize(jchild, jdimension);
199 c_result = (float)jresult;
204 float SwigDirector_ViewWrapperImpl::GetHeightForWidth(float width) {
205 float c_result = SwigValueInit< float >() ;
209 if (!swig_callbackGetHeightForWidth) {
210 return Dali::Toolkit::Internal::Control::GetHeightForWidth(width);
213 jresult = (float) swig_callbackGetHeightForWidth(jwidth);
214 c_result = (float)jresult;
219 float SwigDirector_ViewWrapperImpl::GetWidthForHeight(float height) {
220 float c_result = SwigValueInit< float >() ;
224 if (!swig_callbackGetWidthForHeight) {
225 return Dali::Toolkit::Internal::Control::GetWidthForHeight(height);
228 jresult = (float) swig_callbackGetWidthForHeight(jheight);
229 c_result = (float)jresult;
234 bool SwigDirector_ViewWrapperImpl::RelayoutDependentOnChildren(Dali::Dimension::Type dimension) {
235 bool c_result = SwigValueInit< bool >() ;
236 unsigned int jresult = 0 ;
239 if (!swig_callbackRelayoutDependentOnChildren__SWIG_0) {
240 return Dali::Toolkit::Internal::Control::RelayoutDependentOnChildren(dimension);
242 jdimension = (int)dimension;
243 jresult = (unsigned int) swig_callbackRelayoutDependentOnChildren__SWIG_0(jdimension);
244 c_result = jresult ? true : false;
249 void SwigDirector_ViewWrapperImpl::OnCalculateRelayoutSize(Dali::Dimension::Type dimension) {
252 jdimension = (int)dimension;
253 swig_callbackOnCalculateRelayoutSize(jdimension);
255 Dali::Toolkit::Internal::Control::OnCalculateRelayoutSize(dimension);
258 void SwigDirector_ViewWrapperImpl::OnLayoutNegotiated(float size, Dali::Dimension::Type dimension) {
263 jdimension = (int)dimension;
264 swig_callbackOnLayoutNegotiated(jsize, jdimension);
266 Dali::Toolkit::Internal::Control::OnLayoutNegotiated(size,dimension);
269 void SwigDirector_ViewWrapperImpl::OnInitialize() {
270 swig_callbackOnInitialize();
272 Dali::Toolkit::Internal::Control::OnInitialize();
275 void SwigDirector_ViewWrapperImpl::OnControlChildAdd(Dali::Actor &child) {
276 swig_callbackOnControlChildAdd(&child);
278 Dali::Toolkit::Internal::Control::OnControlChildAdd(child);
281 void SwigDirector_ViewWrapperImpl::OnControlChildRemove(Dali::Actor &child) {
282 swig_callbackOnControlChildRemove(&child);
284 Dali::Toolkit::Internal::Control::OnControlChildRemove(child);
287 void SwigDirector_ViewWrapperImpl::OnStyleChange(Dali::Toolkit::StyleManager styleManager, Dali::StyleChange::Type change) {
288 void * jstyleManager ;
291 jstyleManager = (void *)new Dali::Toolkit::StyleManager((const Dali::Toolkit::StyleManager &)styleManager);
292 jchange = (int)change;
293 swig_callbackOnStyleChange(jstyleManager, jchange);
295 Dali::Toolkit::Internal::Control::OnStyleChange(styleManager,change);
298 bool SwigDirector_ViewWrapperImpl::OnAccessibilityActivated() {
299 bool c_result = SwigValueInit< bool >() ;
300 unsigned int jresult = 0 ;
302 if (!swig_callbackOnAccessibilityActivated) {
303 return Dali::Toolkit::Internal::Control::OnAccessibilityActivated();
305 jresult = (unsigned int) swig_callbackOnAccessibilityActivated();
306 c_result = jresult ? true : false;
311 bool SwigDirector_ViewWrapperImpl::OnAccessibilityPan(Dali::PanGesture gesture) {
312 bool c_result = SwigValueInit< bool >() ;
313 unsigned int jresult = 0 ;
316 if (!swig_callbackOnAccessibilityPan) {
317 return Dali::Toolkit::Internal::Control::OnAccessibilityPan(gesture);
319 jgesture = (void *)new Dali::PanGesture((const Dali::PanGesture &)gesture);
320 jresult = (unsigned int) swig_callbackOnAccessibilityPan(jgesture);
321 c_result = jresult ? true : false;
326 bool SwigDirector_ViewWrapperImpl::OnAccessibilityTouch(Dali::TouchEvent const &touchEvent) {
327 bool c_result = SwigValueInit< bool >() ;
328 unsigned int jresult = 0 ;
329 void * jtouchEvent = 0 ;
331 if (!swig_callbackOnAccessibilityTouch) {
332 return Dali::Toolkit::Internal::Control::OnAccessibilityTouch(touchEvent);
334 jtouchEvent = (Dali::TouchEvent *) &touchEvent;
335 jresult = (unsigned int) swig_callbackOnAccessibilityTouch(jtouchEvent);
336 c_result = jresult ? true : false;
341 bool SwigDirector_ViewWrapperImpl::OnAccessibilityValueChange(bool isIncrease) {
342 bool c_result = SwigValueInit< bool >() ;
343 unsigned int jresult = 0 ;
344 unsigned int jisIncrease ;
346 if (!swig_callbackOnAccessibilityValueChange) {
347 return Dali::Toolkit::Internal::Control::OnAccessibilityValueChange(isIncrease);
349 jisIncrease = isIncrease;
350 jresult = (unsigned int) swig_callbackOnAccessibilityValueChange(jisIncrease);
351 c_result = jresult ? true : false;
356 bool SwigDirector_ViewWrapperImpl::OnAccessibilityZoom() {
357 bool c_result = SwigValueInit< bool >() ;
358 unsigned int jresult = 0 ;
360 if (!swig_callbackOnAccessibilityZoom) {
361 return Dali::Toolkit::Internal::Control::OnAccessibilityZoom();
363 jresult = (unsigned int) swig_callbackOnAccessibilityZoom();
364 c_result = jresult ? true : false;
369 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusGained() {
370 swig_callbackOnKeyInputFocusGained();
372 Dali::Toolkit::Internal::Control::OnKeyInputFocusGained();
375 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusLost() {
376 swig_callbackOnKeyInputFocusLost();
378 Dali::Toolkit::Internal::Control::OnKeyInputFocusLost();
381 Dali::Actor SwigDirector_ViewWrapperImpl::GetNextKeyboardFocusableActor(Dali::Actor currentFocusedActor, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) {
382 Dali::Actor c_result ;
384 void * jcurrentFocusedActor ;
386 unsigned int jloopEnabled ;
388 if (!swig_callbackGetNextKeyboardFocusableActor) {
389 return Dali::Toolkit::Internal::Control::GetNextKeyboardFocusableActor(currentFocusedActor,direction,loopEnabled);
391 jcurrentFocusedActor = (void *)new Dali::Actor((const Dali::Actor &)currentFocusedActor);
392 jdirection = (int)direction;
393 jloopEnabled = loopEnabled;
394 jresult = (void *) swig_callbackGetNextKeyboardFocusableActor(jcurrentFocusedActor, jdirection, jloopEnabled);
396 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Actor", 0);
399 c_result = *(Dali::Actor *)jresult;
404 void SwigDirector_ViewWrapperImpl::OnKeyboardFocusChangeCommitted(Dali::Actor commitedFocusableActor) {
405 void * jcommitedFocusableActor ;
406 jcommitedFocusableActor = (void *)new Dali::Actor((const Dali::Actor &)commitedFocusableActor);
407 swig_callbackOnKeyboardFocusChangeCommitted(jcommitedFocusableActor);
409 Dali::Toolkit::Internal::Control::OnKeyboardFocusChangeCommitted(commitedFocusableActor);
412 bool SwigDirector_ViewWrapperImpl::OnKeyboardEnter() {
413 bool c_result = SwigValueInit< bool >() ;
414 unsigned int jresult = 0 ;
416 if (!swig_callbackOnKeyboardEnter) {
417 return Dali::Toolkit::Internal::Control::OnKeyboardEnter();
419 jresult = (unsigned int) swig_callbackOnKeyboardEnter();
420 c_result = jresult ? true : false;
425 void SwigDirector_ViewWrapperImpl::OnPinch(Dali::PinchGesture const &pinch) {
427 jpinch = (Dali::PinchGesture *) &pinch;
428 swig_callbackOnPinch(jpinch);
430 Dali::Toolkit::Internal::Control::OnPinch(pinch);
433 void SwigDirector_ViewWrapperImpl::OnPan(Dali::PanGesture const &pan) {
435 jpan = (Dali::PanGesture *) &pan;
436 swig_callbackOnPan(jpan);
438 Dali::Toolkit::Internal::Control::OnPan(pan);
441 void SwigDirector_ViewWrapperImpl::OnTap(Dali::TapGesture const &tap) {
443 jtap = (Dali::TapGesture *) &tap;
444 swig_callbackOnTap(jtap);
446 Dali::Toolkit::Internal::Control::OnTap(tap);
449 void SwigDirector_ViewWrapperImpl::OnLongPress(Dali::LongPressGesture const &longPress) {
450 void * jlongPress = 0 ;
452 jlongPress = (Dali::LongPressGesture *) &longPress;
453 swig_callbackOnLongPress(jlongPress);
455 Dali::Toolkit::Internal::Control::OnLongPress(longPress);
458 Dali::Toolkit::Internal::Control::Extension *SwigDirector_ViewWrapperImpl::GetControlExtension() {
459 return Dali::Toolkit::Internal::Control::GetControlExtension();
462 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) {
463 swig_callbackOnStageConnection = callbackOnStageConnection;
464 swig_callbackOnStageDisconnection = callbackOnStageDisconnection;
465 swig_callbackOnChildAdd = callbackOnChildAdd;
466 swig_callbackOnChildRemove = callbackOnChildRemove;
467 swig_callbackOnPropertySet = callbackOnPropertySet;
468 swig_callbackOnSizeSet = callbackOnSizeSet;
469 swig_callbackOnSizeAnimation = callbackOnSizeAnimation;
470 swig_callbackOnTouchEvent = callbackOnTouchEvent;
471 swig_callbackOnHoverEvent = callbackOnHoverEvent;
472 swig_callbackOnKeyEvent = callbackOnKeyEvent;
473 swig_callbackOnWheelEvent = callbackOnWheelEvent;
474 swig_callbackOnRelayout = callbackOnRelayout;
475 swig_callbackOnSetResizePolicy = callbackOnSetResizePolicy;
476 swig_callbackGetNaturalSize = callbackGetNaturalSize;
477 swig_callbackCalculateChildSize = callbackCalculateChildSize;
478 swig_callbackGetHeightForWidth = callbackGetHeightForWidth;
479 swig_callbackGetWidthForHeight = callbackGetWidthForHeight;
480 swig_callbackRelayoutDependentOnChildren__SWIG_0 = callbackRelayoutDependentOnChildren__SWIG_0;
481 swig_callbackRelayoutDependentOnChildren__SWIG_1 = callbackRelayoutDependentOnChildren__SWIG_1;
482 swig_callbackOnCalculateRelayoutSize = callbackOnCalculateRelayoutSize;
483 swig_callbackOnLayoutNegotiated = callbackOnLayoutNegotiated;
484 swig_callbackOnInitialize = callbackOnInitialize;
485 swig_callbackOnControlChildAdd = callbackOnControlChildAdd;
486 swig_callbackOnControlChildRemove = callbackOnControlChildRemove;
487 swig_callbackOnStyleChange = callbackOnStyleChange;
488 swig_callbackOnAccessibilityActivated = callbackOnAccessibilityActivated;
489 swig_callbackOnAccessibilityPan = callbackOnAccessibilityPan;
490 swig_callbackOnAccessibilityTouch = callbackOnAccessibilityTouch;
491 swig_callbackOnAccessibilityValueChange = callbackOnAccessibilityValueChange;
492 swig_callbackOnAccessibilityZoom = callbackOnAccessibilityZoom;
493 swig_callbackOnKeyInputFocusGained = callbackOnKeyInputFocusGained;
494 swig_callbackOnKeyInputFocusLost = callbackOnKeyInputFocusLost;
495 swig_callbackGetNextKeyboardFocusableActor = callbackGetNextKeyboardFocusableActor;
496 swig_callbackOnKeyboardFocusChangeCommitted = callbackOnKeyboardFocusChangeCommitted;
497 swig_callbackOnKeyboardEnter = callbackOnKeyboardEnter;
498 swig_callbackOnPinch = callbackOnPinch;
499 swig_callbackOnPan = callbackOnPan;
500 swig_callbackOnTap = callbackOnTap;
501 swig_callbackOnLongPress = callbackOnLongPress;
502 swig_callbackSignalConnected = callbackSignalConnected;
503 swig_callbackSignalDisconnected = callbackSignalDisconnected;
506 void SwigDirector_ViewWrapperImpl::swig_init_callbacks() {
507 swig_callbackOnStageConnection = 0;
508 swig_callbackOnStageDisconnection = 0;
509 swig_callbackOnChildAdd = 0;
510 swig_callbackOnChildRemove = 0;
511 swig_callbackOnPropertySet = 0;
512 swig_callbackOnSizeSet = 0;
513 swig_callbackOnSizeAnimation = 0;
514 swig_callbackOnTouchEvent = 0;
515 swig_callbackOnHoverEvent = 0;
516 swig_callbackOnKeyEvent = 0;
517 swig_callbackOnWheelEvent = 0;
518 swig_callbackOnRelayout = 0;
519 swig_callbackOnSetResizePolicy = 0;
520 swig_callbackGetNaturalSize = 0;
521 swig_callbackCalculateChildSize = 0;
522 swig_callbackGetHeightForWidth = 0;
523 swig_callbackGetWidthForHeight = 0;
524 swig_callbackRelayoutDependentOnChildren__SWIG_0 = 0;
525 swig_callbackRelayoutDependentOnChildren__SWIG_1 = 0;
526 swig_callbackOnCalculateRelayoutSize = 0;
527 swig_callbackOnLayoutNegotiated = 0;
528 swig_callbackOnInitialize = 0;
529 swig_callbackOnControlChildAdd = 0;
530 swig_callbackOnControlChildRemove = 0;
531 swig_callbackOnStyleChange = 0;
532 swig_callbackOnAccessibilityActivated = 0;
533 swig_callbackOnAccessibilityPan = 0;
534 swig_callbackOnAccessibilityTouch = 0;
535 swig_callbackOnAccessibilityValueChange = 0;
536 swig_callbackOnAccessibilityZoom = 0;
537 swig_callbackOnKeyInputFocusGained = 0;
538 swig_callbackOnKeyInputFocusLost = 0;
539 swig_callbackGetNextKeyboardFocusableActor = 0;
540 swig_callbackOnKeyboardFocusChangeCommitted = 0;
541 swig_callbackOnKeyboardEnter = 0;
542 swig_callbackOnPinch = 0;
543 swig_callbackOnPan = 0;
544 swig_callbackOnTap = 0;
545 swig_callbackOnLongPress = 0;
546 swig_callbackSignalConnected = 0;
547 swig_callbackSignalDisconnected = 0;
550 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_CONTROL_BEHAVIOUR_FLAG_COUNT_get() {
554 result = (int)Dali::Toolkit::Internal::ControlWrapper::CONTROL_BEHAVIOUR_FLAG_COUNT;
560 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapperImpl(int jarg1) {
562 Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour arg1 ;
563 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
565 arg1 = (Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour)jarg1;
568 result = (Dali::Toolkit::Internal::ControlWrapper *)new SwigDirector_ViewWrapperImpl(arg1);
569 } catch (std::out_of_range& e) {
571 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
573 } catch (std::exception& e) {
575 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
577 } catch (Dali::DaliException e) {
579 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
583 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
588 jresult = (void *)result;
593 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_New(char * jarg1, void * jarg2) {
596 Dali::Toolkit::Internal::ControlWrapper *arg2 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
597 Dali::Toolkit::ControlWrapper result;
600 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
603 (&arg1)->assign(jarg1);
604 arg2 = (Dali::Toolkit::Internal::ControlWrapper *)jarg2;
607 result = Dali::Toolkit::Internal::ControlWrapper::New(arg1,arg2);
608 } catch (std::out_of_range& e) {
610 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
612 } catch (std::exception& e) {
614 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
616 } catch (Dali::DaliException e) {
618 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
622 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
627 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
632 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapperImpl(void * jarg1) {
633 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
635 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
642 } catch (std::out_of_range& e) {
644 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
646 } catch (std::exception& e) {
648 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
650 } catch (Dali::DaliException e) {
652 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
656 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
664 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) {
665 Dali::Toolkit::Internal::ControlWrapper *obj = (Dali::Toolkit::Internal::ControlWrapper *)objarg;
666 SwigDirector_ViewWrapperImpl *director = dynamic_cast<SwigDirector_ViewWrapperImpl *>(obj);
668 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);
673 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetControlWrapperImpl__SWIG_0(void * jarg1) {
675 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
676 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
678 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
680 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper & type is null", 0);
685 result = (Dali::Toolkit::Internal::ControlWrapper *) &Dali::Toolkit::GetControlWrapperImpl(*arg1);
686 } catch (std::out_of_range& e) {
688 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
690 } catch (std::exception& e) {
692 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
694 } catch (Dali::DaliException e) {
696 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
700 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
705 jresult = (void *)result;
710 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_New(char * jarg1, void * jarg2) {
713 Dali::Toolkit::Internal::ControlWrapper *arg2 = 0 ;
714 Dali::Toolkit::ControlWrapper result;
717 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
720 (&arg1)->assign(jarg1);
721 arg2 = (Dali::Toolkit::Internal::ControlWrapper *)jarg2;
723 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::ControlWrapper & type is null", 0);
728 result = Dali::Toolkit::ControlWrapper::New(arg1,*arg2);
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;
737 } catch (Dali::DaliException e) {
739 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
743 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
748 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
753 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_0() {
755 Dali::Toolkit::ControlWrapper *result = 0 ;
759 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper();
760 } catch (std::out_of_range& e) {
762 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
764 } catch (std::exception& e) {
766 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
768 } catch (Dali::DaliException e) {
770 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
774 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
779 jresult = (void *)result;
784 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapper(void * jarg1) {
785 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
787 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
791 } catch (std::out_of_range& e) {
793 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
795 } catch (std::exception& e) {
797 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
799 } catch (Dali::DaliException e) {
801 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
805 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
813 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_1(void * jarg1) {
815 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
816 Dali::Toolkit::ControlWrapper *result = 0 ;
818 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
820 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
825 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper((Dali::Toolkit::ControlWrapper const &)*arg1);
826 } catch (std::out_of_range& e) {
828 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
830 } catch (std::exception& e) {
832 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
834 } catch (Dali::DaliException e) {
836 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
840 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
845 jresult = (void *)result;
850 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_Assign(void * jarg1, void * jarg2) {
852 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
853 Dali::Toolkit::ControlWrapper *arg2 = 0 ;
854 Dali::Toolkit::ControlWrapper *result = 0 ;
856 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
857 arg2 = (Dali::Toolkit::ControlWrapper *)jarg2;
859 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
864 result = (Dali::Toolkit::ControlWrapper *) &(arg1)->operator =((Dali::Toolkit::ControlWrapper const &)*arg2);
865 } catch (std::out_of_range& e) {
867 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
869 } catch (std::exception& e) {
871 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
873 } catch (Dali::DaliException e) {
875 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
879 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
884 jresult = (void *)result;
889 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_DownCast(void * jarg1) {
891 Dali::BaseHandle arg1 ;
892 Dali::BaseHandle *argp1 ;
893 Dali::Toolkit::ControlWrapper result;
895 argp1 = (Dali::BaseHandle *)jarg1;
897 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
903 result = Dali::Toolkit::ControlWrapper::DownCast(arg1);
904 } catch (std::out_of_range& e) {
906 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
908 } catch (std::exception& e) {
910 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
912 } catch (Dali::DaliException e) {
914 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
918 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
923 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
927 SWIGEXPORT Dali::Toolkit::Internal::Control * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_SWIGUpcast(Dali::Toolkit::Internal::ControlWrapper *jarg1) {
928 return (Dali::Toolkit::Internal::Control *)jarg1;
931 SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_ViewWrapper_SWIGUpcast(Dali::Toolkit::ControlWrapper *jarg1) {
932 return (Dali::Toolkit::Control *)jarg1;
935 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutRequest(void * jarg1) {
936 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
938 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
941 (arg1)->RelayoutRequest();
942 } catch (std::out_of_range& e) {
944 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
946 } catch (std::exception& e) {
948 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
950 } catch (Dali::DaliException e) {
952 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
956 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
964 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetHeightForWidthBase(void * jarg1, float jarg2) {
966 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
970 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
974 result = (float)(arg1)->GetHeightForWidthBase(arg2);
975 } catch (std::out_of_range& e) {
977 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
979 } catch (std::exception& e) {
981 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
983 } catch (Dali::DaliException e) {
985 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
989 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
999 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetWidthForHeightBase(void * jarg1, float jarg2) {
1001 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1005 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1006 arg2 = (float)jarg2;
1009 result = (float)(arg1)->GetWidthForHeightBase(arg2);
1010 } catch (std::out_of_range& e) {
1012 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1014 } catch (std::exception& e) {
1016 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1018 } catch (Dali::DaliException e) {
1020 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1024 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1034 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_CalculateChildSizeBase(void * jarg1, void * jarg2, int jarg3) {
1036 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1037 Dali::Actor *arg2 = 0 ;
1038 Dali::Dimension::Type arg3 ;
1041 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1042 arg2 = (Dali::Actor *)jarg2;
1044 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor const & type is null", 0);
1047 arg3 = (Dali::Dimension::Type)jarg3;
1050 result = (float)(arg1)->CalculateChildSizeBase((Dali::Actor const &)*arg2,arg3);
1051 } catch (std::out_of_range& e) {
1053 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1055 } catch (std::exception& e) {
1057 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1059 } catch (Dali::DaliException e) {
1061 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1065 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1075 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_0(void * jarg1, int jarg2) {
1076 unsigned int jresult ;
1077 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1078 Dali::Dimension::Type arg2 ;
1081 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1082 arg2 = (Dali::Dimension::Type)jarg2;
1085 result = (bool)(arg1)->RelayoutDependentOnChildrenBase(arg2);
1086 } catch (std::out_of_range& e) {
1088 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1090 } catch (std::exception& e) {
1092 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1094 } catch (Dali::DaliException e) {
1096 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1100 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1110 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_1(void * jarg1) {
1111 unsigned int jresult ;
1112 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1115 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1118 result = (bool)(arg1)->RelayoutDependentOnChildrenBase();
1119 } catch (std::out_of_range& e) {
1121 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1123 } catch (std::exception& e) {
1125 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1127 } catch (Dali::DaliException e) {
1129 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1133 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1142 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_0(void * jarg1, int jarg2, void * jarg3) {
1143 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1144 Dali::Property::Index arg2 ;
1145 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1147 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1148 arg2 = (Dali::Property::Index)jarg2;
1149 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1151 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1156 (arg1)->RegisterVisual(arg2,*arg3);
1157 } catch (std::out_of_range& e) {
1159 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1161 } catch (std::exception& e) {
1163 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1165 } catch (Dali::DaliException e) {
1167 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1171 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1179 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_1(void * jarg1, int jarg2, void * jarg3, unsigned int jarg4) {
1180 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1181 Dali::Property::Index arg2 ;
1182 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1185 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1186 arg2 = (Dali::Property::Index)jarg2;
1187 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1189 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1192 arg4 = jarg4 ? true : false;
1195 (arg1)->RegisterVisual(arg2,*arg3,arg4);
1196 } catch (std::out_of_range& e) {
1198 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1200 } catch (std::exception& e) {
1202 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1204 } catch (Dali::DaliException e) {
1206 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1210 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1218 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_UnregisterVisual(void * jarg1, int jarg2) {
1219 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1220 Dali::Property::Index arg2 ;
1222 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1223 arg2 = (Dali::Property::Index)jarg2;
1226 (arg1)->UnregisterVisual(arg2);
1227 } catch (std::out_of_range& e) {
1229 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1231 } catch (std::exception& e) {
1233 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1235 } catch (Dali::DaliException e) {
1237 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1241 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1249 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_GetVisual(void * jarg1, int jarg2) {
1251 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1252 Dali::Property::Index arg2 ;
1253 Dali::Toolkit::Visual::Base result;
1255 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1256 arg2 = (Dali::Property::Index)jarg2;
1259 result = ((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->GetVisual(arg2);
1260 } catch (std::out_of_range& e) {
1262 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1264 } catch (std::exception& e) {
1266 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1268 } catch (Dali::DaliException e) {
1270 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1274 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1279 jresult = new Dali::Toolkit::Visual::Base((const Dali::Toolkit::Visual::Base &)result);
1284 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EnableVisual(void * jarg1, int jarg2, unsigned int jarg3) {
1285 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1286 Dali::Property::Index arg2 ;
1289 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1290 arg2 = (Dali::Property::Index)jarg2;
1291 arg3 = jarg3 ? true : false;
1294 (arg1)->EnableVisual(arg2,arg3);
1295 } catch (std::out_of_range& e) {
1297 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1299 } catch (std::exception& e) {
1301 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1303 } catch (Dali::DaliException e) {
1305 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1309 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1317 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_IsVisualEnabled(void * jarg1, int jarg2) {
1318 unsigned int jresult ;
1319 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1320 Dali::Property::Index arg2 ;
1323 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1324 arg2 = (Dali::Property::Index)jarg2;
1327 result = (bool)((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->IsVisualEnabled(arg2);
1328 } catch (std::out_of_range& e) {
1330 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1332 } catch (std::exception& e) {
1334 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1336 } catch (Dali::DaliException e) {
1338 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1342 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1351 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_CreateTransition(void * jarg1, void * jarg2) {
1353 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1354 Dali::Toolkit::TransitionData *arg2 = 0 ;
1355 Dali::Animation result;
1357 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1358 arg2 = (Dali::Toolkit::TransitionData *)jarg2;
1360 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
1365 result = (arg1)->CreateTransition((Dali::Toolkit::TransitionData const &)*arg2);
1366 } catch (std::out_of_range& e) {
1368 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1370 } catch (std::exception& e) {
1372 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1374 } catch (Dali::DaliException e) {
1376 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1380 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1385 jresult = new Dali::Animation((const Dali::Animation &)result);
1390 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EmitKeyInputFocusSignal(void * jarg1, unsigned int jarg2) {
1391 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1394 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1395 arg2 = jarg2 ? true : false;
1398 (arg1)->EmitKeyInputFocusSignal(arg2);
1399 } catch (std::out_of_range& e) {
1401 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1403 } catch (std::exception& e) {
1405 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1407 } catch (Dali::DaliException e) {
1409 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1413 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1420 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_ApplyThemeStyle(void * jarg1) {
1421 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1423 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1426 (arg1)->ApplyThemeStyle();
1427 } catch (std::out_of_range& e) {
1429 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1431 } catch (std::exception& e) {
1433 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1435 } catch (Dali::DaliException e) {
1437 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1441 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;