diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-22 20:05:20 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-29 11:42:28 -0500 |
| commit | 15c54566c5183876107ad748c73eff41ba61f42f (patch) | |
| tree | 534f1da0f0856fe7c922cc243b41ca25c4d86280 /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | 71b171ee47589ff0822383bf433df99f08c9d2aa (diff) | |
launcher: the Play page's scene, generated from the theme
src/scene.rs draws a dusk (dark) or a morning (light) over water, with a
shore and two palms in silhouette, as one RGBA picture of the page's size,
from the theme alone: its gradient's six stops, its background, its mode,
and its outline and shadow colours. No image files.
The soft layers (sky, water, glow, clouds, sun, reflection, horizon line)
are computed per pixel; the shore and palms are filled as anti-aliased
paths with tiny-skia, the version iced already builds. The scene's 16:10
frame covers the page from its bottom right. The page's background lies
at 0.97 over the text column and fades out beside it, so the muted ink
keeps 4.5:1 there; however narrow the page, the scene stays. A floating
window's rounded corner is cleared in the picture.
About 30-34 ms for a 1040x754 page in a release build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions