rewrite time
This commit is contained in:
parent
d6b9b87da4
commit
4428cfe12c
24 changed files with 1208 additions and 893 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## Description
|
||||
|
||||
This example demonstrates the minimal code needed to create a window and show it on the screen.
|
||||
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
|
||||
|
||||
|
|
@ -11,7 +11,9 @@ A empty window with the title "HelloWindow" shows onscreen.
|
|||
## Highlighted Code Snippet
|
||||
|
||||
```cpp
|
||||
WindowWaylandWayland window("HelloWindow", 1280, 720);
|
||||
Window<true, true, false, false> window;
|
||||
window.framebuffer.Create(1280, 720);
|
||||
window.title.Set("HelloWindow");
|
||||
window.StartSync();
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue