home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / txcl552 / inc / tcxlatr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-15  |  4.6 KB  |  70 lines

  1. /*=====[ The TesSeRact(TM) CXL User Interface Development System ]======*
  2.  | Copyright (c) 1987-1991, Innovative Data Concepts, Inc.
  3.  | All Rights Reserved.
  4.  |
  5.  | This Library is part of IDC's TesSeRact Development Tools product
  6.  | line. For information about other IDC products, call  1-215-443-9705.
  7.  *-V--------------------------------------------------------------------*
  8.  | $Header:   tcxlatr.h     552.0   17 Mar 1991 18:27:16  $
  9.  |
  10.  | $Log:   tcxlatr.h    $
  11.  *-D--------------------------------------------------------------------*
  12.  | <TCXLatr.h>: Attribute code definitions for TCXL video functions.
  13.  *-N-----------------------[ Notes and Caveats ]------------------------*
  14.  | 1) Included by <TCXLvid.h>.
  15.  | 2) Light background colors are not currently supported, they are
  16.  |    always BLINKING attributes.
  17.  *======================================================================*/
  18. #ifndef  _TCXLatr_
  19. #  define   _TCXLatr_ 1
  20. #ifndef  BLACK                         /*- Foreground Color ------------*/
  21. #  define   BLACK       0x00           /* Black                         */
  22. #  define   BLUE        0x01           /* Blue                          */
  23. #  define   GREEN       0x02           /* Green                         */
  24. #  define   CYAN        0x03           /* Cyan                          */
  25. #  define   RED         0x04           /* Red                           */
  26. #  define   MAGENTA     0x05           /* Magenta                       */
  27. #  define   BROWN       0x06           /* Brown                         */
  28. #  define   LGREY       0x07           /* Light grey (white)            */
  29. #  define   DGREY       0x08           /* Dark grey                     */
  30. #  define   LBLUE       0x09           /* Light blue                    */
  31. #  define   LGREEN      0x0A           /* Light green                   */
  32. #  define   LCYAN       0x0B           /* Light cyan                    */
  33. #  define   LRED        0x0C           /* Light red                     */
  34. #  define   LMAGENTA    0x0D           /* Light magenta                 */
  35. #  define   YELLOW      0x0E           /* Yellow                        */
  36. #  define   WHITE       0x0F           /* Intense white                 */
  37. #  define   INTENSE     0x08           /* Intensity bit                 */
  38.                                        /*- Background color ------------*/
  39. #  define   _BLACK      0x00           /* Black                         */
  40. #  define   _BLUE       0x10           /* Blue                          */
  41. #  define   _GREEN      0x20           /* Green                         */
  42. #  define   _CYAN       0x30           /* Cyan                          */
  43. #  define   _RED        0x40           /* Red                           */
  44. #  define   _MAGENTA    0x50           /* Magenta                       */
  45. #  define   _BROWN      0x60           /* Brown                         */
  46. #  define   _LGREY      0x70           /* White                         */
  47. #  define   _DGREY      0x80           /* Blink/dark grey               */
  48. #  define   _LBLUE      0x90           /* Blink/light blue              */
  49. #  define   _LGREEN     0xA0           /* Blink/light green             */
  50. #  define   _LCYAN      0xB0           /* Blink/light cyan              */
  51. #  define   _LRED       0xC0           /* Blink/light red               */
  52. #  define   _LMAGENTA   0xD0           /* Blink/light magenta           */
  53. #  define   _YELLOW     0xE0           /* Blink/light yellow            */
  54. #  define   _WHITE      0xF0           /* Blink/light white             */
  55. #  define   _BLINK      0x80           /* Blink/intensity bit           */
  56.                                        /*- Monochrome ------------------*/
  57. #  define   MONO_N      0x07           /* Normal                        */
  58. #  define   MONO_I      0x0F           /* Intense                       */
  59. #  define   MONO_U      0x01           /* Underline                     */
  60. #  define   MONO_IU     0x09           /* Intense underline             */
  61. #  define   MONO_R      0x70           /* Reverse                       */
  62. #  define   MONO_NB     0x87           /* Blink normal                  */
  63. #  define   MONO_IB     0x8F           /* Blink intense                 */
  64. #  define   MONO_UB     0x81           /* Blink underline               */
  65. #  define   MONO_IUB    0x89           /* Blink intense underline       */
  66. #  define   MONO_RB     0xF0           /* Blink reverse                 */
  67. #  define   MONO_INT    0x80           /* Blink bit                     */
  68. #endif   /* BLACK */
  69. #endif   /*- _TCXLatr_  : End of TCXLatr.h -----------------------------*/
  70.