Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Test/ANSI_Test.cpp

Go to the documentation of this file.
00001 // Fred P. for J2K Library
00002 // LGPL Licensed.
00003 // http://j2k.sourceforge.net/
00004 
00005 #ifndef __J2K__ANSI_TEST_CPP__
00006 #define __J2K__ANSI_TEST_CPP__
00007 
00008 #include <j2k/Fred/Bios/ANSI.hpp>
00009 
00010 int main() {
00011  Cls( 1 );
00012  Locate( 10, 10 );
00013  QBColor( 15, 1 );
00014  printf("Yeah!\n");
00015 
00016  QBColor( 14, 2 );
00017  Center( 12, "Exactly at the center !\n" );
00018 
00019  for( int j = 0; j < 8; j++ ) {
00020  for( int i = 0; i < 16; i++ ) {
00021    Locate(  2+i, (short)(9.5*j) );
00022    QBColor(   i, j  );
00023    printf( "%s",  colorNameTable[ i ] );
00024  }  
00025  }
00026 
00027  screen();
00028  QBColor( 7, 0 );
00029  Center( 24, "" );
00030 
00031  return 0;
00032 }
00033 
00034 #endif
00035 
00036 

Generated on Sun Oct 14 18:46:43 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001