Fix: Change font and make screen a little better looking

main
rkcf 2023-02-04 20:48:53 -06:00
parent 4a6095a1dc
commit f4f62a2a77
3 changed files with 2097 additions and 771 deletions

View File

@ -15,6 +15,7 @@
#include "esp_log.h" #include "esp_log.h"
#include "esp_random.h" #include "esp_random.h"
#include "esp_timer.h" #include "esp_timer.h"
#include "extra/layouts/flex/lv_flex.h"
#include "font/lv_font.h" #include "font/lv_font.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
#include "freertos/portmacro.h" #include "freertos/portmacro.h"
@ -39,7 +40,9 @@
#include "lvgl.h" #include "lvgl.h"
#include "widgets/lv_label.h" #include "widgets/lv_label.h"
#include "vcr_osd_mono_18.c" #define LV_LVGL_H_INCLUDE_SIMPLE
#include "pixel_operator_24.c"
/* Inputs */ /* Inputs */
// Clock In // Clock In
@ -287,8 +290,6 @@ static void lvgl_flush_cb(lv_disp_drv_t *drv, const lv_area_t *area, lv_color_t
static void lvgl_port_update_cb(lv_disp_drv_t *drv) { static void lvgl_port_update_cb(lv_disp_drv_t *drv) {
esp_lcd_panel_handle_t panel_handle = (esp_lcd_panel_handle_t)drv->user_data; esp_lcd_panel_handle_t panel_handle = (esp_lcd_panel_handle_t)drv->user_data;
esp_lcd_panel_swap_xy(panel_handle, false);
esp_lcd_panel_mirror(panel_handle, true, false);
} }
static void lvgl_increase_tick(void *arg) { static void lvgl_increase_tick(void *arg) {
@ -354,12 +355,12 @@ static void display_init(void) {
// Allocate draw buffers // Allocate draw buffers
lv_color_t *buf1 = lv_color_t *buf1 =
heap_caps_malloc(LCD_H_RES * 20 * sizeof(lv_color_t), MALLOC_CAP_DMA); heap_caps_malloc(LCD_H_RES * 80 * sizeof(lv_color_t), MALLOC_CAP_DMA);
lv_color_t *buf2 = lv_color_t *buf2 =
heap_caps_malloc(LCD_H_RES * 20 * sizeof(lv_color_t), MALLOC_CAP_DMA); heap_caps_malloc(LCD_H_RES * 80 * sizeof(lv_color_t), MALLOC_CAP_DMA);
// Initialize draw buffers // Initialize draw buffers
static lv_disp_draw_buf_t disp_buf; static lv_disp_draw_buf_t disp_buf;
lv_disp_draw_buf_init(&disp_buf, buf1, buf2, LCD_H_RES * 20); lv_disp_draw_buf_init(&disp_buf, buf1, buf2, LCD_H_RES * 80);
// Initialize display driver then register it // Initialize display driver then register it
static lv_disp_drv_t disp_drv; static lv_disp_drv_t disp_drv;
@ -383,31 +384,33 @@ static void display_init(void) {
} }
static void gui_create(void) { static void gui_create(void) {
// Get current screen // Setup flex layout
lv_obj_t * screen = lv_disp_get_scr_act(NULL); lv_obj_t * seq_row = lv_obj_create(lv_scr_act());
lv_obj_set_size(seq_row, 300, 70);
lv_obj_set_flex_flow(seq_row, LV_FLEX_FLOW_ROW);
// Initialize style // Initialize style
static lv_style_t gui_style; static lv_style_t gui_style;
lv_style_init(&gui_style); lv_style_init(&gui_style);
// Set background color // Set background color
lv_obj_set_style_bg_color(screen, lv_color_hex(0xa1e5d0), LV_PART_MAIN); /* lv_style_set_bg_color(&gui_style, lv_color_hex(0xa1e5d0)); */
// Load VCR OSD Mono Font https://www.dafont.com/vcr-osd-mono.font // Load Font https://www.dafont.com/pixel-operator.font
// Converted with https://lvgl.io/tools/fontconverter // Converted with https://lvgl.io/tools/fontconverter
LV_FONT_DECLARE(vcr_osd_mono_18); LV_FONT_DECLARE(pixel_operator_24);
// Set the font in the style // Set the font in the style
lv_style_set_text_font(&gui_style, &vcr_osd_mono_18); lv_style_set_text_font(&gui_style, &pixel_operator_24);
lv_style_set_text_color(&gui_style, lv_color_hex(0x000000)); lv_style_set_text_color(&gui_style, lv_color_hex(0x000000));
// Create and set lable text // Create and set Title lable text
lv_obj_t * title_label = lv_label_create(lv_scr_act()); lv_obj_t * title_label = lv_label_create(lv_scr_act());
lv_label_set_text(title_label, "ESP32 Sequencer\n"); lv_label_set_text(title_label, "ESP32 Sequencer\n");
lv_obj_add_style(title_label, &gui_style, LV_STATE_DEFAULT); lv_obj_add_style(title_label, &gui_style, LV_STATE_DEFAULT);
// Align label to center top // Align label to center top
/* lv_obj_align(title_label, LV_ALIGN_CENTER, 0, 0); */ /* lv_obj_align(title_label, LV_ALIGN_BOTTOM_RIGHT, 0, 0); */
} }
static void gui_task(void *pvParameter) { static void gui_task(void *pvParameter) {

2080
main/pixel_operator_24.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,757 +0,0 @@
/*******************************************************************************
* Size: 18 px
* Bpp: 2
* Opts:
******************************************************************************/
#include "lvgl.h"
#ifndef VCR_OSD_MONO_18
#define VCR_OSD_MONO_18 1
#endif
#if VCR_OSD_MONO_18
/*-----------------
* BITMAPS
*----------------*/
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+0020 " " */
/* U+0021 "!" */
0x75, 0xd7, 0x5d, 0x75, 0xd7, 0x5d, 0x74, 0x0,
0x1c, 0x74,
/* U+0022 "\"" */
0x3d, 0x3f, 0x3d, 0x3f, 0x3d, 0x2e, 0x4, 0x8,
/* U+0023 "#" */
0x0, 0xf, 0x0, 0x74, 0xf0, 0x7, 0x4f, 0xe0,
0x7f, 0xfe, 0x3f, 0xff, 0x3, 0xf4, 0xf0, 0x7,
0x4f, 0xe0, 0x7f, 0xfe, 0x3f, 0xff, 0x3, 0xf4,
0xf0, 0x7, 0x4f, 0x0, 0x74, 0x0,
/* U+0024 "$" */
0x0, 0xb0, 0x0, 0x7f, 0xf0, 0xf, 0xff, 0xc3,
0xdb, 0x3e, 0x38, 0xb0, 0xe3, 0xdb, 0x0, 0xb,
0xff, 0x40, 0x1b, 0x7e, 0x38, 0xb0, 0xe3, 0xdb,
0x3e, 0xf, 0xff, 0xc0, 0x7f, 0xf0, 0x0, 0xb0,
0x0,
/* U+0025 "%" */
0xf, 0x40, 0xe3, 0xfd, 0xe, 0x39, 0xd0, 0xe3,
0x9d, 0x3d, 0x2f, 0xcf, 0x80, 0xf6, 0xe0, 0x1,
0xf4, 0x0, 0x7d, 0xb8, 0xf, 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0, 0x2f, 0x2, 0xf0,
/* U+007C "|" */
0x62, 0xcb, 0x2c, 0xb2, 0xcb, 0x2c, 0xb2, 0xcb,
0x2c, 0xb2, 0xcb, 0x0,
/* U+007D "}" */
0x7c, 0x7, 0xd0, 0x7f, 0x0, 0xb0, 0xb, 0x0,
0xb0, 0xb, 0x0, 0x2f, 0x3, 0xa0, 0xb0, 0xb,
0x0, 0xb0, 0x7f, 0x7, 0xd0, 0x7d, 0x0,
/* U+007E "~" */
0x7, 0xc0, 0x20, 0xff, 0xe, 0x38, 0xbf, 0xc3,
0x2, 0xf0
};
/*---------------------
* GLYPH DESCRIPTION
*--------------------*/
static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
{.bitmap_index = 0, .adv_w = 169, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 0, .adv_w = 169, .box_w = 3, .box_h = 13, .ofs_x = 3, .ofs_y = 1},
{.bitmap_index = 10, .adv_w = 169, .box_w = 8, .box_h = 4, .ofs_x = 1, .ofs_y = 10},
{.bitmap_index = 18, .adv_w = 169, .box_w = 10, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 48, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 81, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 114, .adv_w = 169, .box_w = 10, .box_h = 15, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 152, .adv_w = 169, .box_w = 4, .box_h = 4, .ofs_x = 3, .ofs_y = 10},
{.bitmap_index = 156, .adv_w = 169, .box_w = 6, .box_h = 15, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 179, .adv_w = 169, .box_w = 5, .box_h = 15, .ofs_x = 3, .ofs_y = 1},
{.bitmap_index = 198, .adv_w = 169, .box_w = 8, .box_h = 9, .ofs_x = 1, .ofs_y = 6},
{.bitmap_index = 216, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 3},
{.bitmap_index = 241, .adv_w = 169, .box_w = 5, .box_h = 4, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 246, .adv_w = 169, .box_w = 8, .box_h = 2, .ofs_x = 1, .ofs_y = 6},
{.bitmap_index = 250, .adv_w = 169, .box_w = 3, .box_h = 2, .ofs_x = 3, .ofs_y = 1},
{.bitmap_index = 252, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 285, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 318, .adv_w = 169, .box_w = 6, .box_h = 13, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 338, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 371, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 404, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 437, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 470, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 503, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 536, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 569, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 602, .adv_w = 169, .box_w = 3, .box_h = 9, .ofs_x = 3, .ofs_y = 3},
{.bitmap_index = 609, .adv_w = 169, .box_w = 5, .box_h = 12, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 624, .adv_w = 169, .box_w = 8, .box_h = 14, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 652, .adv_w = 169, .box_w = 10, .box_h = 6, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 667, .adv_w = 169, .box_w = 8, .box_h = 14, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 695, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 728, .adv_w = 169, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 756, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 789, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 822, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 855, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 888, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 921, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 954, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 987, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1020, .adv_w = 169, .box_w = 6, .box_h = 13, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1040, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1073, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1106, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1139, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1172, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1205, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1238, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1271, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1304, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1337, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1370, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1403, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1436, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1469, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1502, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1535, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1568, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1601, .adv_w = 169, .box_w = 6, .box_h = 15, .ofs_x = 3, .ofs_y = 1},
{.bitmap_index = 1624, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1657, .adv_w = 169, .box_w = 7, .box_h = 15, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 1684, .adv_w = 169, .box_w = 10, .box_h = 5, .ofs_x = 0, .ofs_y = 9},
{.bitmap_index = 1697, .adv_w = 169, .box_w = 11, .box_h = 2, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 1703, .adv_w = 169, .box_w = 6, .box_h = 3, .ofs_x = 2, .ofs_y = 11},
{.bitmap_index = 1708, .adv_w = 169, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1736, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1769, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1794, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1827, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1852, .adv_w = 169, .box_w = 8, .box_h = 13, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 1878, .adv_w = 169, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1906, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 1939, .adv_w = 169, .box_w = 6, .box_h = 12, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1957, .adv_w = 169, .box_w = 6, .box_h = 14, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 1978, .adv_w = 169, .box_w = 10, .box_h = 13, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2011, .adv_w = 169, .box_w = 3, .box_h = 13, .ofs_x = 4, .ofs_y = 1},
{.bitmap_index = 2021, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2046, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2071, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2096, .adv_w = 169, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2124, .adv_w = 169, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2152, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2177, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2202, .adv_w = 169, .box_w = 6, .box_h = 13, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 2222, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2247, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2272, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2297, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2322, .adv_w = 169, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2350, .adv_w = 169, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 2375, .adv_w = 169, .box_w = 6, .box_h = 15, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 2398, .adv_w = 169, .box_w = 3, .box_h = 15, .ofs_x = 4, .ofs_y = 1},
{.bitmap_index = 2410, .adv_w = 169, .box_w = 6, .box_h = 15, .ofs_x = 2, .ofs_y = 1},
{.bitmap_index = 2433, .adv_w = 169, .box_w = 10, .box_h = 4, .ofs_x = 0, .ofs_y = 6}
};
/*---------------------
* CHARACTER MAPPING
*--------------------*/
/*Collect the unicode lists and glyph_id offsets*/
static const lv_font_fmt_txt_cmap_t cmaps[] =
{
{
.range_start = 32, .range_length = 95, .glyph_id_start = 1,
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
}
};
/*--------------------
* ALL CUSTOM DATA
*--------------------*/
#if LV_VERSION_CHECK(8, 0, 0)
/*Store all the custom data of the font*/
static lv_font_fmt_txt_glyph_cache_t cache;
static const lv_font_fmt_txt_dsc_t font_dsc = {
#else
static lv_font_fmt_txt_dsc_t font_dsc = {
#endif
.glyph_bitmap = glyph_bitmap,
.glyph_dsc = glyph_dsc,
.cmaps = cmaps,
.kern_dsc = NULL,
.kern_scale = 0,
.cmap_num = 1,
.bpp = 2,
.kern_classes = 0,
.bitmap_format = 0,
#if LV_VERSION_CHECK(8, 0, 0)
.cache = &cache
#endif
};
/*-----------------
* PUBLIC FONT
*----------------*/
/*Initialize a public general font descriptor*/
#if LV_VERSION_CHECK(8, 0, 0)
const lv_font_t vcr_osd_mono_18 = {
#else
lv_font_t vcr_osd_mono_18 = {
#endif
.get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/
.get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/
.line_height = 16, /*The maximum line height required by the font*/
.base_line = 0, /*Baseline measured from the bottom of the line*/
#if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
.subpx = LV_FONT_SUBPX_NONE,
#endif
#if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8
.underline_position = -2,
.underline_thickness = 1,
#endif
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
};
#endif /*#if VCR_OSD_MONO_18*/