/* * SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD * * SPDX-License-Identifier: MIT */ #include "ws_call.h" #include #include #include #include #include using namespace smooth_ui_toolkit::lvgl_cpp; using namespace smooth_ui_toolkit; using namespace view; LV_IMAGE_DECLARE(icon_phone); /** * @brief * */ class IncomingPanel : public Container { public: std::function onAccept; std::function onDecline; IncomingPanel(lv_obj_t* parent, std::string caller) : Container(parent) { setSize(320, 240); align(LV_ALIGN_CENTER, 0, 0); setBorderWidth(0); setBgOpa(0); _label_caller = std::make_unique