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

@ -6,7 +6,7 @@ using namespace Crafter;
int main() {
// Create a Wayland window named "HelloWindow" with resolution 1280x720
// (window creation explained in HelloWindow example)
WindowWaylandWayland window("HelloWindow", 1280, 720);
Window window("HelloWindow", 1280, 720);
// Listen for left mouse click events on the window
// The callback receives the MousePoint struct containing the click coordinates in float pixels from the top left corner