A slight improvement to avoid rendering boxes behind text that is default bg color.

This commit is contained in:
Zed A. Shaw 2024-11-18 22:12:40 -05:00
parent be144e2a05
commit 111429b974
3 changed files with 21 additions and 17 deletions

View file

@ -21,7 +21,9 @@ int main(int argc, char *argv[]) {
image.loadFromFile(image_file);
// create a grid panel to hold the cells
Panel panel(40,40, 0, 0, true);
// divide the image into cells
// for each cell:
// get the color
// calculate value