mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 21:41:55 +00:00
|
…
|
||
|---|---|---|
| .. | ||
| onmouseover.webp | ||
| README.txt | ||
| thumbnail.png | ||
| user.c | ||
This example code creates an SDL window and renderer, and waits for the user to click on the window. By default, the window color is blue; When storage succeeds, the window turns green, if it fails the window turns red and the error message is logged. Left clicking will save a game, all other clicks will load a game.