Kore 3
Loading...
Searching...
No Matches
surface.h
Go to the documentation of this file.
1#ifndef KORE_INPUT_SURFACE_HEADER
2#define KORE_INPUT_SURFACE_HEADER
3
4#include <kore3/global.h>
5
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
18KORE_FUNC void kore_surface_set_touch_start_callback(void (*value)(int /*index*/, int /*x*/, int /*y*/));
19
24KORE_FUNC void kore_surface_set_move_callback(void (*value)(int /*index*/, int /*x*/, int /*y*/));
25
30KORE_FUNC void kore_surface_set_touch_end_callback(void (*value)(int /*index*/, int /*x*/, int /*y*/));
31
32void kore_internal_surface_trigger_touch_start(int index, int x, int y);
33void kore_internal_surface_trigger_move(int index, int x, int y);
34void kore_internal_surface_trigger_touch_end(int index, int x, int y);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
KORE_FUNC void kore_surface_set_touch_end_callback(void(*value)(int, int, int))
Sets the surface-touch-end-callback which is called when a finger disappears. This is usually not a m...
KORE_FUNC void kore_surface_set_touch_start_callback(void(*value)(int, int, int))
Sets the surface-touch-start-callback which is called when a finger-touch is detected.
KORE_FUNC void kore_surface_set_move_callback(void(*value)(int, int, int))
Sets the surface-move-callback which is called when a finger is moving around.