diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 16:25:52 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 16:25:52 +0300 |
| commit | 3c39c55676162f83ed2eaf2fee3ec41254abc638 (patch) | |
| tree | a0b90cea96459c6b03b85b9fbfeb2458e28782f6 /docs | |
| parent | ed963bba0b234d52fda14b2a8237dbf02ef4d655 (diff) | |
Fill the hello window with an RGB gradient
Red grows to the right, green downward, and blue fades as red grows.
Rows now step by the frame's stride_bytes instead of assuming packed
pixels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/getting-started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/getting-started.md b/docs/getting-started.md index 906d425..73af4ab 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -39,8 +39,8 @@ 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 lets -`yasl_run()` create its window from `yasl_app_desc.window`, fills every pixel, -and presents inside a frame callback. +`yasl_run()` create its window from `yasl_app_desc.window`, fills every pixel +with an RGB gradient, 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, |
