examples/lvgldemo/ and graphics/littlevgl/: pdate LVGL to version 5.1.1
This commit is contained in:
parent
1030ea7c80
commit
3cc79be2fb
@ -43,18 +43,28 @@
|
||||
* Private Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
static void write_create(lv_obj_t *parent);
|
||||
static void list_create(lv_obj_t *parent);
|
||||
static void chart_create(lv_obj_t *parent);
|
||||
static lv_res_t slider_action(lv_obj_t *slider);
|
||||
static lv_res_t list_btn_action(lv_obj_t *slider);
|
||||
static void write_create(lv_obj_t * parent);
|
||||
static lv_res_t keyboard_open_close(lv_obj_t * ta);
|
||||
static lv_res_t keyboard_hide_action(lv_obj_t * keyboard);
|
||||
static void list_create(lv_obj_t * parent);
|
||||
static void chart_create(lv_obj_t * parent);
|
||||
static lv_res_t slider_action(lv_obj_t * slider);
|
||||
static lv_res_t list_btn_action(lv_obj_t * slider);
|
||||
#if LV_DEMO_SLIDE_SHOW
|
||||
static void tab_switcher(void * tv);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
static lv_obj_t *chart;
|
||||
static lv_obj_t *ta;
|
||||
static lv_obj_t * chart;
|
||||
static lv_obj_t * ta;
|
||||
static lv_obj_t * kb;
|
||||
|
||||
static lv_style_t style_kb;
|
||||
static lv_style_t style_kb_rel;
|
||||
static lv_style_t style_kb_pr;
|
||||
#ifdef CONFIG_EXAMPLES_LVGLDEMO_WALLPAPER
|
||||
LV_IMG_DECLARE(img_bubble_pattern);
|
||||
#endif
|
||||
@ -79,14 +89,22 @@ LV_IMG_DECLARE(img_bubble_pattern);
|
||||
static void write_create(lv_obj_t *parent)
|
||||
{
|
||||
static lv_style_t style_ta;
|
||||
static lv_style_t style_kb;
|
||||
static lv_style_t style_kb_rel;
|
||||
static lv_style_t style_kb_pr;
|
||||
|
||||
lv_page_set_style(parent, LV_PAGE_STYLE_BG, &lv_style_transp_fit);
|
||||
lv_page_set_style(parent, LV_PAGE_STYLE_SCRL, &lv_style_transp_fit);
|
||||
|
||||
lv_page_set_sb_mode(parent, LV_SB_MODE_OFF);
|
||||
|
||||
lv_style_copy(&style_ta, &lv_style_pretty);
|
||||
style_ta.body.opa = LV_OPA_30;
|
||||
style_ta.body.radius = 0;
|
||||
style_ta.text.color = LV_COLOR_WHITE;
|
||||
style_ta.text.color = LV_COLOR_HEX3(0x222);
|
||||
|
||||
ta = lv_ta_create(parent, NULL);
|
||||
lv_obj_set_size(ta, lv_page_get_scrl_width(parent), lv_obj_get_height(parent) / 2);
|
||||
lv_ta_set_style(ta, LV_TA_STYLE_BG, &style_ta);
|
||||
lv_ta_set_text(ta, "");
|
||||
lv_page_set_rel_action(ta, keyboard_open_close);
|
||||
|
||||
lv_style_copy(&style_kb, &lv_style_plain);
|
||||
style_kb.body.opa = LV_OPA_70;
|
||||
@ -102,6 +120,11 @@ static void write_create(lv_obj_t *parent)
|
||||
style_kb_rel.body.border.width = 1;
|
||||
style_kb_rel.body.border.color = LV_COLOR_SILVER;
|
||||
style_kb_rel.body.border.opa = LV_OPA_50;
|
||||
|
||||
/* Recommended if LV_VDB_SIZE == 0 and bpp > 1 fonts are used */
|
||||
|
||||
style_kb_rel.body.main_color = LV_COLOR_HEX3(0x333);
|
||||
style_kb_rel.body.grad_color = LV_COLOR_HEX3(0x333);
|
||||
style_kb_rel.text.color = LV_COLOR_WHITE;
|
||||
|
||||
lv_style_copy(&style_kb_pr, &lv_style_plain);
|
||||
@ -112,20 +135,67 @@ static void write_create(lv_obj_t *parent)
|
||||
style_kb_pr.body.border.width = 1;
|
||||
style_kb_pr.body.border.color = LV_COLOR_SILVER;
|
||||
|
||||
ta = lv_ta_create(parent, NULL);
|
||||
lv_obj_set_size(ta, lv_page_get_scrl_width(parent), lv_obj_get_height(parent) / 2);
|
||||
lv_ta_set_style(ta, LV_TA_STYLE_BG, &style_ta);
|
||||
lv_ta_set_text(ta, "");
|
||||
|
||||
lv_obj_t *kb = lv_kb_create(parent, NULL);
|
||||
lv_obj_set_size(kb, lv_page_get_scrl_width(parent), lv_obj_get_height(parent) / 2);
|
||||
lv_obj_align(kb, ta, LV_ALIGN_OUT_BOTTOM_MID, 0, 0);
|
||||
lv_kb_set_ta(kb, ta);
|
||||
lv_kb_set_style(kb, LV_KB_STYLE_BG, &style_kb);
|
||||
lv_kb_set_style(kb, LV_KB_STYLE_BTN_REL, &style_kb_rel);
|
||||
lv_kb_set_style(kb, LV_KB_STYLE_BTN_PR, &style_kb_pr);
|
||||
keyboard_open_close(ta);
|
||||
}
|
||||
|
||||
static lv_res_t keyboard_open_close(lv_obj_t * text_area)
|
||||
{
|
||||
/* Test area is on scrollable part of the page but we need the page itself */
|
||||
|
||||
lv_obj_t * parent = lv_obj_get_parent(lv_obj_get_parent(ta));
|
||||
|
||||
if (kb)
|
||||
{
|
||||
return keyboard_hide_action(kb);
|
||||
}
|
||||
else
|
||||
{
|
||||
kb = lv_kb_create(parent, NULL);
|
||||
lv_obj_set_size(kb, lv_page_get_scrl_width(parent),
|
||||
lv_obj_get_height(parent) / 2);
|
||||
lv_obj_align(kb, ta, LV_ALIGN_OUT_BOTTOM_MID, 0, 0);
|
||||
lv_kb_set_ta(kb, ta);
|
||||
lv_kb_set_style(kb, LV_KB_STYLE_BG, &style_kb);
|
||||
lv_kb_set_style(kb, LV_KB_STYLE_BTN_REL, &style_kb_rel);
|
||||
lv_kb_set_style(kb, LV_KB_STYLE_BTN_PR, &style_kb_pr);
|
||||
lv_kb_set_hide_action(kb, keyboard_hide_action);
|
||||
lv_kb_set_ok_action(kb, keyboard_hide_action);
|
||||
|
||||
#if USE_LV_ANIMATION
|
||||
lv_obj_animate(kb, LV_ANIM_FLOAT_BOTTOM | LV_ANIM_IN, 300, 0, NULL);
|
||||
#endif
|
||||
return LV_RES_OK;
|
||||
}
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: list_create
|
||||
*
|
||||
* Description:
|
||||
* Called when the close or ok button is pressed on the keyboard
|
||||
*
|
||||
* Input Parameters:
|
||||
* keyboard pointer to the keyboard
|
||||
*
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
static lv_res_t keyboard_hide_action(lv_obj_t * keyboard)
|
||||
{
|
||||
#if USE_LV_ANIMATION
|
||||
lv_obj_animate(kb, LV_ANIM_FLOAT_BOTTOM | LV_ANIM_OUT, 300, 0,
|
||||
(void(*)(lv_obj_t *))lv_obj_del);
|
||||
kb = NULL;
|
||||
return LV_RES_OK;
|
||||
#else
|
||||
lv_obj_del(kb);
|
||||
kb = NULL;
|
||||
return LV_RES_INV;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Name: list_create
|
||||
*
|
||||
@ -143,7 +213,10 @@ static void list_create(lv_obj_t *parent)
|
||||
{
|
||||
static lv_style_t style_btn_rel;
|
||||
static lv_style_t style_btn_pr;
|
||||
static const char * mbox_btns[] = {"Got it", ""};
|
||||
static const char *mbox_btns[] = {"Got it", ""};
|
||||
|
||||
lv_page_set_style(parent, LV_PAGE_STYLE_BG, &lv_style_transp_fit);
|
||||
lv_page_set_style(parent, LV_PAGE_STYLE_SCRL, &lv_style_transp_fit);
|
||||
|
||||
lv_page_set_scrl_fit(parent, false, false);
|
||||
lv_page_set_scrl_height(parent, lv_obj_get_height(parent));
|
||||
@ -164,7 +237,7 @@ static void list_create(lv_obj_t *parent)
|
||||
style_btn_pr.body.grad_color = LV_COLOR_MAKE(0x37, 0x62, 0x90);
|
||||
style_btn_pr.text.color = LV_COLOR_MAKE(0xbb, 0xd5, 0xf1);
|
||||
|
||||
lv_obj_t *list = lv_list_create(parent, NULL);
|
||||
lv_obj_t * list = lv_list_create(parent, NULL);
|
||||
lv_obj_set_height(list, 2 * lv_obj_get_height(parent) / 3);
|
||||
lv_list_set_style(list, LV_LIST_STYLE_BG, &lv_style_transp_tight);
|
||||
lv_list_set_style(list, LV_LIST_STYLE_SCRL, &lv_style_transp_tight);
|
||||
@ -180,13 +253,11 @@ static void list_create(lv_obj_t *parent)
|
||||
lv_list_add(list, SYMBOL_WIFI, "WiFi", list_btn_action);
|
||||
lv_list_add(list, SYMBOL_GPS, "GPS", list_btn_action);
|
||||
|
||||
lv_obj_t *mbox= lv_mbox_create(parent, NULL);
|
||||
lv_obj_set_width(mbox, LV_HOR_RES - LV_DPI / 2);
|
||||
lv_obj_t * mbox = lv_mbox_create(parent, NULL);
|
||||
lv_mbox_set_text(mbox, "Click a button to copy its text to the Text area ");
|
||||
lv_obj_set_width(mbox, LV_HOR_RES - LV_DPI);
|
||||
|
||||
/* The default action is close */
|
||||
|
||||
lv_mbox_add_btns(mbox, mbox_btns, NULL);
|
||||
lv_mbox_add_btns(mbox, mbox_btns, NULL); /*The default action is close*/
|
||||
lv_obj_align(mbox, parent, LV_ALIGN_IN_TOP_MID, 0, LV_DPI / 2);
|
||||
}
|
||||
|
||||
@ -210,6 +281,9 @@ static void chart_create(lv_obj_t *parent)
|
||||
static lv_style_t style_indic;
|
||||
static lv_style_t style_knob;
|
||||
|
||||
lv_page_set_style(parent, LV_PAGE_STYLE_BG, &lv_style_transp_fit);
|
||||
lv_page_set_style(parent, LV_PAGE_STYLE_SCRL, &lv_style_transp_fit);
|
||||
|
||||
lv_page_set_scrl_fit(parent, false, false);
|
||||
lv_page_set_scrl_height(parent, lv_obj_get_height(parent));
|
||||
lv_page_set_sb_mode(parent, LV_SB_MODE_OFF);
|
||||
@ -225,7 +299,7 @@ static void chart_create(lv_obj_t *parent)
|
||||
lv_chart_set_type(chart, LV_CHART_TYPE_COLUMN);
|
||||
lv_chart_set_style(chart, &style_chart);
|
||||
lv_chart_set_series_opa(chart, LV_OPA_70);
|
||||
lv_chart_series_t *ser1;
|
||||
lv_chart_series_t * ser1;
|
||||
ser1 = lv_chart_add_series(chart, LV_COLOR_RED);
|
||||
lv_chart_set_next(chart, ser1, 40);
|
||||
lv_chart_set_next(chart, ser1, 30);
|
||||
@ -246,7 +320,7 @@ static void chart_create(lv_obj_t *parent)
|
||||
style_bar.body.border.color = LV_COLOR_WHITE;
|
||||
style_bar.body.opa = LV_OPA_60;
|
||||
style_bar.body.padding.hor = 0;
|
||||
style_bar.body.padding.ver = LV_DPI / 6;
|
||||
style_bar.body.padding.ver = LV_DPI / 10;
|
||||
|
||||
lv_style_copy(&style_indic, &lv_style_pretty);
|
||||
style_indic.body.grad_color = LV_COLOR_MARRON;
|
||||
@ -263,16 +337,16 @@ static void chart_create(lv_obj_t *parent)
|
||||
|
||||
/* Create a second slider */
|
||||
|
||||
lv_obj_t *slider = lv_slider_create(parent, NULL);
|
||||
lv_obj_t * slider = lv_slider_create(parent, NULL);
|
||||
lv_slider_set_style(slider, LV_SLIDER_STYLE_BG, &style_bar);
|
||||
lv_slider_set_style(slider, LV_SLIDER_STYLE_INDIC, &style_indic);
|
||||
lv_slider_set_style(slider, LV_SLIDER_STYLE_KNOB, &style_knob);
|
||||
lv_obj_set_size(slider, lv_obj_get_width(parent) / 2, LV_DPI / 2);
|
||||
lv_obj_set_size(slider, lv_obj_get_width(chart), LV_DPI / 3);
|
||||
|
||||
/* Align below the slider */
|
||||
|
||||
lv_obj_align(slider, NULL, LV_ALIGN_IN_BOTTOM_MID, 0, - LV_DPI / 4);
|
||||
/* Align to below the chart */
|
||||
|
||||
lv_obj_align(slider, chart, LV_ALIGN_OUT_BOTTOM_MID, 0,
|
||||
(LV_VER_RES - chart->coords.y2 - lv_obj_get_height(slider)) / 2);
|
||||
lv_slider_set_action(slider, slider_action);
|
||||
lv_slider_set_range(slider, 10, 1000);
|
||||
lv_slider_set_value(slider, 700);
|
||||
@ -353,11 +427,9 @@ void demo_init(void)
|
||||
static lv_style_t style_tv_btn_rel;
|
||||
static lv_style_t style_tv_btn_pr;
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_LVGLDEMO_WALLPAPER
|
||||
lv_img_create_file("bg", img_bubble_pattern);
|
||||
lv_obj_t *wp = lv_img_create(lv_scr_act(), NULL);
|
||||
lv_img_set_upscale(wp, true);
|
||||
lv_img_set_file(wp, "U:/bg");
|
||||
#if CONFIG_EXAMPLES_LVGLDEMO_WALLPAPER
|
||||
lv_obj_t * wp = lv_img_create(lv_scr_act(), NULL);
|
||||
lv_img_set_src(wp, &img_bubble_pattern);
|
||||
lv_obj_set_width(wp, LV_HOR_RES * 4);
|
||||
lv_obj_set_protect(wp, LV_PROTECT_POS);
|
||||
#endif
|
||||
@ -365,6 +437,7 @@ void demo_init(void)
|
||||
lv_style_copy(&style_tv_btn_bg, &lv_style_plain);
|
||||
style_tv_btn_bg.body.main_color = LV_COLOR_HEX(0x487fb7);
|
||||
style_tv_btn_bg.body.grad_color = LV_COLOR_HEX(0x487fb7);
|
||||
style_tv_btn_bg.body.padding.ver = 0;
|
||||
|
||||
lv_style_copy(&style_tv_btn_rel, &lv_style_btn_rel);
|
||||
style_tv_btn_rel.body.empty = 1;
|
||||
@ -378,19 +451,18 @@ void demo_init(void)
|
||||
style_tv_btn_pr.body.border.width = 0;
|
||||
style_tv_btn_pr.text.color = LV_COLOR_GRAY;
|
||||
|
||||
lv_obj_t *tv = lv_tabview_create(lv_scr_act(), NULL);
|
||||
lv_obj_t * tv = lv_tabview_create(lv_scr_act(), NULL);
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_LVGLDEMO_WALLPAPER
|
||||
#if CONFIG_EXAMPLES_LVGLDEMO_WALLPAPER
|
||||
lv_obj_set_parent(wp, ((lv_tabview_ext_t *) tv->ext_attr)->content);
|
||||
lv_obj_set_pos(wp, 0, -5);
|
||||
#endif
|
||||
|
||||
lv_obj_t *tab1 = lv_tabview_add_tab(tv, "Write");
|
||||
lv_page_set_style(tab1, LV_PAGE_STYLE_BG, &lv_style_transp_fit);
|
||||
lv_obj_t *tab2 = lv_tabview_add_tab(tv, "List");
|
||||
lv_obj_t *tab3 = lv_tabview_add_tab(tv, "Chart");
|
||||
lv_obj_t * tab1 = lv_tabview_add_tab(tv, "Write");
|
||||
lv_obj_t * tab2 = lv_tabview_add_tab(tv, "List");
|
||||
lv_obj_t * tab3 = lv_tabview_add_tab(tv, "Chart");
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_LVGLDEMO_WALLPAPER
|
||||
#if CONFIG_EXAMPLES_LVGLDEMO_WALLPAPER == 0
|
||||
/* Blue bg instead of wallpaper */
|
||||
|
||||
lv_tabview_set_style(tv, LV_TABVIEW_STYLE_BG, &style_tv_btn_bg);
|
||||
@ -406,4 +478,8 @@ void demo_init(void)
|
||||
write_create(tab1);
|
||||
list_create(tab2);
|
||||
chart_create(tab3);
|
||||
|
||||
#if LV_DEMO_SLIDE_SHOW
|
||||
lv_task_create(tab_switcher, 3000, LV_TASK_PRIO_MID, tv);
|
||||
#endif
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -185,7 +185,7 @@ int lvgldemo_main(int argc, char *argv[])
|
||||
* mouse position and state.
|
||||
*/
|
||||
|
||||
indev_drv.read_fp = tp_read;
|
||||
indev_drv.read = tp_read;
|
||||
lv_indev_drv_register(&indev_drv);
|
||||
|
||||
/* Demo initialization */
|
||||
|
@ -123,7 +123,7 @@ static lv_res_t btn_click_action(FAR lv_obj_t *scr)
|
||||
a.start = 0;
|
||||
a.end = LV_HOR_RES - CIRCLE_SIZE;
|
||||
a.fp = (lv_anim_fp_t) lv_obj_set_x;
|
||||
a.path = lv_anim_get_path(LV_ANIM_PATH_LIN);
|
||||
a.path = lv_anim_path_linear;
|
||||
a.end_cb = NULL;
|
||||
a.act_time = 0;
|
||||
a.time = 200;
|
||||
@ -167,7 +167,7 @@ static lv_res_t btn_click_action(FAR lv_obj_t *scr)
|
||||
a.start = LV_HOR_RES - CIRCLE_SIZE;
|
||||
a.end = LV_HOR_RES - CIRCLE_SIZE;
|
||||
a.fp = (lv_anim_fp_t)lv_obj_set_x;
|
||||
a.path = lv_anim_get_path(LV_ANIM_PATH_LIN);
|
||||
a.path = lv_anim_path_linear;
|
||||
a.end_cb = NULL;
|
||||
a.act_time = 0;
|
||||
a.time = 200;
|
||||
@ -211,7 +211,7 @@ static lv_res_t btn_click_action(FAR lv_obj_t *scr)
|
||||
a.start = LV_HOR_RES - CIRCLE_SIZE;
|
||||
a.end = 0;
|
||||
a.fp = (lv_anim_fp_t)lv_obj_set_x;
|
||||
a.path = lv_anim_get_path(LV_ANIM_PATH_LIN);
|
||||
a.path = lv_anim_path_linear;
|
||||
a.end_cb = NULL;
|
||||
a.act_time = 0;
|
||||
a.time = 200;
|
||||
@ -305,7 +305,7 @@ void tp_cal_create(void)
|
||||
lv_obj_set_size(big_btn, TP_MAX_VALUE, TP_MAX_VALUE);
|
||||
lv_btn_set_style(big_btn, LV_BTN_STYLE_REL, &lv_style_transp);
|
||||
lv_btn_set_style(big_btn, LV_BTN_STYLE_PR, &lv_style_transp);
|
||||
lv_btn_set_action(big_btn, LV_BTN_ACTION_REL, btn_click_action);
|
||||
lv_btn_set_action(big_btn, LV_BTN_ACTION_CLICK, btn_click_action);
|
||||
lv_btn_set_layout(big_btn, LV_LAYOUT_OFF);
|
||||
|
||||
label_main = lv_label_create(lv_scr_act(), NULL);
|
||||
@ -328,7 +328,7 @@ void tp_cal_create(void)
|
||||
a.start = LV_HOR_RES / 2;
|
||||
a.end = 0;
|
||||
a.fp = (lv_anim_fp_t) lv_obj_set_x;
|
||||
a.path = lv_anim_get_path(LV_ANIM_PATH_LIN);
|
||||
a.path = lv_anim_path_linear;
|
||||
a.end_cb = NULL;
|
||||
a.act_time = -500;
|
||||
a.time = 200;
|
||||
|
@ -15,7 +15,8 @@ config LV_MEM_SIZE
|
||||
int "Heap size of the graphics library"
|
||||
default 32768
|
||||
---help---
|
||||
The size of a memory pool where the grapohisc library dynamically allocates data
|
||||
The size of a memory pool where the grapohisc library
|
||||
dynamically allocates data
|
||||
|
||||
menu "Graphics settings"
|
||||
|
||||
@ -56,8 +57,10 @@ config LV_VDB_DOUBLE
|
||||
bool "Use 2 internal buffers. One to render and an other to flush data to frame buffer in background"
|
||||
default n
|
||||
---help---
|
||||
Enable to use one buffer for rendering an other to flush the ready content to the frame buffer.
|
||||
The flushing should be done by a hardware modul (e.g. DMA) to make rendering and flushing parallel
|
||||
Enable to use one buffer for rendering an other to flush the
|
||||
ready content to the frame buffer.
|
||||
The flushing should be done by a hardware modul (e.g. DMA) to
|
||||
make rendering and flushing parallel
|
||||
|
||||
if LV_VDB_DOUBLE
|
||||
|
||||
@ -67,32 +70,26 @@ config LV_VDB2_ADR
|
||||
---help---
|
||||
Similarly to LV_VDB_ADR. the second VDB address can be specified as well.
|
||||
endif # LV_VDB_DOUBLE
|
||||
|
||||
config LV_ANTIALIAS
|
||||
bool "Anti aliasing of the screen"
|
||||
default n
|
||||
---help---
|
||||
Render everything in double size and filter to half to get a smoother result.
|
||||
You need to use double sized fonts and images to get the same result
|
||||
|
||||
endif # LV_VDB_SIZE != 0
|
||||
|
||||
config LV_FONT_ANTIALIAS
|
||||
bool "Anti aliasing of fonts"
|
||||
default y
|
||||
---help---
|
||||
Downscale the fonts with a filter to get smoother letters.
|
||||
|
||||
config LV_REFR_PERIOD
|
||||
int "Refresh period in milliseconds"
|
||||
default 50
|
||||
---help---
|
||||
The graphics library will check for invalid areas an refresh them with this period time
|
||||
The graphics library will check for invalid areas an refresh
|
||||
them with this period time
|
||||
|
||||
config LV_INV_FIFO_SIZE
|
||||
int "Average number of object on the screen"
|
||||
default 32
|
||||
---help---
|
||||
If too much area is invalidated (greater then this number) then the whole screen will be refreshed
|
||||
If too much area is invalidated (greater then this number) then
|
||||
the whole screen will be refreshed
|
||||
|
||||
endmenu
|
||||
|
||||
@ -165,6 +162,10 @@ config USE_LV_GPU
|
||||
bool "Enable GPU (hardware acceleration) API"
|
||||
default y
|
||||
|
||||
config USE_LV_REAL_DRAW
|
||||
bool "Enable function which draw directly to the frame buffer instead of VDB"
|
||||
default y
|
||||
|
||||
config USE_LV_FILESYSTEM
|
||||
bool "Enable filesystem (required for images, lv_img)"
|
||||
default y
|
||||
@ -207,207 +208,170 @@ menu "Font usage"
|
||||
# 10 PX FONTS
|
||||
|
||||
config USE_LV_FONT_DEJAVU_10
|
||||
bool "Dejavu 10 px"
|
||||
default n
|
||||
int "Dejavu 10 px"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_10_SUP
|
||||
bool "Dejavu 10 px - latin supplement"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_10_LATIN_EXT_A
|
||||
bool "Dejavu 10 px - latin extended A"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_10_LATIN_EXT_B
|
||||
bool "Dejavu 10 px - latin extanded B"
|
||||
default n
|
||||
config USE_LV_FONT_DEJAVU_10_LATIN_SUP
|
||||
int "Dejavu 10 px - latin supplement"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_10_CYRILLIC
|
||||
bool "Dejavu 10 px - cyrillic"
|
||||
default n
|
||||
int "Dejavu 10 px - cyrillic"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_SYMBOL_10_BASIC
|
||||
bool "Symbol 10 px - basic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_10_FILE
|
||||
bool "Symbol 10 px - file"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_10_FEEDBACK
|
||||
bool "Symbol 10 px - feedback"
|
||||
default n
|
||||
config USE_LV_FONT_SYMBOL_10
|
||||
int "Symbol 10 px"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
#20 PX FONTS
|
||||
|
||||
config USE_LV_FONT_DEJAVU_20
|
||||
bool "Dejavu 20 px"
|
||||
default n
|
||||
int "Dejavu 20 px"
|
||||
default 4
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_20_SUP
|
||||
bool "Dejavu 20 px - latin supplement"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_20_LATIN_EXT_A
|
||||
bool "Dejavu 20 px - latin extended A"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_20_LATIN_EXT_B
|
||||
bool "Dejavu 20 px - latin extanded B"
|
||||
default n
|
||||
config USE_LV_FONT_DEJAVU_20_LATIN_SUP
|
||||
int "Dejavu 20 px - latin supplement"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_20_CYRILLIC
|
||||
bool "Dejavu 20 px - cyrillic"
|
||||
default n
|
||||
int "Dejavu 20 px - cyrillic"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_SYMBOL_20_BASIC
|
||||
bool "Symbol 20 px - basic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_20_FILE
|
||||
bool "Symbol 20 px - file"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_20_FEEDBACK
|
||||
bool "Symbol 20 px - feedback"
|
||||
default n
|
||||
config USE_LV_FONT_SYMBOL_20
|
||||
int "Symbol 20 px"
|
||||
default 4
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
#30 PX FONTS
|
||||
|
||||
config USE_LV_FONT_DEJAVU_30
|
||||
bool "Dejavu 30 px"
|
||||
default n
|
||||
int "Dejavu 30 px"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_30_SUP
|
||||
bool "Dejavu 30 px - latin supplement"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_30_LATIN_EXT_A
|
||||
bool "Dejavu 30 px - latin extended A"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_30_LATIN_EXT_B
|
||||
bool "Dejavu 30 px - latin extended B"
|
||||
default n
|
||||
config USE_LV_FONT_DEJAVU_30_LATIN_SUP
|
||||
int "Dejavu 30 px - latin supplement"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_30_CYRILLIC
|
||||
bool "Dejavu 30 px - cyrillic"
|
||||
default n
|
||||
int "Dejavu 30 px - cyrillic"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_SYMBOL_30_BASIC
|
||||
bool "Symbol 30 px - basic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_30_FILE
|
||||
bool "Symbol 30 px - file"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_30_FEEDBACK
|
||||
bool "Symbol 30 px - feedback"
|
||||
default n
|
||||
config USE_LV_FONT_SYMBOL_30
|
||||
int "Symbol 30 px"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
#40 PX FONTS
|
||||
|
||||
config USE_LV_FONT_DEJAVU_40
|
||||
bool "Dejavu 40 px"
|
||||
default y
|
||||
int "Dejavu 40 px"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_40_SUP
|
||||
bool "Dejavu 40 px - latin supplement"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_40_LATIN_EXT_A
|
||||
bool "Dejavu 40 px - latin extended A"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_40_LATIN_EXT_B
|
||||
bool "Dejavu 40 px - latin extended B"
|
||||
default n
|
||||
config USE_LV_FONT_DEJAVU_40_LATIN_SUP
|
||||
int "Dejavu 40 px - latin supplement"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_DEJAVU_40_CYRILLIC
|
||||
bool "Dejavu 40 px - cyrillic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_40_BASIC
|
||||
bool "Symbol 40 px - basic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_40_FILE
|
||||
bool "Symbol 40 px - file"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_40_FEEDBACK
|
||||
bool "Symbol 40 px - feedback"
|
||||
default n
|
||||
|
||||
#60 PX FONTS
|
||||
|
||||
config USE_LV_FONT_DEJAVU_60
|
||||
bool "Dejavu 60 px"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_60_SUP
|
||||
bool "Dejavu 60 px - latin supplement"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_60_LATIN_EXT_A
|
||||
bool "Dejavu 60 px - latin extended A"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_60_LATIN_EXT_B
|
||||
bool "Dejavu 60 px - latin extanded B"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_60_CYRILLIC
|
||||
bool "Dejavu 60 px - cyrillic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_60_BASIC
|
||||
bool "Symbol 60 px - basic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_60_FILE
|
||||
bool "Symbol 60 px - file"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_60_FEEDBACK
|
||||
bool "Symbol 60 px - feedback"
|
||||
default n
|
||||
|
||||
#80 PX FONTS
|
||||
|
||||
config USE_LV_FONT_DEJAVU_80
|
||||
bool "Dejavu 80 px"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_80_SUP
|
||||
bool "Dejavu 80 px - latin supplement"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_80_LATIN_EXT_A
|
||||
bool "Dejavu 80 px - latin extended A"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_80_LATIN_EXT_B
|
||||
bool "Dejavu 80 px - latin extended B"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_DEJAVU_80_CYRILLIC
|
||||
bool "Dejavu 80 px - cyrillic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_80_BASIC
|
||||
bool "Symbol 80 px - basic"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_80_FILE
|
||||
bool "Symbol 80 px - file"
|
||||
default n
|
||||
|
||||
config USE_LV_FONT_SYMBOL_80_FEEDBACK
|
||||
bool "Symbol 80 px - feedback"
|
||||
default n
|
||||
int "Dejavu 40 px - cyrillic"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
|
||||
config USE_LV_FONT_SYMBOL_40
|
||||
int "Symbol 40 px"
|
||||
default 0
|
||||
---help---
|
||||
0: disable
|
||||
1: 1 bit-per-pixel
|
||||
2: 2 bit-per-pixel
|
||||
4: 4 bit-per-pixel
|
||||
8: 8 bit-per-pixel
|
||||
endmenu
|
||||
|
||||
menu "Base object settings"
|
||||
|
@ -58,10 +58,10 @@ DEPPATH = --dep-path .
|
||||
|
||||
WD := ${shell pwd | sed -e 's/ /\\ /g'}
|
||||
|
||||
CONFIG_GRAPH_LVGL_URL ?= "https://archive.org/download/lvgl4.tar"
|
||||
CONFIG_GRAPH_LVGL_URL ?= "https://littlevgl.com/download/"
|
||||
|
||||
LVGL_VERSION ?= 4
|
||||
LVGL_TARBALL = lvgl$(LVGL_VERSION).tar.gz
|
||||
LVGL_VERSION ?= v5_1_1
|
||||
LVGL_TARBALL = lvgl_$(LVGL_VERSION).tar.gz
|
||||
WGET ?= wget
|
||||
|
||||
LVGL_UNPACKNAME = lvgl
|
||||
|
@ -46,6 +46,10 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Compiler settings */
|
||||
|
||||
#define LV_COMPILER_VLA_SUPPORTED 1
|
||||
|
||||
/* Dynamic memory */
|
||||
|
||||
#define LV_MEM_CUSTOM 0
|
||||
@ -54,6 +58,9 @@
|
||||
#define LV_MEM_ATTR
|
||||
|
||||
/* Graphical settings */
|
||||
|
||||
#define LV_DEMO_SLIDE_SHOW 0
|
||||
|
||||
/* Horizontal and vertical resolution of the library.*/
|
||||
|
||||
#define LV_HOR_RES CONFIG_LV_HOR_RES
|
||||
@ -89,9 +96,6 @@
|
||||
#define LV_VDB2_ADR CONFIG_VDB2_ADR
|
||||
|
||||
/* Enable anti aliasing
|
||||
*
|
||||
* If enabled everything will be rendered in double size and filtered to
|
||||
* normal size
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_LV_ANTIALIAS
|
||||
@ -100,18 +104,6 @@
|
||||
# define LV_ANTIALIAS 0
|
||||
#endif
|
||||
|
||||
/* Enable anti aliasing only for fonts (texts)
|
||||
*
|
||||
* It half the size of the letters so you should use double sized fonts
|
||||
* Much faster then normal anti aliasing.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_LV_FONT_ANTIALIAS
|
||||
# define LV_FONT_ANTIALIAS CONFIG_LV_FONT_ANTIALIAS
|
||||
#else
|
||||
# define LV_FONT_ANTIALIAS 0
|
||||
#endif
|
||||
|
||||
/* Screen refresh settings
|
||||
*
|
||||
* LV_REFR_PERIOD - Screen refresh period in milliseconds
|
||||
@ -194,6 +186,12 @@
|
||||
# define USE_LV_GPU 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_REAL_DRAW
|
||||
# define USE_LV_REAL_DRAW CONFIG_USE_LV_REAL_DRAW
|
||||
#else
|
||||
# define USE_LV_REAL_DRAW 0
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_USE_LV_FILESYSTEM
|
||||
# define USE_LV_FILESYSTEM CONFIG_USE_LV_FILESYSTEM
|
||||
@ -269,22 +267,10 @@
|
||||
# define USE_LV_FONT_DEJAVU_10 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_10_SUP
|
||||
# define USE_LV_FONT_DEJAVU_10_SUP CONFIG_USE_LV_FONT_DEJAVU_10_SUP
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_10_LATIN_SUP
|
||||
# define USE_LV_FONT_DEJAVU_10_LATIN_SUP CONFIG_USE_LV_FONT_DEJAVU_10_LATIN_SUP
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_10_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_10_LATIN_EXT_A
|
||||
# define USE_LV_FONT_DEJAVU_10_LATIN_EXT_A CONFIG_USE_LV_FONT_DEJAVU_10_LATIN_EXT_A
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_10_LATIN_EXT_A 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_10_LATIN_EXT_B
|
||||
# define USE_LV_FONT_DEJAVU_10_LATIN_EXT_B CONFIG_USE_LV_FONT_DEJAVU_10_LATIN_EXT_B
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_10_LATIN_EXT_B 0
|
||||
# define USE_LV_FONT_DEJAVU_10_LATIN_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_10_CYRILLIC
|
||||
@ -293,22 +279,10 @@
|
||||
# define USE_LV_FONT_DEJAVU_10_CYRILLIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_10_BASIC
|
||||
# define USE_LV_FONT_SYMBOL_10_BASIC CONFIG_USE_LV_FONT_SYMBOL_10_BASIC
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_10
|
||||
# define USE_LV_FONT_SYMBOL_10 CONFIG_USE_LV_FONT_SYMBOL_10
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_10_BASIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_10_FILE
|
||||
# define USE_LV_FONT_SYMBOL_10_FILE CONFIG_USE_LV_FONT_SYMBOL_10_FILE
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_10_FILE 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_10_FEEDBACK
|
||||
# define USE_LV_FONT_SYMBOL_10_FEEDBACK CONFIG_USE_LV_FONT_SYMBOL_10_FEEDBACK
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_10_FEEDBACK 0
|
||||
# define USE_LV_FONT_SYMBOL_10 0
|
||||
#endif
|
||||
|
||||
/* Size 20 */
|
||||
@ -322,22 +296,10 @@
|
||||
# define USE_LV_FONT_DEJAVU_20 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_20_SUP
|
||||
# define USE_LV_FONT_DEJAVU_20_SUP CONFIG_USE_LV_FONT_DEJAVU_20_SUP
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_20_LATIN_SUP
|
||||
# define USE_LV_FONT_DEJAVU_20_LATIN_SUP CONFIG_USE_LV_FONT_DEJAVU_20_LATIN_SUP
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_20_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_20_LATIN_EXT_A
|
||||
# define USE_LV_FONT_DEJAVU_20_LATIN_EXT_A CONFIG_USE_LV_FONT_DEJAVU_20_LATIN_EXT_A
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_20_LATIN_EXT_A 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_20_LATIN_EXT_B
|
||||
# define USE_LV_FONT_DEJAVU_20_LATIN_EXT_B CONFIG_USE_LV_FONT_DEJAVU_20_LATIN_EXT_B
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_20_LATIN_EXT_B 0
|
||||
# define USE_LV_FONT_DEJAVU_20_LATIN_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_20_CYRILLIC
|
||||
@ -346,22 +308,10 @@
|
||||
# define USE_LV_FONT_DEJAVU_20_CYRILLIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_20_BASIC
|
||||
# define USE_LV_FONT_SYMBOL_20_BASIC CONFIG_USE_LV_FONT_SYMBOL_20_BASIC
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_20
|
||||
# define USE_LV_FONT_SYMBOL_20 CONFIG_USE_LV_FONT_SYMBOL_20
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_20_BASIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_20_FILE
|
||||
# define USE_LV_FONT_SYMBOL_20_FILE CONFIG_USE_LV_FONT_SYMBOL_20_FILE
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_20_FILE 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_20_FEEDBACK
|
||||
# define USE_LV_FONT_SYMBOL_20_FEEDBACK CONFIG_USE_LV_FONT_SYMBOL_20_FEEDBACK
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_20_FEEDBACK 0
|
||||
# define USE_LV_FONT_SYMBOL_20 0
|
||||
#endif
|
||||
|
||||
/* Size 30 */
|
||||
@ -370,29 +320,17 @@
|
||||
# define USE_LV_FONT_DEJAVU_30 CONFIG_USE_LV_FONT_DEJAVU_30
|
||||
# if USE_LV_FONT_DEJAVU_30
|
||||
# ifndef LV_FONT_DEFAULT
|
||||
# define LV_FONT_DEFAULT &lv_font_dejavu_30
|
||||
# define LV_FONT_DEFAULT &lv_font_dejavu_30
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_30 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_30_SUP
|
||||
# define USE_LV_FONT_DEJAVU_30_SUP CONFIG_USE_LV_FONT_DEJAVU_30_SUP
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_30_LATIN_SUP
|
||||
# define USE_LV_FONT_DEJAVU_30_LATIN_SUP CONFIG_USE_LV_FONT_DEJAVU_30_LATIN_SUP
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_30_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_30_LATIN_EXT_A
|
||||
# define USE_LV_FONT_DEJAVU_30_LATIN_EXT_A CONFIG_USE_LV_FONT_DEJAVU_30_LATIN_EXT_A
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_30_LATIN_EXT_A 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_30_LATIN_EXT_B
|
||||
# define USE_LV_FONT_DEJAVU_30_LATIN_EXT_B CONFIG_USE_LV_FONT_DEJAVU_30_LATIN_EXT_B
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_30_LATIN_EXT_B 0
|
||||
# define USE_LV_FONT_DEJAVU_30_LATIN_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_30_CYRILLIC
|
||||
@ -401,22 +339,10 @@
|
||||
# define USE_LV_FONT_DEJAVU_30_CYRILLIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_30_BASIC
|
||||
# define USE_LV_FONT_SYMBOL_30_BASIC CONFIG_USE_LV_FONT_SYMBOL_30_BASIC
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_30
|
||||
# define USE_LV_FONT_SYMBOL_30 CONFIG_USE_LV_FONT_SYMBOL_30
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_30_BASIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_30_FILE
|
||||
# define USE_LV_FONT_SYMBOL_30_FILE CONFIG_USE_LV_FONT_SYMBOL_30_FILE
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_30_FILE 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_30_FEEDBACK
|
||||
# define USE_LV_FONT_SYMBOL_30_FEEDBACK CONFIG_USE_LV_FONT_SYMBOL_30_FEEDBACK
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_30_FEEDBACK 0
|
||||
# define USE_LV_FONT_SYMBOL_30 0
|
||||
#endif
|
||||
|
||||
/*Size 40*/
|
||||
@ -431,22 +357,16 @@
|
||||
# define USE_LV_FONT_DEJAVU_40 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_40_SUP
|
||||
# define USE_LV_FONT_DEJAVU_40_SUP CONFIG_USE_LV_FONT_DEJAVU_40_SUP
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_40
|
||||
# define USE_LV_FONT_SYMBOL_40 CONFIG_USE_LV_FONT_SYMBOL_40
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_40_SUP 0
|
||||
# define USE_LV_FONT_SYMBOL_40 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_40_LATIN_EXT_A
|
||||
# define USE_LV_FONT_DEJAVU_40_LATIN_EXT_A CONFIG_USE_LV_FONT_DEJAVU_40_LATIN_EXT_A
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_40_LATIN_SUP
|
||||
# define USE_LV_FONT_DEJAVU_40_LATIN_SUP CONFIG_USE_LV_FONT_DEJAVU_40_LATIN_SUP
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_40_LATIN_EXT_A 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_40_LATIN_EXT_B
|
||||
# define USE_LV_FONT_DEJAVU_40_LATIN_EXT_B CONFIG_USE_LV_FONT_DEJAVU_40_LATIN_EXT_B
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_40_LATIN_EXT_B 0
|
||||
# define USE_LV_FONT_DEJAVU_40_LATIN_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_40_CYRILLIC
|
||||
@ -455,130 +375,6 @@
|
||||
# define USE_LV_FONT_DEJAVU_40_CYRILLIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_40_BASIC
|
||||
# define USE_LV_FONT_SYMBOL_40_BASIC CONFIG_USE_LV_FONT_SYMBOL_40_BASIC
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_40_BASIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_40_FILE
|
||||
# define USE_LV_FONT_SYMBOL_40_FILE CONFIG_USE_LV_FONT_SYMBOL_40_FILE
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_40_FILE 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_40_FEEDBACK
|
||||
# define USE_LV_FONT_SYMBOL_40_FEEDBACK CONFIG_USE_LV_FONT_SYMBOL_40_FEEDBACK
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_40_FEEDBACK 0
|
||||
#endif
|
||||
|
||||
/* Size 60 */
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_60
|
||||
# define USE_LV_FONT_DEJAVU_60 CONFIG_USE_LV_FONT_DEJAVU_60
|
||||
# if USE_LV_FONT_DEJAVU_60
|
||||
# define LV_FONT_DEFAULT &lv_font_dejavu_60
|
||||
# endif
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_60 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_60_SUP
|
||||
# define USE_LV_FONT_DEJAVU_60_SUP CONFIG_USE_LV_FONT_DEJAVU_60_SUP
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_60_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_60_LATIN_EXT_A
|
||||
# define USE_LV_FONT_DEJAVU_60_LATIN_EXT_A CONFIG_USE_LV_FONT_DEJAVU_60_LATIN_EXT_A
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_60_LATIN_EXT_A 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_60_LATIN_EXT_B
|
||||
# define USE_LV_FONT_DEJAVU_60_LATIN_EXT_B CONFIG_USE_LV_FONT_DEJAVU_60_LATIN_EXT_B
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_60_LATIN_EXT_B 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_60_CYRILLIC
|
||||
# define USE_LV_FONT_DEJAVU_60_CYRILLIC CONFIG_USE_LV_FONT_DEJAVU_60_CYRILLIC
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_60_CYRILLIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_60_BASIC
|
||||
# define USE_LV_FONT_SYMBOL_60_BASIC CONFIG_USE_LV_FONT_SYMBOL_60_BASIC
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_60_BASIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_60_FILE
|
||||
# define USE_LV_FONT_SYMBOL_60_FILE CONFIG_USE_LV_FONT_SYMBOL_60_FILE
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_60_FILE 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_60_FEEDBACK
|
||||
# define USE_LV_FONT_SYMBOL_60_FEEDBACK CONFIG_USE_LV_FONT_SYMBOL_60_FEEDBACK
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_60_FEEDBACK 0
|
||||
#endif
|
||||
|
||||
/* Size 80 */
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_80
|
||||
# define USE_LV_FONT_DEJAVU_80 CONFIG_USE_LV_FONT_DEJAVU_80
|
||||
# if USE_LV_FONT_DEJAVU_80
|
||||
# define LV_FONT_DEFAULT &lv_font_dejavu_80
|
||||
# endif
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_80 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_80_SUP
|
||||
# define USE_LV_FONT_DEJAVU_80_SUP CONFIG_USE_LV_FONT_DEJAVU_80_SUP
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_80_SUP 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_80_LATIN_EXT_A
|
||||
# define USE_LV_FONT_DEJAVU_80_LATIN_EXT_A CONFIG_USE_LV_FONT_DEJAVU_80_LATIN_EXT_A
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_80_LATIN_EXT_A 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_80_LATIN_EXT_B
|
||||
# define USE_LV_FONT_DEJAVU_80_LATIN_EXT_B CONFIG_USE_LV_FONT_DEJAVU_80_LATIN_EXT_B
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_80_LATIN_EXT_B 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_DEJAVU_80_CYRILLIC
|
||||
# define USE_LV_FONT_DEJAVU_80_CYRILLIC CONFIG_USE_LV_FONT_DEJAVU_80_CYRILLIC
|
||||
#else
|
||||
# define USE_LV_FONT_DEJAVU_80_CYRILLIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_80_BASIC
|
||||
# define USE_LV_FONT_SYMBOL_80_BASIC CONFIG_USE_LV_FONT_SYMBOL_80_BASIC
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_80_BASIC 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_80_FILE
|
||||
# define USE_LV_FONT_SYMBOL_80_FILE CONFIG_USE_LV_FONT_SYMBOL_80_FILE
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_80_FILE 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USE_LV_FONT_SYMBOL_80_FEEDBACK
|
||||
# define USE_LV_FONT_SYMBOL_80_FEEDBACK CONFIG_USE_LV_FONT_SYMBOL_80_FEEDBACK
|
||||
#else
|
||||
# define USE_LV_FONT_SYMBOL_80_FEEDBACK 0
|
||||
#endif
|
||||
|
||||
/* LV_OBJ SETTINGS
|
||||
*
|
||||
* LV_OBJ_FREE_NUM_TYPE - Type of free number attribute (comment out disable free number)
|
||||
|
Loading…
x
Reference in New Issue
Block a user