knxdisplay/main/Gui/EthSetting.hpp
2026-01-22 21:32:21 +01:00

27 lines
458 B
C++

#pragma once
#include "lvgl.h"
#include <string>
#include <vector>
class EthSetting {
public:
static EthSetting& instance();
void show();
void hide();
bool isVisible();
private:
EthSetting() = default;
EthSetting(const EthSetting&) = delete;
EthSetting& operator=(const EthSetting&) = delete;
void createUI();
static void onCloseClick(lv_event_t* e);
lv_obj_t* overlay_ = nullptr;
bool visible_ = false;
};