Loading the file from disk introduces a slight dependency on the working directory for the simulator. Prevent that by loading the bmp from memory. Use a python script to convert the backround bmp image to a C header file. Include this header in `main.cpp` and load the bmp from memory. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| convert_bmp_to_header.py | ||
| sim_background.bmp | ||
| sim_background.xcf | ||