This program demonstrates how to use the GUI routines.
It implements a simple fire effect, first by calling getpixel() and putpixel(), then by accessing video memory directly a byte at a time, and finally using block memory copy operations.
A first look at the example shows nothing more than a static graphic and the wait for a keypress.
However, the way this graphic is displayed is configured through a custom file which is loaded manually.
The last method to detect key presses are keyboard callbacks.
This is demonstrated by by installing a keyboard callback, which marks all pressed keys by drawing to a grid.