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

  1.  
  2. /* hellogoodbye.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.      NULL,     /* I want to use the font height --                  */
  31.                /*   postpone this till later.                       */
  32.      NULL,     /* Font to use: the default.                         */
  33.      "Hello, World! ", /* The text   */
  34.      NULL      /* No more IntuiText  */
  35. };
  36.  
  37.  
  38. struct IntuiText other[3] = {
  39.  
  40.    { 1, 3, JAM2, 0,  0, NULL, "You clicked in the", NULL },
  41.    { 0, 2, JAM2, 8,  0, NULL, "other window!",  NULL },
  42.    { 3, 2, JAM2, 40, 0, NULL, "GOODBYE!",  NULL }
  43.  
  44. };
  45.  
  46. /* End of hellogoodbye.h */
  47.