2024-02-21 01:11:59 +00:00
|
|
|
#include <lvgl.h>
|
2024-02-23 04:45:19 +00:00
|
|
|
#include <vector>
|
2024-02-21 01:11:59 +00:00
|
|
|
|
|
|
|
|
2024-02-23 04:45:19 +00:00
|
|
|
class EventsPanel {
|
|
|
|
public:
|
|
|
|
EventsPanel(lv_obj_t* parent);
|
|
|
|
~EventsPanel();
|
|
|
|
void Style();
|
|
|
|
|
|
|
|
public:
|
2024-02-21 01:11:59 +00:00
|
|
|
lv_obj_t* panel;
|
|
|
|
|
2024-02-23 04:45:19 +00:00
|
|
|
private:
|
|
|
|
static void DrawEventList_cb(lv_event_t* event);
|
|
|
|
|
|
|
|
private:
|
|
|
|
lv_obj_t* header;
|
|
|
|
std::vector<lv_obj_t*> event_labels;
|
|
|
|
};
|
2024-02-21 01:11:59 +00:00
|
|
|
|