2 * Copyright (c) 2020 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>
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::OnSceneConnection(int depth) {
39 swig_callbackOnSceneConnection(depth);
41 Dali::Toolkit::Internal::Control::OnSceneConnection(depth);
44 void SwigDirector_ViewWrapperImpl::OnSceneDisconnection() {
45 swig_callbackOnSceneDisconnection();
47 Dali::Toolkit::Internal::Control::OnSceneDisconnection();
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(new Dali::Animation(animation), (Dali::Vector3 *) &targetSize);
84 Dali::Toolkit::Internal::Control::OnSizeAnimation(animation,targetSize);
87 bool SwigDirector_ViewWrapperImpl::OnKeyEvent(Dali::KeyEvent const &event) {
88 bool c_result = SwigValueInit< bool >() ;
89 unsigned int jresult = 0 ;
92 if (!swig_callbackOnKeyEvent) {
93 return Dali::Toolkit::Internal::Control::OnKeyEvent(event);
95 jarg0 = (Dali::KeyEvent *) &event;
96 jresult = (unsigned int) swig_callbackOnKeyEvent(jarg0);
97 c_result = jresult ? true : false;
102 void SwigDirector_ViewWrapperImpl::OnRelayout(Dali::Vector2 const &size, Dali::RelayoutContainer &container) {
104 void * jcontainer = 0 ;
106 jsize = (Dali::Vector2 *) &size;
107 jcontainer = (Dali::RelayoutContainer *) &container;
108 swig_callbackOnRelayout(jsize, jcontainer);
110 Dali::Toolkit::Internal::Control::OnRelayout(size,container);
113 void SwigDirector_ViewWrapperImpl::OnSetResizePolicy(Dali::ResizePolicy::Type policy, Dali::Dimension::Type dimension) {
117 jpolicy = (int)policy;
118 jdimension = (int)dimension;
119 swig_callbackOnSetResizePolicy(jpolicy, jdimension);
121 Dali::Toolkit::Internal::Control::OnSetResizePolicy(policy,dimension);
124 Dali::Vector3 SwigDirector_ViewWrapperImpl::GetNaturalSize() {
125 Dali::Vector3 c_result ;
128 if (!swig_callbackGetNaturalSize) {
129 return Dali::Toolkit::Internal::Control::GetNaturalSize();
131 jresult = (void *) swig_callbackGetNaturalSize();
133 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Vector3", 0);
136 c_result = *(Dali::Vector3 *)jresult;
141 float SwigDirector_ViewWrapperImpl::CalculateChildSize(Dali::Actor const &child, Dali::Dimension::Type dimension) {
142 float c_result = SwigValueInit< float >() ;
147 if (!swig_callbackCalculateChildSize) {
148 return Dali::Toolkit::Internal::Control::CalculateChildSize(child,dimension);
150 jchild = (Dali::Actor *) &child;
151 jdimension = (int)dimension;
152 jresult = (float) swig_callbackCalculateChildSize(jchild, jdimension);
153 c_result = (float)jresult;
158 float SwigDirector_ViewWrapperImpl::GetHeightForWidth(float width) {
159 float c_result = SwigValueInit< float >() ;
163 if (!swig_callbackGetHeightForWidth) {
164 return Dali::Toolkit::Internal::Control::GetHeightForWidth(width);
167 jresult = (float) swig_callbackGetHeightForWidth(jwidth);
168 c_result = (float)jresult;
173 float SwigDirector_ViewWrapperImpl::GetWidthForHeight(float height) {
174 float c_result = SwigValueInit< float >() ;
178 if (!swig_callbackGetWidthForHeight) {
179 return Dali::Toolkit::Internal::Control::GetWidthForHeight(height);
182 jresult = (float) swig_callbackGetWidthForHeight(jheight);
183 c_result = (float)jresult;
188 bool SwigDirector_ViewWrapperImpl::RelayoutDependentOnChildren(Dali::Dimension::Type dimension) {
189 bool c_result = SwigValueInit< bool >() ;
190 unsigned int jresult = 0 ;
193 if (!swig_callbackRelayoutDependentOnChildren__SWIG_0) {
194 return Dali::Toolkit::Internal::Control::RelayoutDependentOnChildren(dimension);
196 jdimension = (int)dimension;
197 jresult = (unsigned int) swig_callbackRelayoutDependentOnChildren__SWIG_0(jdimension);
198 c_result = jresult ? true : false;
203 void SwigDirector_ViewWrapperImpl::OnCalculateRelayoutSize(Dali::Dimension::Type dimension) {
206 jdimension = (int)dimension;
207 swig_callbackOnCalculateRelayoutSize(jdimension);
209 Dali::Toolkit::Internal::Control::OnCalculateRelayoutSize(dimension);
212 void SwigDirector_ViewWrapperImpl::OnLayoutNegotiated(float size, Dali::Dimension::Type dimension) {
217 jdimension = (int)dimension;
218 swig_callbackOnLayoutNegotiated(jsize, jdimension);
220 Dali::Toolkit::Internal::Control::OnLayoutNegotiated(size,dimension);
223 void SwigDirector_ViewWrapperImpl::OnInitialize() {
224 swig_callbackOnInitialize();
226 Dali::Toolkit::Internal::Control::OnInitialize();
229 void SwigDirector_ViewWrapperImpl::OnStyleChange(Dali::Toolkit::StyleManager styleManager, Dali::StyleChange::Type change) {
230 void * jstyleManager ;
233 jstyleManager = (void *)new Dali::Toolkit::StyleManager((const Dali::Toolkit::StyleManager &)styleManager);
234 jchange = (int)change;
235 swig_callbackOnStyleChange(jstyleManager, jchange);
237 Dali::Toolkit::Internal::Control::OnStyleChange(styleManager,change);
240 bool SwigDirector_ViewWrapperImpl::OnAccessibilityActivated() {
241 bool c_result = SwigValueInit< bool >() ;
242 unsigned int jresult = 0 ;
244 if (!swig_callbackOnAccessibilityActivated) {
245 return Dali::Toolkit::Internal::Control::OnAccessibilityActivated();
247 jresult = (unsigned int) swig_callbackOnAccessibilityActivated();
248 c_result = jresult ? true : false;
253 bool SwigDirector_ViewWrapperImpl::OnAccessibilityPan(Dali::PanGesture gesture) {
254 bool c_result = SwigValueInit< bool >() ;
255 unsigned int jresult = 0 ;
258 if (!swig_callbackOnAccessibilityPan) {
259 return Dali::Toolkit::Internal::Control::OnAccessibilityPan(gesture);
261 jgesture = (void *)new Dali::PanGesture((const Dali::PanGesture &)gesture);
262 jresult = (unsigned int) swig_callbackOnAccessibilityPan(jgesture);
263 c_result = jresult ? true : false;
268 bool SwigDirector_ViewWrapperImpl::OnAccessibilityValueChange(bool isIncrease) {
269 bool c_result = SwigValueInit< bool >();
270 unsigned int jresult = 0;
271 unsigned int jisIncrease;
273 if (!swig_callbackOnAccessibilityValueChange) {
274 return Dali::Toolkit::Internal::Control::OnAccessibilityValueChange(isIncrease);
276 jisIncrease = isIncrease;
277 jresult = (unsigned int) swig_callbackOnAccessibilityValueChange(jisIncrease);
278 c_result = jresult ? true : false;
283 bool SwigDirector_ViewWrapperImpl::OnAccessibilityZoom() {
284 bool c_result = SwigValueInit< bool >() ;
285 unsigned int jresult = 0 ;
287 if (!swig_callbackOnAccessibilityZoom) {
288 return Dali::Toolkit::Internal::Control::OnAccessibilityZoom();
290 jresult = (unsigned int) swig_callbackOnAccessibilityZoom();
291 c_result = jresult ? true : false;
296 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusGained() {
297 swig_callbackOnKeyInputFocusGained();
299 Dali::Toolkit::Internal::Control::OnKeyInputFocusGained();
302 void SwigDirector_ViewWrapperImpl::OnKeyInputFocusLost() {
303 swig_callbackOnKeyInputFocusLost();
305 Dali::Toolkit::Internal::Control::OnKeyInputFocusLost();
308 Dali::Actor SwigDirector_ViewWrapperImpl::GetNextKeyboardFocusableActor(Dali::Actor currentFocusedActor, Dali::Toolkit::Control::KeyboardFocus::Direction direction, bool loopEnabled) {
309 Dali::Actor c_result ;
311 void * jcurrentFocusedActor ;
313 unsigned int jloopEnabled ;
315 if (!swig_callbackGetNextKeyboardFocusableActor) {
316 return Dali::Toolkit::Internal::Control::GetNextKeyboardFocusableActor(currentFocusedActor,direction,loopEnabled);
318 jcurrentFocusedActor = (void *)new Dali::Actor((const Dali::Actor &)currentFocusedActor);
319 jdirection = (int)direction;
320 jloopEnabled = loopEnabled;
321 jresult = (void *) swig_callbackGetNextKeyboardFocusableActor(jcurrentFocusedActor, jdirection, jloopEnabled);
323 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Unexpected null return for type Dali::Actor", 0);
326 c_result = *(Dali::Actor *)jresult;
331 void SwigDirector_ViewWrapperImpl::OnKeyboardFocusChangeCommitted(Dali::Actor commitedFocusableActor) {
332 void * jcommitedFocusableActor ;
333 jcommitedFocusableActor = (void *)new Dali::Actor((const Dali::Actor &)commitedFocusableActor);
334 swig_callbackOnKeyboardFocusChangeCommitted(jcommitedFocusableActor);
336 Dali::Toolkit::Internal::Control::OnKeyboardFocusChangeCommitted(commitedFocusableActor);
339 bool SwigDirector_ViewWrapperImpl::OnKeyboardEnter() {
340 bool c_result = SwigValueInit< bool >() ;
341 unsigned int jresult = 0 ;
343 if (!swig_callbackOnKeyboardEnter) {
344 return Dali::Toolkit::Internal::Control::OnKeyboardEnter();
346 jresult = (unsigned int) swig_callbackOnKeyboardEnter();
347 c_result = jresult ? true : false;
352 void SwigDirector_ViewWrapperImpl::OnPinch(Dali::PinchGesture const &pinch) {
354 jpinch = (Dali::PinchGesture *) &pinch;
355 swig_callbackOnPinch(jpinch);
357 Dali::Toolkit::Internal::Control::OnPinch(pinch);
360 void SwigDirector_ViewWrapperImpl::OnPan(Dali::PanGesture const &pan) {
362 jpan = (Dali::PanGesture *) &pan;
363 swig_callbackOnPan(jpan);
365 Dali::Toolkit::Internal::Control::OnPan(pan);
368 void SwigDirector_ViewWrapperImpl::OnTap(Dali::TapGesture const &tap) {
370 jtap = (Dali::TapGesture *) &tap;
371 swig_callbackOnTap(jtap);
373 Dali::Toolkit::Internal::Control::OnTap(tap);
376 void SwigDirector_ViewWrapperImpl::OnLongPress(Dali::LongPressGesture const &longPress) {
377 void * jlongPress = 0 ;
379 jlongPress = (Dali::LongPressGesture *) &longPress;
380 swig_callbackOnLongPress(jlongPress);
382 Dali::Toolkit::Internal::Control::OnLongPress(longPress);
385 Dali::Toolkit::Internal::Control::Extension *SwigDirector_ViewWrapperImpl::GetControlExtension() {
386 return Dali::Toolkit::Internal::Control::GetControlExtension();
389 void SwigDirector_ViewWrapperImpl::swig_connect_director(SWIG_Callback0_t callbackOnSceneConnection, SWIG_Callback1_t callbackOnSceneDisconnection, SWIG_Callback2_t callbackOnChildAdd, SWIG_Callback3_t callbackOnChildRemove, SWIG_Callback4_t callbackOnPropertySet, SWIG_Callback5_t callbackOnSizeSet, SWIG_Callback6_t callbackOnSizeAnimation, SWIG_Callback9_t callbackOnKeyEvent, 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_Callback24_t callbackOnStyleChange, SWIG_Callback25_t callbackOnAccessibilityActivated, SWIG_Callback26_t callbackOnAccessibilityPan, 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) {
390 swig_callbackOnSceneConnection = callbackOnSceneConnection;
391 swig_callbackOnSceneDisconnection = callbackOnSceneDisconnection;
392 swig_callbackOnChildAdd = callbackOnChildAdd;
393 swig_callbackOnChildRemove = callbackOnChildRemove;
394 swig_callbackOnPropertySet = callbackOnPropertySet;
395 swig_callbackOnSizeSet = callbackOnSizeSet;
396 swig_callbackOnSizeAnimation = callbackOnSizeAnimation;
397 swig_callbackOnKeyEvent = callbackOnKeyEvent;
398 swig_callbackOnRelayout = callbackOnRelayout;
399 swig_callbackOnSetResizePolicy = callbackOnSetResizePolicy;
400 swig_callbackGetNaturalSize = callbackGetNaturalSize;
401 swig_callbackCalculateChildSize = callbackCalculateChildSize;
402 swig_callbackGetHeightForWidth = callbackGetHeightForWidth;
403 swig_callbackGetWidthForHeight = callbackGetWidthForHeight;
404 swig_callbackRelayoutDependentOnChildren__SWIG_0 = callbackRelayoutDependentOnChildren__SWIG_0;
405 swig_callbackRelayoutDependentOnChildren__SWIG_1 = callbackRelayoutDependentOnChildren__SWIG_1;
406 swig_callbackOnCalculateRelayoutSize = callbackOnCalculateRelayoutSize;
407 swig_callbackOnLayoutNegotiated = callbackOnLayoutNegotiated;
408 swig_callbackOnInitialize = callbackOnInitialize;
409 swig_callbackOnStyleChange = callbackOnStyleChange;
410 swig_callbackOnAccessibilityActivated = callbackOnAccessibilityActivated;
411 swig_callbackOnAccessibilityPan = callbackOnAccessibilityPan;
412 swig_callbackOnAccessibilityValueChange = callbackOnAccessibilityValueChange;
413 swig_callbackOnAccessibilityZoom = callbackOnAccessibilityZoom;
414 swig_callbackOnKeyInputFocusGained = callbackOnKeyInputFocusGained;
415 swig_callbackOnKeyInputFocusLost = callbackOnKeyInputFocusLost;
416 swig_callbackGetNextKeyboardFocusableActor = callbackGetNextKeyboardFocusableActor;
417 swig_callbackOnKeyboardFocusChangeCommitted = callbackOnKeyboardFocusChangeCommitted;
418 swig_callbackOnKeyboardEnter = callbackOnKeyboardEnter;
419 swig_callbackOnPinch = callbackOnPinch;
420 swig_callbackOnPan = callbackOnPan;
421 swig_callbackOnTap = callbackOnTap;
422 swig_callbackOnLongPress = callbackOnLongPress;
423 swig_callbackSignalConnected = callbackSignalConnected;
424 swig_callbackSignalDisconnected = callbackSignalDisconnected;
427 void SwigDirector_ViewWrapperImpl::swig_init_callbacks() {
428 swig_callbackOnSceneConnection = 0;
429 swig_callbackOnSceneDisconnection = 0;
430 swig_callbackOnChildAdd = 0;
431 swig_callbackOnChildRemove = 0;
432 swig_callbackOnPropertySet = 0;
433 swig_callbackOnSizeSet = 0;
434 swig_callbackOnSizeAnimation = 0;
435 swig_callbackOnKeyEvent = 0;
436 swig_callbackOnRelayout = 0;
437 swig_callbackOnSetResizePolicy = 0;
438 swig_callbackGetNaturalSize = 0;
439 swig_callbackCalculateChildSize = 0;
440 swig_callbackGetHeightForWidth = 0;
441 swig_callbackGetWidthForHeight = 0;
442 swig_callbackRelayoutDependentOnChildren__SWIG_0 = 0;
443 swig_callbackRelayoutDependentOnChildren__SWIG_1 = 0;
444 swig_callbackOnCalculateRelayoutSize = 0;
445 swig_callbackOnLayoutNegotiated = 0;
446 swig_callbackOnInitialize = 0;
447 swig_callbackOnStyleChange = 0;
448 swig_callbackOnAccessibilityActivated = 0;
449 swig_callbackOnAccessibilityPan = 0;
450 swig_callbackOnAccessibilityValueChange = 0;
451 swig_callbackOnAccessibilityZoom = 0;
452 swig_callbackOnKeyInputFocusGained = 0;
453 swig_callbackOnKeyInputFocusLost = 0;
454 swig_callbackGetNextKeyboardFocusableActor = 0;
455 swig_callbackOnKeyboardFocusChangeCommitted = 0;
456 swig_callbackOnKeyboardEnter = 0;
457 swig_callbackOnPinch = 0;
458 swig_callbackOnPan = 0;
459 swig_callbackOnTap = 0;
460 swig_callbackOnLongPress = 0;
461 swig_callbackSignalConnected = 0;
462 swig_callbackSignalDisconnected = 0;
465 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_CONTROL_BEHAVIOUR_FLAG_COUNT_get() {
469 result = (int)Dali::Toolkit::Internal::ControlWrapper::CONTROL_BEHAVIOUR_FLAG_COUNT;
475 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapperImpl(int jarg1) {
477 Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour arg1 ;
478 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
480 arg1 = (Dali::Toolkit::Internal::ControlWrapper::CustomControlBehaviour)jarg1;
483 result = (Dali::Toolkit::Internal::ControlWrapper *)new SwigDirector_ViewWrapperImpl(arg1);
484 } catch (std::out_of_range& e) {
486 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
488 } catch (std::exception& e) {
490 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
492 } catch (Dali::DaliException e) {
494 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
498 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
503 jresult = (void *)result;
508 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_New(char * jarg1, void * jarg2) {
511 Dali::Toolkit::Internal::ControlWrapper *arg2 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
512 Dali::Toolkit::ControlWrapper result;
515 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
518 (&arg1)->assign(jarg1);
519 arg2 = (Dali::Toolkit::Internal::ControlWrapper *)jarg2;
522 result = Dali::Toolkit::Internal::ControlWrapper::New(arg1,arg2);
523 } catch (std::out_of_range& e) {
525 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
527 } catch (std::exception& e) {
529 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
531 } catch (Dali::DaliException e) {
533 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
537 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
542 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
547 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapperImpl(void * jarg1) {
548 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
550 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
557 } catch (std::out_of_range& e) {
559 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
561 } catch (std::exception& e) {
563 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
565 } catch (Dali::DaliException e) {
567 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
571 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
579 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_Callback9_t callback9, 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_Callback24_t callback24, SwigDirector_ViewWrapperImpl::SWIG_Callback25_t callback25, SwigDirector_ViewWrapperImpl::SWIG_Callback26_t callback26, 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) {
580 Dali::Toolkit::Internal::ControlWrapper *obj = (Dali::Toolkit::Internal::ControlWrapper *)objarg;
581 SwigDirector_ViewWrapperImpl *director = dynamic_cast<SwigDirector_ViewWrapperImpl *>(obj);
583 director->swig_connect_director(callback0, callback1, callback2, callback3, callback4, callback5, callback6, callback9, callback11, callback12, callback13, callback14, callback15, callback16, callback17, callback18, callback19, callback20, callback21, callback24, callback25, callback26, callback28, callback29, callback30, callback31, callback32, callback33, callback34, callback35, callback36, callback37, callback38, callback39, callback40);
588 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetControlWrapperImpl__SWIG_0(void * jarg1) {
590 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
591 Dali::Toolkit::Internal::ControlWrapper *result = 0 ;
593 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
595 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper & type is null", 0);
600 result = (Dali::Toolkit::Internal::ControlWrapper *) &Dali::Toolkit::GetControlWrapperImpl(*arg1);
601 } catch (std::out_of_range& e) {
603 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
605 } catch (std::exception& e) {
607 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
609 } catch (Dali::DaliException e) {
611 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
615 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
620 jresult = (void *)result;
625 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_New(char * jarg1, void * jarg2) {
628 Dali::Toolkit::Internal::ControlWrapper *arg2 = 0 ;
629 Dali::Toolkit::ControlWrapper result;
632 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "null string", 0);
635 (&arg1)->assign(jarg1);
636 arg2 = (Dali::Toolkit::Internal::ControlWrapper *)jarg2;
638 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Internal::ControlWrapper & type is null", 0);
643 result = Dali::Toolkit::ControlWrapper::New(arg1,*arg2);
644 } catch (std::out_of_range& e) {
646 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
648 } catch (std::exception& e) {
650 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
652 } catch (Dali::DaliException e) {
654 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
658 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
663 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
668 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_0() {
670 Dali::Toolkit::ControlWrapper *result = 0 ;
674 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper();
675 } catch (std::out_of_range& e) {
677 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
679 } catch (std::exception& e) {
681 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
683 } catch (Dali::DaliException e) {
685 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
689 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
694 jresult = (void *)result;
699 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_ViewWrapper(void * jarg1) {
700 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
702 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
706 } catch (std::out_of_range& e) {
708 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
710 } catch (std::exception& e) {
712 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
714 } catch (Dali::DaliException e) {
716 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
720 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
728 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_ViewWrapper__SWIG_1(void * jarg1) {
730 Dali::Toolkit::ControlWrapper *arg1 = 0 ;
731 Dali::Toolkit::ControlWrapper *result = 0 ;
733 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
735 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
740 result = (Dali::Toolkit::ControlWrapper *)new Dali::Toolkit::ControlWrapper((Dali::Toolkit::ControlWrapper const &)*arg1);
741 } catch (std::out_of_range& e) {
743 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
745 } catch (std::exception& e) {
747 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
749 } catch (Dali::DaliException e) {
751 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
755 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
760 jresult = (void *)result;
765 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_Assign(void * jarg1, void * jarg2) {
767 Dali::Toolkit::ControlWrapper *arg1 = (Dali::Toolkit::ControlWrapper *) 0 ;
768 Dali::Toolkit::ControlWrapper *arg2 = 0 ;
769 Dali::Toolkit::ControlWrapper *result = 0 ;
771 arg1 = (Dali::Toolkit::ControlWrapper *)jarg1;
772 arg2 = (Dali::Toolkit::ControlWrapper *)jarg2;
774 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::ControlWrapper const & type is null", 0);
779 result = (Dali::Toolkit::ControlWrapper *) &(arg1)->operator =((Dali::Toolkit::ControlWrapper const &)*arg2);
780 } catch (std::out_of_range& e) {
782 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
784 } catch (std::exception& e) {
786 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
788 } catch (Dali::DaliException e) {
790 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
794 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
799 jresult = (void *)result;
804 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_ViewWrapper_DownCast(void * jarg1) {
806 Dali::BaseHandle arg1 ;
807 Dali::BaseHandle *argp1 ;
808 Dali::Toolkit::ControlWrapper result;
810 argp1 = (Dali::BaseHandle *)jarg1;
812 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::BaseHandle", 0);
818 result = Dali::Toolkit::ControlWrapper::DownCast(arg1);
819 } catch (std::out_of_range& e) {
821 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
823 } catch (std::exception& e) {
825 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
827 } catch (Dali::DaliException e) {
829 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
833 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
838 jresult = new Dali::Toolkit::ControlWrapper((const Dali::Toolkit::ControlWrapper &)result);
842 SWIGEXPORT Dali::Toolkit::Internal::Control * SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_SWIGUpcast(Dali::Toolkit::Internal::ControlWrapper *jarg1) {
843 return (Dali::Toolkit::Internal::Control *)jarg1;
846 SWIGEXPORT Dali::Toolkit::Control * SWIGSTDCALL CSharp_Dali_ViewWrapper_SWIGUpcast(Dali::Toolkit::ControlWrapper *jarg1) {
847 return (Dali::Toolkit::Control *)jarg1;
850 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutRequest(void * jarg1) {
851 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
853 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
856 (arg1)->RelayoutRequest();
857 } catch (std::out_of_range& e) {
859 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
861 } catch (std::exception& e) {
863 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
865 } catch (Dali::DaliException e) {
867 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
871 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
879 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetHeightForWidthBase(void * jarg1, float jarg2) {
881 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
885 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
889 result = (float)(arg1)->GetHeightForWidthBase(arg2);
890 } catch (std::out_of_range& e) {
892 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
894 } catch (std::exception& e) {
896 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
898 } catch (Dali::DaliException e) {
900 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
904 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
914 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_GetWidthForHeightBase(void * jarg1, float jarg2) {
916 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
920 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
924 result = (float)(arg1)->GetWidthForHeightBase(arg2);
925 } catch (std::out_of_range& e) {
927 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
929 } catch (std::exception& e) {
931 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
933 } catch (Dali::DaliException e) {
935 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
939 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
949 SWIGEXPORT float SWIGSTDCALL CSharp_ViewWrapperImpl_CalculateChildSizeBase(void * jarg1, void * jarg2, int jarg3) {
951 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
952 Dali::Actor *arg2 = 0 ;
953 Dali::Dimension::Type arg3 ;
956 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
957 arg2 = (Dali::Actor *)jarg2;
959 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Actor const & type is null", 0);
962 arg3 = (Dali::Dimension::Type)jarg3;
965 result = (float)(arg1)->CalculateChildSizeBase((Dali::Actor const &)*arg2,arg3);
966 } catch (std::out_of_range& e) {
968 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
970 } catch (std::exception& e) {
972 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
974 } catch (Dali::DaliException e) {
976 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
980 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
990 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_0(void * jarg1, int jarg2) {
991 unsigned int jresult ;
992 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
993 Dali::Dimension::Type arg2 ;
996 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
997 arg2 = (Dali::Dimension::Type)jarg2;
1000 result = (bool)(arg1)->RelayoutDependentOnChildrenBase(arg2);
1001 } catch (std::out_of_range& e) {
1003 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1005 } catch (std::exception& e) {
1007 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1009 } catch (Dali::DaliException e) {
1011 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1015 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1025 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_RelayoutDependentOnChildrenBase__SWIG_1(void * jarg1) {
1026 unsigned int jresult ;
1027 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1030 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1033 result = (bool)(arg1)->RelayoutDependentOnChildrenBase();
1034 } catch (std::out_of_range& e) {
1036 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1038 } catch (std::exception& e) {
1040 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1042 } catch (Dali::DaliException e) {
1044 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1048 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1057 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_0(void * jarg1, int jarg2, void * jarg3) {
1058 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1059 Dali::Property::Index arg2 ;
1060 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1062 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1063 arg2 = (Dali::Property::Index)jarg2;
1064 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1066 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1071 (arg1)->RegisterVisual(arg2,*arg3);
1072 } catch (std::out_of_range& e) {
1074 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1076 } catch (std::exception& e) {
1078 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1080 } catch (Dali::DaliException e) {
1082 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1086 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1094 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_RegisterVisual__SWIG_1(void * jarg1, int jarg2, void * jarg3, unsigned int jarg4) {
1095 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1096 Dali::Property::Index arg2 ;
1097 Dali::Toolkit::Visual::Base *arg3 = 0 ;
1100 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1101 arg2 = (Dali::Property::Index)jarg2;
1102 arg3 = (Dali::Toolkit::Visual::Base *)jarg3;
1104 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Visual::Base & type is null", 0);
1107 arg4 = jarg4 ? true : false;
1110 (arg1)->RegisterVisual(arg2,*arg3,arg4);
1111 } catch (std::out_of_range& e) {
1113 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1115 } catch (std::exception& e) {
1117 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1119 } catch (Dali::DaliException e) {
1121 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1125 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1133 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_UnregisterVisual(void * jarg1, int jarg2) {
1134 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1135 Dali::Property::Index arg2 ;
1137 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1138 arg2 = (Dali::Property::Index)jarg2;
1141 (arg1)->UnregisterVisual(arg2);
1142 } catch (std::out_of_range& e) {
1144 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1146 } catch (std::exception& e) {
1148 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1150 } catch (Dali::DaliException e) {
1152 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1156 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1164 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_GetVisual(void * jarg1, int jarg2) {
1166 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1167 Dali::Property::Index arg2 ;
1168 Dali::Toolkit::Visual::Base result;
1170 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1171 arg2 = (Dali::Property::Index)jarg2;
1174 result = ((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->GetVisual(arg2);
1175 } catch (std::out_of_range& e) {
1177 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1179 } catch (std::exception& e) {
1181 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1183 } catch (Dali::DaliException e) {
1185 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1189 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1194 jresult = new Dali::Toolkit::Visual::Base((const Dali::Toolkit::Visual::Base &)result);
1199 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EnableVisual(void * jarg1, int jarg2, unsigned int jarg3) {
1200 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1201 Dali::Property::Index arg2 ;
1204 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1205 arg2 = (Dali::Property::Index)jarg2;
1206 arg3 = jarg3 ? true : false;
1209 (arg1)->EnableVisual(arg2,arg3);
1210 } catch (std::out_of_range& e) {
1212 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1214 } catch (std::exception& e) {
1216 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1218 } catch (Dali::DaliException e) {
1220 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1224 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1232 SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ViewWrapperImpl_IsVisualEnabled(void * jarg1, int jarg2) {
1233 unsigned int jresult ;
1234 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1235 Dali::Property::Index arg2 ;
1238 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1239 arg2 = (Dali::Property::Index)jarg2;
1242 result = (bool)((Dali::Toolkit::Internal::ControlWrapper const *)arg1)->IsVisualEnabled(arg2);
1243 } catch (std::out_of_range& e) {
1245 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1247 } catch (std::exception& e) {
1249 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1251 } catch (Dali::DaliException e) {
1253 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1257 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1266 SWIGEXPORT void * SWIGSTDCALL CSharp_ViewWrapperImpl_CreateTransition(void * jarg1, void * jarg2) {
1268 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1269 Dali::Toolkit::TransitionData *arg2 = 0 ;
1270 Dali::Animation result;
1272 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1273 arg2 = (Dali::Toolkit::TransitionData *)jarg2;
1275 SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::TransitionData const & type is null", 0);
1280 result = (arg1)->CreateTransition((Dali::Toolkit::TransitionData const &)*arg2);
1281 } catch (std::out_of_range& e) {
1283 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
1285 } catch (std::exception& e) {
1287 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
1289 } catch (Dali::DaliException e) {
1291 SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
1295 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
1300 jresult = new Dali::Animation((const Dali::Animation &)result);
1305 SWIGEXPORT void SWIGSTDCALL CSharp_ViewWrapperImpl_EmitKeyInputFocusSignal(void * jarg1, unsigned int jarg2) {
1306 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1309 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1310 arg2 = jarg2 ? true : false;
1313 (arg1)->EmitKeyInputFocusSignal(arg2);
1314 } catch (std::out_of_range& e) {
1316 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1318 } catch (std::exception& e) {
1320 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1322 } catch (Dali::DaliException e) {
1324 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1328 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
1335 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ViewWrapperImpl_ApplyThemeStyle(void * jarg1) {
1336 Dali::Toolkit::Internal::ControlWrapper *arg1 = (Dali::Toolkit::Internal::ControlWrapper *) 0 ;
1338 arg1 = (Dali::Toolkit::Internal::ControlWrapper *)jarg1;
1341 (arg1)->ApplyThemeStyle();
1342 } catch (std::out_of_range& e) {
1344 SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
1346 } catch (std::exception& e) {
1348 SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
1350 } catch (Dali::DaliException e) {
1352 SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
1356 SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;