Newer
Older
ubixos / src / sys / graphics / main.cpp
@flameshadow flameshadow on 19 Jun 2002 454 bytes Graphics library
/**********************************************************************
will add copyright bs later

$Id$
**********************************************************************/

#include "objgfx30.h"
#include "objfont.h"
#include <stdio.h>

int main() {
  TPixelFmt pixfmt;
  TGfx0* buf=0;
  buf = new TGfx0();
  pixfmt.BPP=8;
  buf->create(400,400,(TPixelFmt *)&def_pixfmt_16bpp);
  printf("BPP: %d\n", buf->BPP);
  if (buf) delete buf;
  return(0);
}