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

  1.  
  2. /* agateWindow.h -- This file implements a borderless backdrop */
  3. /*                   window.                                   */
  4.  
  5. /* Copyright (c) 1990 Commodore-Amiga, Inc.
  6.  *
  7.  * This example is provided in electronic form by Commodore-Amiga, Inc. for
  8.  * use with the 1.3 revisions of the Addison-Wesley Amiga reference manuals. 
  9.  * The 1.3 Addison-Wesley Amiga Reference Manual series contains additional
  10.  * information on the correct usage of the techniques and operating system
  11.  * functions presented in this example.  The source and executable code of
  12.  * this example may only be distributed in free electronic form, via bulletin
  13.  * board or as part of a fully non-commercial and freely redistributable
  14.  * diskette.  Both the source and executable code (including comments) must
  15.  * be included, without modification, in any copy.  This example may not be
  16.  * published in printed form or distributed with any commercial product.
  17.  * However, the programming techniques and support routines set forth in
  18.  * this example may be used in the development of original executable
  19.  * software products for Commodore Amiga computers.
  20.  * All other rights reserved.
  21.  * This example is provided "as-is" and is subject to change; no warranties
  22.  * are made.  All use is at your own risk.  No liability or responsibility
  23.  * is assumed.
  24.  */
  25.  
  26. #define AGAT_LEFTEDGE 0
  27. #define AGAT_TOPEDGE  0
  28. #define AGAT_WIDTH    0
  29. #define AGAT_HEIGHT   0
  30.  
  31. struct NewWindow agateWindow =
  32.     {
  33.         AGAT_LEFTEDGE,
  34.         AGAT_TOPEDGE,
  35.         640,
  36.         200,
  37.         -1,-1,       /* Plain vanilla DetailPen and BlockPen */
  38.                      /* Use the defaults.                    */
  39.         NULL,        /* IDCMP Flags can be added later. */
  40.         SMART_REFRESH | ACTIVATE | NOCAREREFRESH | BORDERLESS
  41.                 | BACKDROP,
  42.         NULL,        /* Pointer to the first gadget -- */
  43.                      /*  may be initialized later.     */
  44.         NULL,        /* No checkmark.   */
  45.         NULL,        /* No title.       */
  46.         NULL,        /* Attach a screen later. */
  47.         NULL,        /* No BitMap.      */
  48.         AGAT_WIDTH,  /* Minimum width.  */
  49.         AGAT_HEIGHT, /* Minimum height. */
  50.         AGAT_WIDTH,  /* Maximum width.  */
  51.         AGAT_HEIGHT, /* Maximum height. */
  52.         CUSTOMSCREEN /* A screen of our own. */
  53.     };
  54.  
  55. /* End of agateWindow.h */
  56.