home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / internet / counter / charset.h next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  2.1 KB  |  55 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // charset.h : Contains bitmap character images.
  3. //
  4. // Written by Jeff Miller
  5. // of Microsoft Product Support Services, Languages Developer Support
  6. //
  7. // This is a part of the Microsoft Foundation Classes C++ library.
  8. // Copyright (C) 1992-1998 Microsoft Corporation
  9. // All rights reserved.
  10. //
  11. // This source code is only intended as a supplement to the
  12. // Microsoft Foundation Classes Reference and related
  13. // electronic documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16.  
  17. // See the documentation for more information on the
  18. // format of this file.
  19.  
  20. #ifndef __CHARSET_H__
  21. #define __CHARSET_H__
  22.  
  23. // all characters are 8x16
  24.  
  25. #define char_width 8
  26. #define char_height 16
  27.  
  28. static unsigned char char_bits[11][char_height] =
  29. {
  30.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x66, 0xC3, 0xC3,
  31.         0xDB, 0xDB, 0xC3, 0xC3, 0x66, 0x3C }, // 0
  32.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x1C, 0x1E, 0x18,
  33.         0x18, 0x18, 0x18, 0x18, 0x18, 0x7E }, // 1
  34.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x63, 0x60, 0x30,
  35.         0x18, 0x0C, 0x06, 0x03, 0x63, 0x7F }, // 2
  36.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x63, 0x60, 0x60,
  37.         0x3C, 0x60, 0x60, 0x60, 0x63, 0x3E }, // 3
  38.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x38, 0x3C, 0x36,
  39.         0x33, 0x7F, 0x30, 0x30, 0x30, 0x78 }, // 4
  40.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x03, 0x03, 0x03,
  41.         0x3F, 0x60, 0x60, 0x60, 0x63, 0x3E }, // 5
  42.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1C, 0x06, 0x03, 0x03,
  43.         0x3F, 0x63, 0x63, 0x63, 0x63, 0x3E }, // 6
  44.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x63, 0x60, 0x60,
  45.         0x30, 0x18, 0x0C, 0x0C, 0x0C, 0x0C }, // 7
  46.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x63, 0x63, 0x63,
  47.         0x3E, 0x63, 0x63, 0x63, 0x63, 0x3E }, // 8
  48.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x63, 0x63, 0x63,
  49.         0x7E, 0x60, 0x60, 0x60, 0x30, 0x1E }, // 9
  50.     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18,
  51.         0x00, 0x00, 0x00, 0x18, 0x18, 0x00 }, // :
  52. };
  53.  
  54. #endif
  55.