This commit is contained in:
Jorijn van der Graaf 2025-11-16 15:32:03 +01:00
commit c82c8c0887
35 changed files with 245 additions and 10 deletions

View file

@ -0,0 +1,27 @@
# 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
```cpp
WindowWaylandWayland window("HelloWindow", 1280, 720);
window.StartSync();
```
## How to Run
```bash
crafter-build -c example -r
```
## Relevant documentation
[WindowWaylandWayland](https://crafter-graphics.docs.catcrafts.net/classCrafter_1_1WindowWaylandWayland.html)