combine with desktop project

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-04-10 23:20:19 +02:00
parent b6fb4eb65c
commit b3bf03999b
72 changed files with 65538 additions and 132 deletions

17
include/ui/UIWidget.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include "../model/AppContext.h"
class UIWidget {
public:
explicit UIWidget(void *appstate);
virtual ~UIWidget();
virtual void render() const = 0;
[[nodiscard]] AppContext *get_context() const;
private:
AppContext *m_context{};
};