gui_engine function hierarchy
Previous post about gui_engine:
https://bkhome.org/news/202301/statically-linked-guiengine-example-with-ttf-support-is-560kb.html
It is looking good as a GUI toolkit for the initrd, so embarking on analyzing how it works. There is no documentation and just one example, 'example.c'. The file 'gui_engine.c' provides functions that an application can call.
First baby step is to look at the function hierarchy. I have constructed this map:
The green boxes are functions called in 'example.c', so gives an indication what functions are most important to consider.
Of particular interest to me is how text is drawn on the screen,
and it looks like that is done in g_draw_text(). Will look at that
to see how to incorporate TTF fonts.
Tags: easy