https://dyne.org/cjit/graphics.html#cjit-for-graphical-appli...

> Be welcome to the exciting world of graphical C applications using SDL (Simple DirectMedia Layer). SDL, originally developed by Sam Lantinga in 1998...

That's batteries included.

It links to the system SDL, on Linux at least.