frame.h   frame.h 
skipping to change at line 744 skipping to change at line 744
/** /**
* Get the start time of a touch * Get the start time of a touch
* *
* @param [in] touch The touch object (const) * @param [in] touch The touch object (const)
* @return The start time of the touch * @return The start time of the touch
*/ */
FRAME_PUBLIC FRAME_PUBLIC
uint64_t frame_touch_get_start_time(UFTouch touch); uint64_t frame_touch_get_start_time(UFTouch touch);
/**
* Accept ownership of a touch
*
* All touches received should be eventally accepted or rejected.
* This decision can come even after they have already ended but
* should be done as soon as possible.
*
* You should accept a touch when you're going to use it and
* reject it if you're not interested in it.
*
* Not all window servers have this concept. Those that do use
* this information to pass rejected touches forward to other
* clients that might want it.
*
* @param [in] device The device object for the touch (const)
* @param [in] window The window to accept the touch for
* @param [in] touch_id The touch ID object for the touch
* @return UFStatusSuccess, UFStatusErrorInvalidTouch
* @see frame_reject_touch
*/
FRAME_PUBLIC
UFStatus frame_accept_touch(UFDevice device, UFWindowId window,
UFTouchId touch_id);
/**
* Reject ownership of a touch
*
* @param [in] device The device object for the touch (const)
* @param [in] window The window to reject the touch for
* @param [in] touch_id The touch ID object for the touch
* @return UFStatusSuccess, UFStatusErrorInvalidTouch
* @see frame_accept_touch
*/
FRAME_PUBLIC
UFStatus frame_reject_touch(UFDevice device, UFWindowId window,
UFTouchId touch_id);
/** @} */ /** @} */
#include "frame_internal.h" #include "frame_internal.h"
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#undef HAS_C_GENERIC_SELECTIONS #undef HAS_C_GENERIC_SELECTIONS
 End of changes. 1 change blocks. 
0 lines changed or deleted 37 lines changed or added


 frame_backend.h   frame_backend.h 
skipping to change at line 154 skipping to change at line 154
/** /**
* Creates a new UFFrame that is a continuation of the given one. * Creates a new UFFrame that is a continuation of the given one.
* *
* Touches that had a "begin" state on the given frame will be hard-copied and * Touches that had a "begin" state on the given frame will be hard-copied and
* have an "update" state on the new frame. * have an "update" state on the new frame.
* *
* Touches that had an "update" state will be lazily copied to the new fram e. * Touches that had an "update" state will be lazily copied to the new fram e.
* *
* Touches that had a "end" state on the given frame won't be present * Touches that had a "end" state on the given frame won't be present
* on the new frame. * on the new frame.
*
* The "ActiveTouches" property is automatically set to match the number
* of UFTouches present or remaining.
*/ */
FRAME_PUBLIC FRAME_PUBLIC
UFBackendFrame frame_backend_frame_create_next(UFBackendFrame frame); UFBackendFrame frame_backend_frame_create_next(UFBackendFrame frame);
/** /**
* Returns a UFFrame instance given its backend handle. * Returns a UFFrame instance given its backend handle.
*/ */
FRAME_PUBLIC FRAME_PUBLIC
UFFrame frame_backend_frame_get_frame(UFBackendFrame frame); UFFrame frame_backend_frame_get_frame(UFBackendFrame frame);
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/