mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
add lv_api_map.h and rename lv_chart_get_point_cnt to lv_chart_get_point_count
This commit is contained in:
parent
b8f5cad89c
commit
632fd15775
43
src/lv_api_map.h
Normal file
43
src/lv_api_map.h
Normal file
@ -0,0 +1,43 @@
|
||||
/**
|
||||
* @file lv_api_map.h
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef LV_API_MAP_H
|
||||
#define LV_API_MAP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* INCLUDES
|
||||
*********************/
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
|
||||
/*---------------------
|
||||
* V6.0 COMPATIBILITY
|
||||
*--------------------*/
|
||||
#define lv_chart_get_point_count lv_chart_get_point_cnt
|
||||
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*LV_API_MAP_H*/
|
@ -633,7 +633,7 @@ lv_chart_type_t lv_chart_get_type(const lv_obj_t * chart)
|
||||
* @param chart pointer to chart object
|
||||
* @return point number on each data line
|
||||
*/
|
||||
uint16_t lv_chart_get_point_cnt(const lv_obj_t * chart)
|
||||
uint16_t lv_chart_get_point_count(const lv_obj_t * chart)
|
||||
{
|
||||
LV_ASSERT_OBJ(chart, LV_OBJX_NAME);
|
||||
|
||||
|
@ -331,7 +331,7 @@ lv_chart_type_t lv_chart_get_type(const lv_obj_t * chart);
|
||||
* @param chart pointer to chart object
|
||||
* @return point number on each data line
|
||||
*/
|
||||
uint16_t lv_chart_get_point_cnt(const lv_obj_t * chart);
|
||||
uint16_t lv_chart_get_point_count(const lv_obj_t * chart);
|
||||
|
||||
/**
|
||||
* Get the opacity of the data series
|
||||
|
Loading…
x
Reference in New Issue
Block a user