home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / proto / pLayer2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  5.7 KB  |  98 lines

  1. #ifndef __INC_POS_PROTO_PLAYER2_H
  2. #define __INC_POS_PROTO_PLAYER2_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>pLayer2.h<<   13 Feb 1997    09:52:02 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PEXEC_LIST_H
  12. #include <pExec/List.h>
  13. #endif
  14.  
  15.  
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. /*------ Region --------------------------------------------------------*/
  22. VOID pOS_ConstructRegion(_R_A0 struct pOS_Region*);
  23. VOID pOS_DestructRegion(_R_A0 struct pOS_Region*);
  24. __ARID__ struct pOS_Region* pOS_CreateRegion(VOID);
  25. VOID pOS_DeleteRegion(_R_A0 __ARID__ struct pOS_Region*);
  26. BOOL pOS_OrRectRegionILst(_R_A0 struct pOS_Region*,_R_A1 const struct pOS_Rectangle*,_R_A2 struct pOS_List* hpList);
  27. BOOL pOS_OrRectRegion(_R_A0 struct pOS_Region*,_R_A1 const struct pOS_Rectangle*);
  28. BOOL pOS_OrRegionRegion(_R_A0 const struct pOS_Region*,_R_A1 struct pOS_Region*);
  29. BOOL pOS_AndRectRegion(_R_A0 struct pOS_Region*,_R_A1 const struct pOS_Rectangle*);
  30. BOOL pOS_AndRegionRegion(_R_A0 const struct pOS_Region*,_R_A1 struct pOS_Region*);
  31. BOOL pOS_NAndRectRegion(_R_A0 struct pOS_Region*,_R_A1 const struct pOS_Rectangle*);
  32. VOID pOS_MoveRegion(_R_A0 struct pOS_Region*,_R_D0 SLONG dx,_R_D1 SLONG dy);
  33. VOID pOS_MoveRegionLst(_R_A0 struct pOS_List*,_R_D0 SLONG dx,_R_D1 SLONG dy);
  34. BOOL pOS_NAndRegionRegion(_R_A0 const struct pOS_Region*,_R_A1 struct pOS_Region*);
  35. BOOL pOS_XOrRectRegion(_R_A0 struct pOS_Region*,_R_A1 const struct pOS_Rectangle*);
  36. VOID pOS_ClearRegion(_R_A0 struct pOS_Region*,_R_A1 struct pOS_List*);
  37. BOOL pOS_AndRegionRegionLst(_R_A0 const struct pOS_List*,_R_A1 const struct pOS_List*,_R_A2 struct pOS_List*,_R_A3 struct pOS_MemPool*);
  38. VOID pOS_NewSizeRegion(_R_A0 struct pOS_Region*);
  39. VOID pOS_SortRegionLst(_R_A0 struct pOS_List*,_R_D0 SLONG dx,_R_D1 SLONG dy);
  40. BOOL pOS_CloneRegion(_R_A0 const struct pOS_List*,_R_A1 struct pOS_Region*);
  41.  
  42.  
  43. /*------ Clip --------------------------------------------------------*/
  44. VOID pOS_ConstructLayerInfo(_R_A0 struct pOS_LayerInfo*);
  45. VOID pOS_DestructLayerInfo(_R_A0 struct pOS_LayerInfo*);
  46. __ARID__ struct pOS_LayerInfo* pOS_CreateLayerInfo(VOID);
  47. VOID pOS_DeleteLayerInfo(_R_A0 __ARID__ struct pOS_LayerInfo*);
  48. VOID pOS_ConstructLayer(_R_A0 struct pOS_Layer*);
  49. VOID pOS_DestructLayer(_R_A0 struct pOS_Layer*);
  50. __ARID__ struct pOS_Layer* pOS_CreateBehindLayer(_R_A0 struct pOS_LayerInfo*,_R_A1 struct pOS_GfxMap*,
  51.           _R_A2 const struct pOS_Rectangle*,_R_D0 ULONG,_R_A3 struct pOS_GfxMap* superGfx);
  52. __ARID__ struct pOS_Layer* pOS_CreateUpfrontLayer(_R_A0 struct pOS_LayerInfo*,_R_A1 struct pOS_GfxMap*,
  53.           _R_A2 const struct pOS_Rectangle*,_R_D0 ULONG,_R_A3 struct pOS_GfxMap* superGfx);
  54. BOOL pOS_DeleteLayer(_R_A0 __ARID__ struct pOS_Layer*);
  55. VOID pOS_LockLayer(_R_A0 struct pOS_Layer*);
  56. VOID pOS_UnlockLayer(_R_A0 struct pOS_Layer*);
  57. VOID pOS_LockLayerInfo(_R_A0 struct pOS_LayerInfo*);
  58. VOID pOS_UnlockLayerInfo(_R_A0 struct pOS_LayerInfo*);
  59. BOOL pOS_DamageLayerInfo(_R_A0 struct pOS_LayerInfo*,_R_A1 const struct pOS_Rectangle*,
  60.           _R_A2 const struct pOS_Layer* lyFirst,_R_A3 const struct pOS_Layer* lyLast);
  61. BOOL pOS_DamageLayerInfoList(_R_A0 struct pOS_LayerInfo*,_R_A1 const struct pOS_List*,
  62.           _R_A2 const struct pOS_Layer* lyFirst,_R_A3 const struct pOS_Layer* lyLast);
  63. BOOL pOS_MoveSizeLayer(_R_A0 struct pOS_Layer*,_R_D0 SLONG dx,_R_D1 SLONG dy,_R_D2 SLONG dw,_R_D3 SLONG dh);
  64. struct pOS_Layer* pOS_WhichLayer(_R_A0 struct pOS_LayerInfo*,_R_D0 SLONG x,_R_D1 SLONG y);
  65. VOID pOS_LockLayers(_R_A0 struct pOS_LayerInfo*);
  66. VOID pOS_UnlockLayers(_R_A0 struct pOS_LayerInfo*);
  67. BOOL pOS_BehindLayer(_R_A0 struct pOS_Layer*);
  68. BOOL pOS_UpfrontLayer(_R_A0 struct pOS_Layer*);
  69. VOID pOS_AddLayerHook(_R_A0 struct pOS_Layer*,_R_A1 struct pOS_Callback*,_R_D0 ULONG drawMode);
  70. VOID pOS_RemLayerHook(_R_A0 struct pOS_Layer*,_R_A1 struct pOS_Callback*);
  71. BOOL pOS_BeginLayerUpdate(_R_A0 struct pOS_Layer*,_R_A1 const struct pOS_List*);
  72. BOOL pOS_EndLayerUpdate(_R_A0 struct pOS_Layer*,_R_D0 ULONG);
  73. BOOL pOS_CreateViClipListFrom(_R_A0 struct pOS_LayerInfo*,_R_A1 const struct pOS_Layer *firstLy,
  74.           _R_D0 BOOL breakMode,_R_A2 const struct pOS_Rectangle* refRect);
  75. VOID pOS_DeleteViClipList(_R_A0 struct pOS_LayerInfo*,_R_A1 const struct pOS_Layer *firstLy,_R_D0 BOOL breakMode);
  76. struct pOS_Region *pOS_InstallClipRegion(_R_A0 struct pOS_Layer*,_R_A1 const struct pOS_Region*);
  77. __ARID__ struct pOS_Layer* pOS_CreateChildLayer(_R_A0 struct pOS_GfxMap*,_R_A1 const struct pOS_Rectangle*,
  78.                  _R_D0 ULONG flags,_R_A2 struct pOS_Layer*,_R_A3 struct pOS_GfxMap* superGfx);
  79. BOOL pOS_MoveLayerBehindOf(_R_A0 struct pOS_Layer*,_R_A1 const struct pOS_Layer*);
  80. VOID pOS_ScrollLayer(_R_A0 struct pOS_Layer*,_R_D0 SLONG dx,_R_D1 SLONG dy);
  81. VOID pOS_CopySupToLayer(_R_A0 struct pOS_Layer*);
  82. VOID pOS_CopyLayerToSup(_R_A0 struct pOS_Layer*);
  83. BOOL pOS_LockHideLayer(_R_A0 struct pOS_Layer*,_R_A1 struct pOS_LayerHide*,_R_D0 ULONG);
  84. VOID pOS_UnlockHideLayer(_R_A0 struct pOS_Layer*,_R_A1 struct pOS_LayerHide*);
  85. BOOL pOS_CheckVisibleRect(_R_A0 const struct pOS_Layer*,_R_A1 const struct pOS_Rectangle*);
  86. VOID pOS_AddLayerInfoHook(_R_A0 struct pOS_LayerInfo*,_R_A1 struct pOS_Callback*,_R_D0 ULONG drawMode);
  87. VOID pOS_RemLayerInfoHook(_R_A0 struct pOS_LayerInfo*,_R_A1 struct pOS_Callback*,_R_D0 ULONG drawMode);
  88. BOOL pOS_LockClipLayer(_R_A0 struct pOS_Layer*,_R_A1 struct pOS_LayerClip*,_R_A2 const struct pOS_List*,_R_D0 ULONG mode);
  89. VOID pOS_UnlockClipLayer(_R_A0 struct pOS_Layer*,_R_A1 struct pOS_LayerClip*);
  90. VOID pOS_EraseLayerRect(_R_A0 struct pOS_Layer*,_R_A1 const struct pOS_Rectangle*);
  91. BOOL pOS_GetVisibleRect(_R_A0 const struct pOS_Layer*,_R_A1 struct pOS_Rectangle*);
  92.  
  93. #ifdef __cplusplus
  94. }
  95. #endif
  96.  
  97. #endif
  98.