Quote:
Originally Posted by melihron
Hmm... they have discussed overwriting system/logo/logo.bmp file. Thanks, I will certainly have a look when you do release
|
Doh! I've been hurrying and didn't read Billi's message closely enough. I thought she was asking to have the application automatically started after booting up (which is what BookReady() is for). I don't know how to have the current page displayed during boot-up, though. I guess I will have to look at your code to find out.
Edit: Ah! If you look at the pdfviewer source code, you can see that a snapshot is created on an EVT_SNAPSHOT event by ultimately calling PageSnapshot(). I'll have to try that myself. ... It works! That was easy. I just added the following to main_handler() :
Code:
if (type == EVT_SNAPSHOT) {
// This provides the startup screen while booting.
DrawPanel((ibitmap*)PANELICON_LOAD, "@snapshot_info", NULL, -1);
PageSnapshot();
}
Note that you would only call DrawPanel() if you usually call it when drawing to the screen at other times.