Is there any documentation (English) for RTGUI? There certainly aren't many useful comments in the code and the examples are buggy. I find myself spending more time debugging than I do writing code.
For instance, when a RTGUI_EVENT_PAINT event is received the rect member of the rtgui_event_paint structure is not valid. Many of the example windows simply paint the entire background, safe but not always efficient. However, the Demo_view_bmp example does not repaint the entire background. In fact it often doesn't draw any background at all leaving behind whatever was on the screen from the previously displayed window.
Also, is there a reason for naming the members of the rtgui_rect structure x1,y1,x2,y2 when just about every other platform uses either left, top, right, bottom or x, y, width, height (aka x, y, cx, cy)?
Sorry if I seem rather negative, I just find it quite frustrating when there is no documentation and the comments that do exist simply state the obvious.
Rob