Found an old project!
Thursday, 29. March 2007, 00:20:22
The project is a proof-of-concept work, where I load a PNG image, SetWindowRgn the window of that shape, and paint alpha image of the background bitmap (today screen, in our sample). PNG is loaded by platform, if platform supports it. If not, it can use libpng. Alpha blitting is done in the code. I have written my alpha blitting code to blit foreground bitmap (read from PNG) over the background bitmap (taken from GDI) then copy this into final bitmap.
When PNG is loaded, we respect alpha. Regions that has alpha value of 0 will be excluded from window region. When blitting to background bitmap, alpha value of pixel in foreground bitmap is considered.
| Overlay image | Windows Mobile 5.0 Smartphone | Windows Mobile 5.0 Pocket PC: |
![]() |
![]() |
![]() |
This is not some kind of "widget" or used anywhere in Opera code, just for self-satisfaction!












trapalas # 29. January 2008, 14:35
Could you publish the code or mail it to me?
Regards