/* * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD * * SPDX-License-Identifier: MIT */ #include "workers.h" #include #include #include using namespace uitk::lvgl_cpp; using namespace setup_workers; static std::string _tag = "Setup-Account"; AccountWorker::PanelInfo::PanelInfo(lv_obj_t* parent, int posY, std::string_view title, std::string_view info) { _panel = std::make_unique(parent); _panel->setBgColor(lv_color_hex(0xB8D3FD)); _panel->align(LV_ALIGN_TOP_MID, 0, posY); _panel->setBorderWidth(0); _panel->setSize(296, 108); _panel->setPadding(0, 0, 0, 0); _panel->setRadius(18); _panel->removeFlag(LV_OBJ_FLAG_SCROLLABLE); _label_title = std::make_unique