handle mouse events

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-06-09 00:17:54 +02:00
parent 60fccfeccc
commit 266114d046
53 changed files with 1144 additions and 1008 deletions

View File

@@ -3,13 +3,14 @@
#include <functional>
#include <memory>
#include "u8g2.h"
#include "common/Widget.h"
#include "u8g2.h"
class Widget;
typedef struct {
u8g2_t* u8g2;
typedef struct
{
u8g2_t *u8g2;
std::function<void(std::shared_ptr<Widget>)> setScreen;
std::function<void(std::shared_ptr<Widget>)> pushScreen;