minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2019-11-25 12:24:17 +01:00
parent 4215516fb8
commit 257f1ed2fe
2 changed files with 14 additions and 5 deletions

View File

@@ -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
**********************/