Adding background image patch

This commit is contained in:
bakkeby 2022-03-10 11:37:49 +01:00
parent 51dc6ba469
commit 1a8175a337
9 changed files with 185 additions and 2 deletions

View file

@ -14,6 +14,16 @@ static char *font2[] = {
};
#endif // FONT2_PATCH
#if BACKGROUND_IMAGE_PATCH
/*
* background image
* expects farbfeld format
* pseudo transparency fixes coordinates to the screen origin
*/
static const char *bgfile = "/path/to/image.ff";
static const int pseudotransparency = 0;
#endif // BACKGROUND_IMAGE_PATCH
#if RELATIVEBORDER_PATCH
/* borderperc: percentage of cell width to use as a border
* 0 = no border, 100 = border width is same as cell width */