Sunday, August 3, 2008
My recent pimp entry with the fading scrollbar has terrible device performance, this pushed me a bit to put some work on a new LWUIT feature allowing for fast effects such as this (and MUCH more) called the glass pane painter. A glass pane painter allows us to install a painter (or painter chain for that matter) on top of a form and thus implement a layer on top of the form which we can animate separately without incurring the performance penalty of repainting the entire screen... It even looks much better than the previous version since portions of the scrollbar that got erased occasionally in the previous version, no longer do so.
Device performance is now acceptable even on my old and remarkably slow E61 device (filmed), this is a huge feature which I hope to blog about more soon enough. Most of the pimping code remains unchanged for this which is pretty cool as well...