Refactor various headers

This commit is contained in:
2025-06-26 22:00:28 +10:00
parent 04eec1b703
commit db7d50c371
20 changed files with 486 additions and 454 deletions

View File

@@ -8,24 +8,13 @@
#ifdef NOVA_X11
#include <X11/Xlib.h>
#include "platform/linux/x11/wrapper.h"
#include <nova/platform/window_driver.h>
#include <unordered_map>
namespace X11 {
using Window = ::Window;
using Display = ::Display;
using Atom = ::Atom;
} // namespace X11
namespace Nova {
struct Window {
X11::Window handle = 0;
int width = 0;
int height = 0;
};
class X11WindowDriver final : public WindowDriver {
public:
X11WindowDriver();