%apply float& OUTPUT { float& viewportX };
%apply float& OUTPUT { float& viewportY };
-#if defined(SWIGCSHARP)
-
%include arrays_csharp.i
%apply unsigned char INPUT[] { unsigned char* pixelBuffer}
%apply unsigned char INPUT[] { unsigned char* buffer}
%apply unsigned short INPUT[] { unsigned short* indices}
%apply float INPUT[] { float* array }
-#endif
-
%ignore *::Animation(Internal::Animation*);
%ignore *::Actor(Internal::Actor*);
%ignore *::BufferImage(Internal::BufferImage*);
%rename(Z) Dali::Vector4::z;
%rename(W) Dali::Vector4::w;
-
typedef std::pair<std::string, Dali::Property::Value> StringValuePair;
typedef std::vector<Dali::TouchPoint> TouchPointContainer;
typedef std::pair< Dali::Radian, Dali::Radian > AngleThresholdPair;
%template(VectorUnsignedChar) Dali::Vector<unsigned char>;
%template(VectorUint16Pair) Dali::Vector<Dali::Uint16Pair>;
%template(VoidSignal) Dali::Signal<void()>;
-%template(BoolSignal) Dali::Signal<bool()>;
%template(FloatSignal) Dali::Signal<void(float)>;
%template(ObjectCreatedSignal) Dali::Signal<void(Dali::BaseHandle)>;
%template(ObjectDestroyedSignal) Dali::Signal<void(const Dali::RefObject*)>;
* (in the type of TickEventHandler-DaliEventHandlerWithReturnType<object,TickEventArgs,bool>)
* provided by the user. Ticked signal is emitted after specified time interval.
*/
- public event DaliEventHandlerWithReturnType<object,TickEventArgs,bool> Ticked
+ public event DaliEventHandlerWithReturnType<object,TickEventArgs,bool> Tick
{
add
{
namespace Dali
{
- DALI_TIMER_EVENTHANDLER_PARAM( Dali::Adaptor, Timer);
+ DALI_TIMER_EVENTHANDLER_PARAM( Dali, Timer);
}
Macros for signals with return values
*****************/
+// 0 param signals ( with return )
+%define DALI_SIGNAL_0_PARAM_RETURN( returnType )
+
+ SIGNAL_TYPEMAP_HELPER( returnType (*func) () );
+ SIGNAL_TEMPLATE_HELPER_0( returnType, return);
+%enddef
+
// 1 param signals ( with return )
%define DALI_SIGNAL_1_PARAM_RETURN( returnType, argumentType1 )
// Signal< void () >
DALI_SIGNAL_0_PARAM();
+// Signal< bool () >
+DALI_SIGNAL_0_PARAM_RETURN( bool );
+
// Signal< void (Actor) >
DALI_SIGNAL_1_PARAM( Dali::Actor );