md
This commit is contained in:
parent
53df70b4f1
commit
c8f1c90f9c
9 changed files with 0 additions and 0 deletions
26
example/HelloWindow/README.md
Normal file
26
example/HelloWindow/README.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# 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
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue