00001 #ifndef _SURFACE_H
00002 #define _SURFACE_H
00003
00004 typedef struct {
00005 int * buf;
00006 int width;
00007 int height;
00008 int size;
00009
00010 int * realstart;
00011 } Surface;
00012
00013 Surface * surface_new (int w, int h) ;
00014 void surface_delete (Surface **s) ;
00015
00016 #endif