- [WIP] nova UI
This commit is contained in:
1 parent
6c205fb014
commit
dedd6b6285
4 files changed
+57
-2
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user