I was playing with the Waba VM port for PicoGUI, and I thought you might be
interested in this patch. Nothing major, just a few enhancements:

- made the event processing code much smaller
- the drawing code simultaneously draws to an offscreen bitmap so pgserver
can automatically redraw the screen when necessary
- support for clipping
- fixed a memory leak in ui_DrawText

If you use the CTRL-ALT-M (memory stats) and CTRL-ALT-H (handle tree)
debugging keys while a Waba widget is redrawing (flashing cursor for
example) you will see it leak 1 font descriptor handle every time it
updates. A little debugging reveals that something (maybe in the Waba
widget library?) is allocating two fonts but only deleting one.
Hope this is useful.

Micah

waba-20011020.micah.patch

Reply via email to