diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-02-14 13:05:19 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-02-15 12:48:14 +0100 |
| commit | e7d652c5efdb402a14a20cc3dbc7b3f084f5a47e (patch) | |
| tree | eb3fdcb089c675f305da612789c8ca417cd0584c /include | |
| parent | 93e1a5a3904ef2f14110d8b807bcd7d107b3b2a4 (diff) | |
Add set slot by touch id utility
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
| -rw-r--r-- | include/utouch/frame.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/utouch/frame.h b/include/utouch/frame.h index 5b5f4d2..03a44aa 100644 --- a/include/utouch/frame.h +++ b/include/utouch/frame.h | |||
| @@ -250,6 +250,17 @@ struct utouch_contact *utouch_frame_get_current_slot(utouch_frame_handle fh); | |||
| 250 | int utouch_frame_set_current_slot(utouch_frame_handle fh, int slot); | 250 | int utouch_frame_set_current_slot(utouch_frame_handle fh, int slot); |
| 251 | 251 | ||
| 252 | /** | 252 | /** |
| 253 | * utouch_frame_set_current_id - set the current slot by touch id | ||
| 254 | * @fh: the frame engine in use | ||
| 255 | * @id: the touch id | ||
| 256 | * | ||
| 257 | * Sets the slot currently being modified, by touch id. If the id is | ||
| 258 | * not currently in use (does not have an active slot), a new slot is | ||
| 259 | * assigned. Returns zero if successful, negative error otherwise. | ||
| 260 | */ | ||
| 261 | int utouch_frame_set_current_id(utouch_frame_handle fh, int id); | ||
| 262 | |||
| 263 | /** | ||
| 253 | * utouch_frame_sync - synchronize and return new frame | 264 | * utouch_frame_sync - synchronize and return new frame |
| 254 | * @fh: the frame engine in use | 265 | * @fh: the frame engine in use |
| 255 | * @time: the frame synchronization time (ms) | 266 | * @time: the frame synchronization time (ms) |
