home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d186 / cards'o'rama.lha / Cards'O'Rama / Sources / sources.zoo / mywindow.h < prev    next >
C/C++ Source or Header  |  1989-02-25  |  2KB  |  30 lines

  1. /*                               mywindow.h                             */
  2. /*                                                                      */
  3. /* This one is going to be the window that I prefer: in fact I want it  */
  4. /* to be as large as the whole screen, BORDERLESS and BACKDROP too, so  */
  5. /* I can draw on it as freely as I want and I can avoid the danger of   */
  6. /* writing to the window at the wrong time and trashing a menu that is  */
  7. /* being displayed...                                                   */
  8.  
  9. struct NewWindow mywindow =
  10.    {
  11.    0, 0,                                  /* Left Edge, Top Edge */
  12.    320, 200,                              /* Width, Height */
  13.    -1, -1,                                /* Detail Pen, Block Pen */
  14.  
  15.    GADGETUP | MOUSEBUTTONS | MENUPICK,    /* IDCMP Flags */
  16.  
  17.    SMART_REFRESH | BACKDROP |
  18.    BORDERLESS | ACTIVATE,                 /* Flags */
  19.  
  20.    NULL,                                  /* First Gadget */
  21.    NULL,                                  /* CheckMark */
  22.    NULL,                                  /* Window Title */
  23.    NULL,                                  /* Pointer to screen */
  24.    NULL,                                  /* Pointer to BitMap */
  25.    NULL, NULL,                            /* MinWidth, MinHeight */
  26.    NULL, NULL,                            /* MaxWidth, MaxHeight */
  27.    CUSTOMSCREEN,                          /* Type of screen in which */
  28.                                           /* this window will open */
  29.    };
  30.