Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CDisplayBuffer.h

Go to the documentation of this file.
00001 /*
00002 
00003         ZMACHINE 2.0 (SIGFRID)
00004 
00005         CDISPLAYBUFFER.H
00006 
00007         author:                 Trombetta Roberto
00008         filename:               CDdisplayBuffer.h       
00009         description:    header file for display buffer class
00010         date:                   20/05/2003
00011 
00012 */
00013 
00014 #ifndef __CDISPLAYBUFFER_H_
00015 #define __CDISPLAYBUFFER_H_
00016 
00017 #include "Zdef.h"
00018 #include "Zmacro.h"
00019 
00021 
00024 class CDisplayBuffer {
00025 
00026 public:
00027         
00029         CDisplayBuffer();
00030 
00032         ~CDisplayBuffer();
00033 
00035         zint Init (zulong n);
00036         
00038         zint Clear ();
00039 
00041         void Free();  
00042 
00044         zushort* GetBuffer (); 
00045 
00046 private:
00047 
00049         zushort *displaybuffer;
00050 
00052         zulong displaybufferdim;
00053 };
00054 
00055 #endif // __CDISPLAYBUFFER_H_



SourceForge.net Logo