achimdoebler/UGUI

Add simulation support on Linux

Opened this issue · 3 comments

Hi,

I am plagued by that I have to flash the code into the MCU to check the result of GUI everytime.
So is there anyway or will there be a way like simulation on linux to solve this problem?
Thanks a lot!

I just came across uGUI while looking for a library to do gui's code and this was on my top priority, as flash/debug cycles waste time. I was thinking of writing a small X11 app that would interface between the user and the uGUI library.

Ive forked the repo and hope to start this week.

I've added simulation support with SDL2 in an example program here: https://github.com/mattdf/UGUI/tree/master/examples

You can change the simulation resolution by modifying the #defines at the top of the sdl.c file.

I'll take a look at it. I've worked with two examples on my branch with X11. I wanted to sim the gui, then also add some buttons or sliders to control some input into the sim too.