- [WIP] nova UI

This commit is contained in:
raimon@prometeo committed 2026-09-25 06:45:32 +02:00
1 parent 6c205fb014
commit dedd6b6285
4 files changed
+57 -2

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ namespace ui
struct {
int x, y;
MouseButtonState buttons[3] = {mbsReleased, mbsReleased, mbsReleased};
int wheel = 0;
} mouse;
struct {
uint8_t keyDown = 0;
@@ -25,6 +26,7 @@ namespace ui
~Window();
bool HandleEvents(SDL_Event *e);
virtual void Update();
static void DistributeEvent(SDL_Event *e);