mikroSDK Reference Manual
lv_indev.h
Go to the documentation of this file.
1
6#ifndef LV_INDEV_H
7#define LV_INDEV_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "lv_obj.h"
17#include "../hal/lv_hal_indev.h"
18#include "lv_group.h"
19
20/*********************
21 * DEFINES
22 *********************/
23
24/**********************
25 * TYPEDEFS
26 **********************/
27
28/**********************
29 * GLOBAL PROTOTYPES
30 **********************/
31
37
43void lv_indev_enable(lv_indev_t * indev, bool en);
44
51
58
64void lv_indev_reset(lv_indev_t * indev, lv_obj_t * obj);
65
71
77void lv_indev_set_cursor(lv_indev_t * indev, lv_obj_t * cur_obj);
78
85
92void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t points[]);
93
99void lv_indev_get_point(const lv_indev_t * indev, lv_point_t * point);
100
106lv_dir_t lv_indev_get_gesture_dir(const lv_indev_t * indev);
107
113uint32_t lv_indev_get_key(const lv_indev_t * indev);
114
122lv_dir_t lv_indev_get_scroll_dir(const lv_indev_t * indev);
123
131
138void lv_indev_get_vect(const lv_indev_t * indev, lv_point_t * point);
139
145
151
159
167
168/**********************
169 * MACROS
170 **********************/
171
172#ifdef __cplusplus
173} /*extern "C"*/
174#endif
175
176#endif /*LV_INDEV_H*/
lv_indev_type_t
Definition lv_hal_indev.h:62
void lv_indev_set_cursor(lv_indev_t *indev, lv_obj_t *cur_obj)
lv_timer_t * lv_indev_get_read_timer(lv_disp_t *indev)
void lv_indev_get_point(const lv_indev_t *indev, lv_point_t *point)
void lv_indev_get_vect(const lv_indev_t *indev, lv_point_t *point)
lv_dir_t lv_indev_get_scroll_dir(const lv_indev_t *indev)
lv_obj_t * lv_indev_search_obj(lv_obj_t *obj, lv_point_t *point)
lv_obj_t * lv_indev_get_scroll_obj(const lv_indev_t *indev)
void lv_indev_reset(lv_indev_t *indev, lv_obj_t *obj)
lv_obj_t * lv_indev_get_obj_act(void)
lv_dir_t lv_indev_get_gesture_dir(const lv_indev_t *indev)
void lv_indev_read_timer_cb(lv_timer_t *timer)
lv_indev_type_t lv_indev_get_type(const lv_indev_t *indev)
void lv_indev_set_group(lv_indev_t *indev, lv_group_t *group)
uint32_t lv_indev_get_key(const lv_indev_t *indev)
void lv_indev_set_button_points(lv_indev_t *indev, const lv_point_t points[])
void lv_indev_wait_release(lv_indev_t *indev)
void lv_indev_reset_long_press(lv_indev_t *indev)
void lv_indev_enable(lv_indev_t *indev, bool en)
lv_indev_t * lv_indev_get_act(void)
Definition lv_hal_disp.h:158
Definition lv_group.h:59
Definition lv_hal_indev.h:176
Definition lv_obj.h:174
Definition lv_timer.h:44
Definition lv_area.h:37