minor style updates

This commit is contained in:
Gabor
2017-05-10 15:45:00 +02:00
parent 20f4685541
commit 3a9a23b350
3 changed files with 6 additions and 4 deletions

View File

@@ -1011,8 +1011,10 @@ static void lv_app_init_style(void)
app_style.menu_btn_rel.ccolor = COLOR_WHITE;
app_style.menu_btn_rel.mcolor = COLOR_MAKE(0x30, 0x30, 0x30);
app_style.menu_btn_rel.gcolor = COLOR_MAKE(0x30, 0x30, 0x30);
app_style.menu_btn_rel.bcolor = COLOR_MAKE(0x80, 0x80, 0x80);
app_style.menu_btn_rel.bcolor = COLOR_MAKE(0xa0, 0xa0, 0xa0);
app_style.menu_btn_rel.bopa = OPA_20;
app_style.menu_btn_rel.bwidth = 0;
app_style.menu_btn_rel.radius = 0;
app_style.menu_btn_rel.swidth = 0;
app_style.menu_btn_rel.empty = 1;

View File

@@ -33,14 +33,14 @@ static lv_obj_t * kb_win;
static lv_obj_t * kb_ta;
static const char * kb_map_lc[] = {
"\0051#", "\004q", "\004w", "\004e", "\004r", "\004t", "\004y", "\004u", "\004i", "\004o", "\004p", "\007Del", "\n",
"\007ABC", "\004a", "\004s", "\004d", "\004f", "\004g", "\004h", "\004j", "\004k", "\004l", "\010Enter", "\n",
"\006ABC", "\003a", "\003s", "\003d", "\003f", "\003g", "\003h", "\003j", "\003k", "\003l", "\010Enter", "\n",
"_", "-", "z", "x", "c", "v", "b", "n", "m", ".", ",", ":", "\n",
"\003Hide", "\003Left", "\006 ", "\003Right", "\003Ok", ""
};
static const char * kb_map_uc[] = {
"\0051#", "\004Q", "\004W", "\004E", "\004R", "\004T", "\004Y", "\004U", "\004I", "\004O", "\004P", "\007Del", "\n",
"\007abc", "\004A", "\004S", "\004D", "\004F", "\004G", "\004H", "\004J", "\004K", "\004L", "\010Enter", "\n",
"\006abc", "\003A", "\003S", "\003D", "\003F", "\003G", "\003H", "\003J", "\003K", "\003L", "\010Enter", "\n",
"_", "-", "Z", "X", "C", "V", "B", "N", "M", ".", ",", ":", "\n",
"\003Hide", "\003Left", "\006 ", "\003Right", "\003Ok", ""
};

View File

@@ -76,7 +76,7 @@ void lv_style_init (void)
lv_style_scr.font = font_get(FONT_DEFAULT);
lv_style_scr.letter_space = 1 * LV_DOWNSCALE;
lv_style_scr.line_space = 3 * LV_DOWNSCALE;
lv_style_scr.txt_align = 0;
lv_style_scr.txt_align = LV_TXT_ALIGN_LEFT;
lv_style_scr.img_recolor = OPA_TRANSP;
lv_style_scr.line_width = 1 * LV_DOWNSCALE;