IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


typedef void(* GcTouchCallback)(GcTouchEvent event, unsigned short x, unsigned short y)

This is the prototype for the touch callback function.
The callback function will be triggered each time a touch event occurs. The callback function must be registered using gcInitTouch().

Parameters:
event Touch event that triggered the callback function
x X (pixel) coordinate of the current touch event
y Y (pixel) coordinate of the current touch event
Note:
The callback function is executed in the context of a seperate task. You should not draw within the callback function without taking precautions, because the drawing functions are not reentrant.
Since:
1.00
See also:
gcInitTouch





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1