fast_rx wrote:That reminded me to ask a related question...
In PF0.7, I used
Surface * fbt = display->GetFrontBuffer();
to grab the entire screen before the app drew anything - in order to make a splashscreen effect.
In PF0.8, this doesn't work. Is there any way to get the current image of the PPC. It's not really needed, but allows some neat tricks to be done...
It's unfortunately not possible to access the front buffer with PocketHAL. But here is a nifty trick you can use that should work:
1) Create a PocketHAL GDISurface with the same dimensions as the display.
2) Grab the screen's DC and blit the desktop to your GDISurface. (That's using Win32's BitBlt).
3) Initialize PocketHAL.
You now have the content of the desktop in your GDISurface and you can use it for any effect you want.