semi working wayland

This commit is contained in:
Jorijn van der Graaf 2025-11-17 00:44:45 +01:00
commit 4bb7219ccf
34 changed files with 13863 additions and 3121 deletions

View file

@ -4,7 +4,7 @@ import std;
using namespace Crafter;
int main() {
WindowWaylandWayland window("HelloWindow", 1280, 720);
Window window("HelloWindow", 1280, 720);
UiElement& element = window.elements.emplace_back(
0.5, //anchorX: relative position where this elements x anchor (top-left) is placed to its parent x anchor