1 /**
2  * @file lv_api_map_v9_0.h
3  *
4  */
5 
6 #ifndef LV_API_MAP_V9_0_H
7 #define LV_API_MAP_V9_0_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "misc/lv_types.h"
17 
18 /*********************
19  *      DEFINES
20  *********************/
21 
22 /**********************
23  *      TYPEDEFS
24  **********************/
25 
26 /**********************
27  * GLOBAL PROTOTYPES
28  **********************/
29 
30 /**********************
31  *      MACROS
32  **********************/
33 #define lv_image_set_align               lv_image_set_inner_align
34 #define lv_image_get_align               lv_image_get_inner_align
35 
36 #ifndef LV_DRAW_LAYER_SIMPLE_BUF_SIZE
37 #define LV_DRAW_LAYER_SIMPLE_BUF_SIZE    LV_DRAW_SW_LAYER_SIMPLE_BUF_SIZE
38 #endif
39 
40 #define lv_button_bind_checked           lv_obj_bind_checked
41 
42 #define LV_DRAW_BUF_DEFINE               LV_DRAW_BUF_DEFINE_STATIC
43 
44 #define _lv_utils_bsearch                lv_utils_bsearch
45 #define lv_draw_buf_align_user           lv_draw_buf_align_ex
46 #define lv_draw_buf_create_user          lv_draw_buf_create_ex
47 #define lv_draw_buf_width_to_stride_user lv_draw_buf_width_to_stride_ex
48 #define lv_draw_buf_dup_user             lv_draw_buf_dup_ex
49 
50 #define lv_draw_buf_invalidate_cache_user(handlers, drawbuf, area)  lv_draw_buf_invalidate_cache(drawbuf, area)
51 #define lv_draw_buf_flush_cache_user(handlers, drawbuf, area)       lv_draw_buf_flush_cache(drawbuf, area)
52 #define lv_draw_buf_destroy_user(handlers, drawbuf)                 lv_draw_buf_destroy(drawbuf)
53 
54 /**********************
55  *      MACROS
56  **********************/
57 
58 /**********************
59  * DEPRECATED FUNCTIONS
60  **********************/
61 
62 #ifdef __cplusplus
63 } /*extern "C"*/
64 #endif
65 
66 #endif /*LV_API_MAP_V9_0_H*/
67