/********************************************************************** will add copyright bs later $Id$ **********************************************************************/ #include "objgfx30.h" #include "objfont.h" #include <stdio.h> int main() { // UInt32 foo; UInt8 r, g, b; r=0; g=0; b=0; TGfx0* buf=0; TGfx0* buf2=0; buf = new TGfx0(); buf2 = new TGfx0(); buf->create(400,400,(TPixelFmt *)&def_pixfmt_8bpp); buf2->create(400,400,(TPixelFmt *)&def_pixfmt_8bpp); buf->putpixel(10,10,69); r=buf->getpixel(10,10); printf("%d\n",r); if (buf) delete buf; if (buf2) delete buf2; return(0); }