Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

OIMGRES.H Source File
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

OIMGRES.H

Go to the documentation of this file.
00001 //Filename    : OIMAGERES.H
00002 //Description : Object ImageRes
00003 
00004 #ifndef __OIMAGERES_H
00005 #define __OIMAGERES_H
00006 
00007 #ifndef  __ORESX_H
00008 #include <ORESX.H>
00009 #endif
00010 
00011 //----------------------------------------//
00012 
00013 class VgaBuf;
00014 
00019 class ImageRes : public ResourceIdx {
00020 public:
00021     ImageRes()  {;}
00022     ImageRes(char* resFile, int readAll=0, int useVgaBuf=0);
00023 
00024     void  put_front(int,int,char*, int compressFlag=0);
00025     void  put_back(int,int,char*, int compressFlag=0);
00026 
00027     void  put_front(int,int,int, int compressFlag=0);
00028     void  put_back(int,int,int, int compressFlag=0);
00029 
00030     void  put_join(int,int,char*);
00031 
00032     char* get_ptr(char* imageName)   { return ResourceIdx::read(imageName); }
00033 
00034     void  put_large(VgaBuf*,int,int,char*);       // put a large image, over 64K
00035     void  put_large(VgaBuf*,int,int,int);
00036 
00037     void  put_to_buf(VgaBuf* vgaBufPtr, char* imageName);
00038     void  put_to_buf(VgaBuf* vgaBufPtr, int bitmapId);
00039 };
00040 
00041 extern ImageRes image_interface, image_sys, image_mascot, image_pict;
00042 
00043 //--------------------------------------------//
00044 #endif

Generated on Fri Aug 23 01:37:59 2002 for VirtualU by doxygen1.2.17