Hi,
I am trying to modify the simulation to use "Custom bitmap mode" to add my device background to the simulation following this section: Simulation
I am able to add my custom bitmap (Device.bmp and Device1.bmp) to add my device bitmap and a bitmap with just the buttons in the pressed state and everything else of transparent color (as per the manual).
I have 2 questions:
1. The way to add your bitmap to the background is adding bitmap files called Device.bmp and Device1.bmp file directory. While it works, the only way to go back to the stock frame window background is deleting those files from the directory. Is there a way to go back to the stock bitmap while having the custom Device.bmp and Device1.bmp in the directory.
I was hoping a function like the following but it does that opposite of what I want.
void SIM_GUI_UseCustomBitmaps(void);
2. I wanted to add a button to close the simulation as there is in the default frame background from emwin. I am able to simulate button presses by having 2 bmp files (Device.bmp and Device1.bmp) with buttons in unpressed and pressed state but as of now these buttons don't do anything.
I just need 1 button press callback that closes the simulation as there is in the default simulation background for emwin.
Please let me know if the above are possible to achieve, thank you!
Best,
Sarthak