lv_api_map_v9_0.h 1.7 KB

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