This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MTG RFID Companion - System state machine (ponytail: atomic scalar state)
|
||||
* MTG RFID Companion - System state machine
|
||||
*/
|
||||
|
||||
#include "app_state.h"
|
||||
|
||||
@@ -24,7 +24,7 @@ esp_err_t display_manager_init(void)
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
/* ponytail: native SPI bus init directly in display manager */
|
||||
/* native SPI bus init directly in display manager */
|
||||
spi_bus_config_t buscfg = {
|
||||
.sclk_io_num = HW_SPI_SCK_GPIO,
|
||||
.mosi_io_num = HW_SPI_MOSI_GPIO,
|
||||
|
||||
@@ -260,7 +260,7 @@ static void ui_clean_screen(void)
|
||||
lv_obj_set_style_bg_opa(lv_scr_act(), LV_OPA_COVER, 0);
|
||||
}
|
||||
|
||||
/* ponytail: single shared header builder across all screens */
|
||||
/* single shared header builder across all screens */
|
||||
static void ui_draw_header(const char *title, const char *subtitle)
|
||||
{
|
||||
lv_obj_t *bar = lv_obj_create(lv_scr_act());
|
||||
@@ -292,7 +292,7 @@ static void view_menu(void)
|
||||
encoder_set_steps_per_detent(4);
|
||||
lvgl_port_lock(0);
|
||||
ui_clean_screen();
|
||||
ui_draw_header("MTG COMPANION");
|
||||
ui_draw_header("MTG COMPANION","");
|
||||
|
||||
/* 8 Menu Items */
|
||||
int start_y = 44;
|
||||
|
||||
Reference in New Issue
Block a user