home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / Guide.lzx / Guide / pScreen / Window.h < prev   
Encoding:
C/C++ Source or Header  |  1997-03-11  |  5.9 KB  |  130 lines

  1. @DATABASE "pScreen/Window.h"
  2. @MASTER   "Work2:AD/IInc/pScreen/Window.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:35:28
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pScreen/Window.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pScreen/Window.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_Window" LINK "pScreen/Window.h/File" 18}
  16.  
  17. @ENDNODE
  18. @NODE File "pScreen/Window.h"
  19. #ifndef __INC_POS_PSCREEN_WINDOW_H
  20. #define __INC_POS_PSCREEN_WINDOW_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>Window.h<<   26 Jan 1997    14:17:57 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PLAYER_REGION_H
  30. #include <@{"pLayer/Region.h" LINK "pLayer/Region.h/File"}>
  31. #endif
  32.  
  33.  
  34. /*----------------------------------
  35. -----------------------------------*/
  36. struct pOS_Window
  37. {
  38.   @{"struct pOS_ExNode" LINK "pExec/List.h/File" 37}      win_Node;
  39.  
  40.   @{"SLONG" LINK "pExec/Types.h/File" 90}                  win_LeftEdge;
  41.   @{"SLONG" LINK "pExec/Types.h/File" 90}                  win_TopEdge;          /* parameters of the screen */
  42.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  win_Width;
  43.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  win_Height;           /* parameters of the screen */
  44.  
  45.   @{"SLONG" LINK "pExec/Types.h/File" 90}                  win_MouseX;
  46.   @{"SLONG" LINK "pExec/Types.h/File" 90}                  win_MouseY;           /* position relative to upper-left */
  47.  
  48.   const @{"CHAR" LINK "pExec/Types.h/File" 100}            *win_Title;            /* the title text for this window */
  49.   @{"struct pOS_RastPort" LINK "pGFX/RastPort.h/File" 18}   *win_RastPort;         /* */
  50.  
  51.   @{"UBYTE" LINK "pExec/Types.h/File" 95}                  win_Reserved1[32];
  52.  
  53.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  win_UserData[2];
  54. /*----------------------------------*/
  55.  
  56.   @{"SLONG" LINK "pExec/Types.h/File" 90}                  win_GZZMouseX;
  57.   @{"SLONG" LINK "pExec/Types.h/File" 90}                  win_GZZMouseY;        /* inner-Window of WFLG_GIMMEZEROZERO */
  58.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  win_GZZWidth;
  59.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  win_GZZHeight;
  60.  
  61.   @{"struct pOS_List" LINK "pExec/List.h/File" 26}        win_GadList;
  62.  
  63.   @{"ULONG" LINK "pExec/Types.h/File" 91}  win_MinWidth,win_MinHeight;
  64.   @{"ULONG" LINK "pExec/Types.h/File" 91}  win_MaxWidth,win_MaxHeight;
  65.  
  66.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  win_Flags;            /* (enum pOS_WindowFlags) */
  67.   @{"UBYTE" LINK "pExec/Types.h/File" 95}                  win_MorFlags[16];
  68.  
  69.   @{"UBYTE" LINK "pExec/Types.h/File" 95} win_BorTop,win_BorLeft,win_BorRight,win_BorBottom;
  70.  
  71.   const @{"CHAR" LINK "pExec/Types.h/File" 100}            *win_ScreenTitle;      /* if non-null, Screen title when Window is active */
  72.  
  73.   @{"struct pOS_Screen" LINK "pScreen/Screen.h/File" 22}     *win_Screen;           /* this Window's Screen */
  74.   @{"struct pOS_Layer" LINK "pLayer/Clip.h/File" 63}      *win_Layer;
  75.   @{"struct pOS_TextFont" LINK "pGFX/Text.h/File" 30}   *win_Font;
  76.   @{"struct pOS_MsgPort" LINK "pExec/MsgPort.h/File" 18}    *win_UserPort;
  77.   @{"ULONG" LINK "pExec/Types.h/File" 91}                  win_IDCMP;
  78.   @{"UBYTE" LINK "pExec/Types.h/File" 95}                  win_MorIDCMP[16];
  79.   @{"struct pOS_Rectangle" LINK "pLayer/Rect.h/File" 17}   win_ZipRect;
  80.   @{"struct pOS_RastPort" LINK "pGFX/RastPort.h/File" 18}   *win_BorderRPort;      /* Wird nur bei GZZ verwendet */
  81.   @{"struct pOS_Layer" LINK "pLayer/Clip.h/File" 63}      *win_BorderLayer;      /* Wird nur bei GZZ verwendet */
  82.   @{"struct pOS_ExList" LINK "pExec/List.h/File" 50}      win_OMenuList;
  83.  
  84.   @{"struct pOS_IClassInfo" LINK "pIntui/ICI.h/File" 18} *win_ICI;              /* Read only */
  85. /**** SYSTEM-DATAS ****/
  86. };
  87.  
  88.  
  89.  
  90. enum pOS_WindowFlags /* win_Flags, win_MorFlags */
  91. {
  92.   WINFLGF_SizeGadget=        0x000001, /* include sizing system-gadget? */
  93.   WINFLGF_Dragbar=           0x000002, /* include dragging system-gadget? */
  94.   WINFLGF_DepthGadget=       0x000004, /* include depth arrangement gadget? */
  95.   WINFLGF_CloseGadget=       0x000008, /* include close-box system-gadget? */
  96.   WINFLGF_SizeBRight=        0x000010, /* size gadget uses right border */
  97.   WINFLGF_SizeBBottom=       0x000020, /* size gadget uses bottom border */
  98.   WINFLGF_RefreshBits=       0x0000C0,
  99.   WINFLGF_SmartRefresh=      0x000000,
  100.   WINFLGF_SimpleRefresh=     0x000040,
  101.   WINFLGF_SuperBitmap=       0x000080,
  102.   WINFLGF_OtherRefresh=      0x0000C0,
  103.   WINFLGF_Backdrop=          0x000100, /* this is a backdrop window */
  104.   WINFLGF_ReportMouse=       0x000200, /* to hear about every mouse move */
  105.   WINFLGF_GimmeZeroZero=     0x000400, /* a GimmeZeroZero window       */
  106.   WINFLGF_Borderless=        0x000800, /* to get a Window sans border */
  107.   WINFLGF_Activate=          0x001000, /* when Window opens, it's Active */
  108.   WINFLGF_RMBTrap=           0x010000, /* Catch RMB events for your own */
  109.   WINFLGF_NoCareRefresh=     0x020000, /* not to be bothered with REFRESH */
  110.  
  111.   WINFLGB_MORE=0x20,
  112.   WINFLGB_DragM1=WINFLGB_MORE,  /* Window mit Inhalt verschieben */
  113.   WINFLGB_SharedUserPort,       /* UserPort wird übergeben */
  114.   WINFLGB_Visitor,              /* Window is PubScreen-Visitor */
  115.   WINFLGB_WinMenu,              /* Menu an die Window-Pos binden */
  116.   WINFLGB_OwnScreen,            /* Window has a own screen */
  117.   WINFLGB_DisableDrop,          /* im Win ist kein Drop möglich */
  118.   WINFLGB_DisableActive,        /* Window kann nicht aktiviert werden */
  119.   WINFLGB_DisableDrag,          /* im Win ist kein Drag möglich */
  120.   WINFLGB_DisSizeM1,            /* Disable Sizing mit Inhalt */
  121.   WINFLGB_FreeBgFillGfxMap,     /* win_BgFillGfxMap wird beim CloseWindow freigegeben */
  122.   WINFLGB_AlwaysDraw,           /* die gesamte Win-Fläche ist Drag-Sensitiv  */
  123. };
  124.  
  125.  
  126.  
  127.  
  128. #endif
  129. @ENDNODE
  130.