home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 377a.lha / libraries / intuition / windows / hellotext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1980-02-04  |  1.8 KB  |  37 lines

  1.  
  2. /* hellotext.h */
  3. /* Copyright (c) 1990 Commodore-Amiga, Inc.
  4.  *
  5.  * This example is provided in electronic form by Commodore-Amiga, Inc. for
  6.  * use with the 1.3 revisions of the Addison-Wesley Amiga reference manuals. 
  7.  * The 1.3 Addison-Wesley Amiga Reference Manual series contains additional
  8.  * information on the correct usage of the techniques and operating system
  9.  * functions presented in this example.  The source and executable code of
  10.  * this example may only be distributed in free electronic form, via bulletin
  11.  * board or as part of a fully non-commercial and freely redistributable
  12.  * diskette.  Both the source and executable code (including comments) must
  13.  * be included, without modification, in any copy.  This example may not be
  14.  * published in printed form or distributed with any commercial product.
  15.  * However, the programming techniques and support routines set forth in
  16.  * this example may be used in the development of original executable
  17.  * software products for Commodore Amiga computers.
  18.  * All other rights reserved.
  19.  * This example is provided "as-is" and is subject to change; no warranties
  20.  * are made.  All use is at your own risk.  No liability or responsibility
  21.  * is assumed.
  22.  */
  23.  
  24. struct IntuiText hello =
  25. {
  26.      1,        /* Use color register 1 (BlockPen) for the FrontPen  */
  27.      2,        /* Color register 2, but not used in JAM1 mode.      */
  28.      JAM1,     /* Use the background color                          */
  29.      0,        /* As far to the left as possible.                   */
  30.      0,        /* Font height -- get this later                     */
  31.      NULL,     /* Font to use: the default.                         */
  32.      "Hello, World! ", /* The text -- observe the trailing space.   */
  33.      NULL      /* No more IntuiText  */
  34. };
  35.  
  36. /* End of hellotext.h */
  37.