struct Degree;
class Quaternion;
class Layer;
-class TouchEvent;
+class TouchData;
class HoverEvent;
struct WheelEvent;
struct Vector2;
// Typedefs
- typedef Signal< bool (Actor, const TouchEvent&) > TouchEventSignalType; ///< Touch signal type @SINCE_1_1.37
+ typedef Signal< bool (Actor, const TouchData&) > TouchDataSignalType; ///< Touch signal type @SINCE_1_1.37
typedef Signal< bool (Actor, const HoverEvent&) > HoverSignalType; ///< Hover signal type @SINCE_1_0.0
typedef Signal< bool (Actor, const WheelEvent&) > WheelEventSignalType; ///< Wheel signal type @SINCE_1_0.0
typedef Signal< void (Actor) > OnSceneSignalType; ///< Scene connection signal type @SINCE_1_9.24
*
* A callback of the following type may be connected:
* @code
- * bool YourCallbackName( Actor actor, TouchEvent& touch );
+ * bool YourCallbackName( Actor actor, TouchData& touch );
* @endcode
* The return value of True, indicates that the touch event has been consumed.
* Otherwise the signal will be emitted on the next sensitive parent of the actor.
* @return The signal to connect to
* @pre The Actor has been initialized.
*/
- TouchEventSignalType& TouchSignal();
+ TouchDataSignalType& TouchSignal();
/**
* @brief This signal is emitted when hover input is received.