Crafter.Graphics/example/HelloWindow
2025-06-14 01:51:35 +02:00
..
main.cpp documentation 2025-06-13 23:59:36 +02:00
project.json documentation 2025-06-13 23:59:36 +02:00
README.md md 2025-06-14 01:51:35 +02:00

HelloWindow Example

Description

This example demonstrates the minimal code needed to create a window and show it on the screen.

Expected Result

A empty window with the title "HelloWindow" shows onscreen.

Highlighted Code Snippet

WindowWaylandWayland window("HelloWindow", 1280, 720);
window.StartSync();

How to Run

crafter-build -c example -r

Relevant documentation