3 ms·
Your implicit claim seems to be that Yeso is a paint program being called by a 19-line C wrapper. Despite its name, this is not the case. The paint-program lo
by kragen 4y ago
Your implicit claim seems to be that Yeso is a paint program being called by a 19-line C wrapper. Despite its name, this is not the case. The paint-program logic is all in μpaint.c.
μpaint has very few functions available to the user: draw a black pixel, draw a white pixel, and that's it. Such a simple paint program should not require dozens of lines of code, much less hundreds. (Even 19 is pushing it.) But with X-Windows or Win32 it does.
Yeso is just a minimal GUI library that removes the accidental complexity inflicted by X-Windows, which is what porcoda was wishing for, allowing simple GUIs to be written simply. It doesn't really help with complex GUIs because it doesn't have widgets.