minor fixes
This commit is contained in:
@@ -30,21 +30,30 @@ extern "C" {
|
||||
/*---------------------
|
||||
* V6.0 COMPATIBILITY
|
||||
*--------------------*/
|
||||
|
||||
#if LV_USE_CHART
|
||||
|
||||
#define lv_chart_get_point_cnt lv_chart_get_point_count
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#if LV_USE_DDLIST
|
||||
|
||||
static inline void lv_ddlist_set_draw_arrow(lv_obj_t * ddlist, bool en)
|
||||
{
|
||||
if(en) lv_ddlist_set_symbol(ddlist, LV_SYMBOL_DOWN);
|
||||
else lv_ddlist_set_symbol(ddlist, NULL);
|
||||
}
|
||||
|
||||
|
||||
static inline bool lv_ddlist_get_draw_arrow(lv_obj_t * ddlist)
|
||||
{
|
||||
if(lv_ddlist_get_symbol(ddlist)) return true;
|
||||
else return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
Reference in New Issue
Block a user