// INTERNAL INCLUDES
#include <dali-toolkit/devel-api/visual-factory/visual-base.h>
+#include <dali/devel-api/events/touch-data-devel.h>
#ifdef __cplusplus
extern "C" {
}
void SwigDirector_ViewWrapperImpl::OnSizeAnimation(Dali::Animation &animation, Dali::Vector3 const &targetSize) {
- swig_callbackOnSizeAnimation(&animation, (Dali::Vector3 *) &targetSize);
+ swig_callbackOnSizeAnimation(new Dali::Animation(animation), (Dali::Vector3 *) &targetSize);
Dali::Toolkit::Internal::Control::OnSizeAnimation(animation,targetSize);
}
if (!swig_callbackOnTouchEvent) {
return Dali::Toolkit::Internal::Control::OnTouchEvent(event);
} else {
- jarg0 = (Dali::TouchEvent *) &event;
+ Dali::TouchData data = Dali::DevelTouchData::Convert(event);
+ jarg0 = (Dali::TouchData *) &data;
jresult = (unsigned int) swig_callbackOnTouchEvent(jarg0);
c_result = jresult ? true : false;
}