home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / windows.h < prev   
Encoding:
C/C++ Source or Header  |  1988-06-26  |  1.6 KB  |  53 lines

  1. /*    Copyright (c) 1984, 1986, 1987, 1988 AT&T    */
  2. /*      All Rights Reserved      */
  3.  
  4. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  5. /*    The copyright notice above does not evidence any       */
  6. /*    actual or intended publication of such source code.    */
  7.  
  8. #ident    "@(#)head:windows.h    1.1"
  9. #ident    "@(#)attwin:head/agent.h    1.1"
  10.  
  11. /*    Copyright (c) 1984 AT&T    */
  12. /*      All Rights Reserved      */
  13.  
  14. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  15. /*    The copyright notice above does not evidence any       */
  16. /*    actual or intended publication of such source code.    */
  17.  
  18. #define    A_NEWLAYER    1    /* make a new layer             */
  19. #define    A_CURRENT    2    /* make layer process current         */
  20. #define    A_DELETE    3    /* delete a layer             */
  21. #define    A_TOP        4    /* bring a layer to top         */
  22. #define    A_BOTTOM    5    /* put a layer on bottom         */
  23. #define    A_MOVE        6    /* move a layer             */
  24. #define    A_RESHAPE    7    /* reshape a layer             */
  25. #define    A_NEW        8    /* make a new layer and send C_NEW to layers */
  26. #define    A_EXIT        9    /* exit layers program             */
  27.  
  28. /* Leave some room for future mouse operations to be implemented     */
  29.  
  30. #define    A_ROMVERSION    20    /* tell us your rom version, e.g. 8;7;5 */
  31. #define    A_STACKSIZE    21    /* supply terminal with an alternate
  32.                    amount of stack space to be used with
  33.                    the current download            */
  34.  
  35.  
  36. #ifndef DADDR
  37. /* needed for host code where dmd.h is not available...(DADDR is in dmd.h) */
  38. typedef struct Point {
  39.     short    x;
  40.     short    y;
  41. } Point;
  42. typedef struct Rectangle {
  43.     Point origin;
  44.     Point corner;
  45. } Rectangle;
  46. #endif
  47.  
  48. struct agentrect{
  49.     short    command;    /* either newlayer, reshape or current */
  50.     short    chan;
  51.     Rectangle r;        /* rectangle description */
  52. };
  53.