class Actor;
class Layer;
class RenderTaskList;
-class TouchData;
-struct KeyEvent;
+class TouchEvent;
+class KeyEvent;
/**
* @brief The window class is used internally for drawing.
using WindowSize = Uint16Pair ; ///< Window size type @SINCE_1_2.60
using WindowPosition = Uint16Pair; ///< Window position type @SINCE_1_2.60
- using ResizedSignalType = Signal< void (WindowSize) >; ///< @DEPRECATED_1_4.35 @brief Window resized signal type @SINCE_1_2.60
- using FocusChangeSignalType = Signal< void (Window,bool) >; ///< Window focus signal type @SINCE_1_4.35
- using ResizeSignalType = Signal< void (Window,WindowSize) >; ///< Window resized signal type @SINCE_1_4.35
- using KeyEventSignalType = Signal< void (const KeyEvent&) >; ///< Key event signal type
- using TouchSignalType = Signal< void (const TouchData&) >; ///< Touch signal type
+ using FocusChangeSignalType = Signal< void (Window,bool) >; ///< Window focus signal type @SINCE_1_4.35
+ using ResizeSignalType = Signal< void (Window,WindowSize) >; ///< Window resized signal type @SINCE_1_4.35
+ using KeyEventSignalType = Signal< void (const KeyEvent&) >; ///< Key event signal type @SINCE_1_9.21
+ using TouchEventSignalType = Signal< void (const TouchEvent&) >; ///< Touch signal type @SINCE_1_9.28
public:
public: // Signals
/**
- * @brief This signal is emitted when the window is resized.
- *
- * A callback of the following type may be connected:
- * @code
- * void YourCallbackName( int width, int height );
- * @endcode
- * The parameters are the resized width and height.
- *
- * @SINCE_1_2.60
- * @return The signal to connect to
- */
- ResizedSignalType& ResizedSignal() DALI_DEPRECATED_API;
-
- /**
* @brief The user should connect to this signal to get a timing when window gains focus or loses focus.
*
* A callback of the following type may be connected:
* An interrupted event will also be emitted (if it occurs).
* A callback of the following type may be connected:
* @code
- * void YourCallbackName(const TouchData& event);
+ * void YourCallbackName(const TouchEvent& event);
* @endcode
*
- * @SINCE_1_9.21
+ * @SINCE_1_9.28
* @return The touch signal to connect to
*
* @note Motion events are not emitted.
*/
- TouchSignalType& TouchSignal();
+ TouchEventSignalType& TouchedSignal();
public: // Not intended for application developers
/// @cond internal