refactor: add Window interface

This commit is contained in:
MihailRis 2025-03-21 03:35:57 +03:00
parent cd5c6a889c
commit 9694a59649
31 changed files with 859 additions and 923 deletions

View file

@ -258,6 +258,7 @@ public:
virtual void pollEvents() = 0;
virtual const char* getClipboardText() const = 0;
virtual void setClipboardText(const char* str) = 0;
virtual int getScroll() = 0;
@ -269,6 +270,7 @@ public:
virtual CursorState getCursor() const = 0;
virtual bool isCursorLocked() const = 0;
virtual void toggleCursor() = 0;
virtual Bindings& getBindings() = 0;