Crafter.Graphics/examples/HelloWindow/README.md
2025-11-23 04:04:53 +01:00

22 lines
No EOL
437 B
Markdown

# HelloWindow Example
## Description
This example demonstrates the minimal code needed to create a window and show it on the screen. This uses the Framebuffer and Title capability.
## Expected Result
A empty window with the title "HelloWindow" shows onscreen.
## Highlighted Code Snippet
```cpp
WindowWayland window(1280, 720, "Hello Window!");
window.StartSync();
```
## How to Run
```bash
crafter-build build executable -r
```