#include <GDocView.h>
Inheritance diagram for GDefaultDocumentEnv:
Public Member Functions | |
bool | GetImageUri (char *Uri, GSurface **pDC, char *FileName=0, int FileBufSize=0) |
bool | OnNavigate (char *Uri) |
Handle a click on URI. |
This class defines the default behaviour of the environment, However you will need to instantiate this yourself and call SetEnv with your instance. i.e. it's not automatic.
|
Return an external image resource based on URI Either by setting *pDC to something or by sending the GDocView a M_IMAGE_LOADED message sometime down the track with the Uri loaded and the image handle. This is useful for loading images in the background. In that case you should still return true here but leave the *pDC as NULL. Reimplemented from GDocumentEnv. |