diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 15:43:04 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 15:43:04 +0300 |
| commit | f8633236503df6e3caea9ed7975d6a81bc5c8025 (patch) | |
| tree | 9928b40cbf4b314c0722e1249bde74cf15b9e4b7 /docs/getting-started.md | |
| parent | e24b8a8cef001e1c7e50ab12b739486f59b2a850 (diff) | |
Describe the hello window from main
hello no longer needs an init callback: main passes its window spec
through yasl_app_desc.window.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/getting-started.md')
| -rw-r--r-- | docs/getting-started.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/getting-started.md b/docs/getting-started.md index caa25eb..906d425 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -38,8 +38,9 @@ Its minimum deployment target is macOS 14. Set `MACOSX_DEPLOYMENT_TARGET=14.0` CPU pixel targets are presented through the system's Metal device; applications do not need to create or manage that device themselves. -The complete beginner example is [hello.c](../examples/hello.c). It checks -construction failures, fills every pixel, and presents inside a frame callback. +The complete beginner example is [hello.c](../examples/hello.c). It lets +`yasl_run()` create its window from `yasl_app_desc.window`, fills every pixel, +and presents inside a frame callback. `yasl_run()` handles input delivery, display notifications, and cleanup. The [interactive window](../examples/simple_window.c) adds pointer input; the [tablet example](../examples/tablet.c) demonstrates retained application content, |
