Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GDefaultDocumentEnv Class Reference

#include <GDocView.h>

Inheritance diagram for GDefaultDocumentEnv:

GDocumentEnv List of all members.

Public Member Functions

bool GetImageUri (char *Uri, GSurface **pDC, char *FileName=0, int FileBufSize=0)
bool OnNavigate (char *Uri)
 Handle a click on URI.

Detailed Description

Default text view environment

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.


Member Function Documentation

bool GDefaultDocumentEnv::GetImageUri char *  Uri,
GSurface **  pDC,
char *  FileName = 0,
int  FileBufSize = 0
[virtual]
 

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.


The documentation for this class was generated from the following files:
Generated on Wed Oct 26 14:46:57 2005 for Lgi by  doxygen 1.4.1