rename ta, cb, sw, ddlist, mbox, kb, btnm, lmeter, preload

This commit is contained in:
Gabor Kiss-Vamosi
2020-02-14 12:36:44 +01:00
parent 738faeda21
commit bd9299c89e
39 changed files with 1451 additions and 1450 deletions

View File

@@ -206,7 +206,7 @@ static void slider_init(void)
static void sw_init(void)
{
#if LV_USE_SW != 0
#if LV_USE_SWITCH != 0
theme.style.sw.bg = theme.style.slider.bg;
theme.style.sw.indic = theme.style.slider.indic;
@@ -267,7 +267,7 @@ static void calendar_init(void)
static void cb_init(void)
{
#if LV_USE_CB != 0
#if LV_USE_CHECKBOX != 0
theme.style.cb.bg = &lv_style_transp;
theme.style.cb.box.rel = &light_frame;
@@ -280,7 +280,7 @@ static void cb_init(void)
static void btnm_init(void)
{
#if LV_USE_BTNM
#if LV_USE_BTNMATRIX
theme.style.btnm.bg = &light_frame;
theme.style.btnm.btn.rel = &light_frame;
@@ -293,7 +293,7 @@ static void btnm_init(void)
static void kb_init(void)
{
#if LV_USE_KB
#if LV_USE_KEYBOARD
theme.style.kb.bg = &lv_style_transp_fit;
theme.style.kb.btn.rel = &light_frame;
theme.style.kb.btn.pr = &light_frame;
@@ -305,7 +305,7 @@ static void kb_init(void)
static void mbox_init(void)
{
#if LV_USE_MBOX
#if LV_USE_MSGBOX
theme.style.mbox.bg = &dark_frame;
theme.style.mbox.btn.bg = &lv_style_transp_fit;
@@ -326,7 +326,7 @@ static void page_init(void)
static void ta_init(void)
{
#if LV_USE_TA
#if LV_USE_TEXTAREA
theme.style.ta.area = &light_frame;
theme.style.ta.oneline = &light_frame;
@@ -352,7 +352,7 @@ static void list_init(void)
static void ddlist_init(void)
{
#if LV_USE_DDLIST != 0
#if LV_USE_DROPDOWN != 0
static lv_style_t bg;
lv_style_copy(&bg, &light_frame);
bg.text.line_space = LV_DPI / 12;
@@ -377,7 +377,7 @@ static void roller_init(void)
static void tabview_init(void)
{
#if LV_USE_TABVIEW != 0
#if LV_USE_TEXTAREABVIEW != 0
theme.style.tabview.bg = &light_frame;
theme.style.tabview.indic = &light_plain;